From 916e9e3e2994e57bc045c6e8f9e2e28689f114d2 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Tue, 20 Aug 2024 13:56:59 +0200 Subject: [PATCH] chg: [tools] fix the date input from the sigma rules generator --- tools/sigma/sigma-to-galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/sigma/sigma-to-galaxy.py b/tools/sigma/sigma-to-galaxy.py index 50b8e50..a925ac4 100644 --- a/tools/sigma/sigma-to-galaxy.py +++ b/tools/sigma/sigma-to-galaxy.py @@ -101,7 +101,7 @@ def create_cluster_json(galaxyCluster): This function finally creates the sigma-cluster.json file with all the information. """ with open("sigma-cluster.json", "w") as f: - json.dump(galaxyCluster, f) + json.dump(galaxyCluster, f, default=str) def parseYaml(inputPath, yamlFile):