mirror of https://github.com/MISP/misp-galaxy
chg: [tools] fix the date input from the sigma rules generator
parent
06368b5f61
commit
916e9e3e29
|
@ -101,7 +101,7 @@ def create_cluster_json(galaxyCluster):
|
||||||
This function finally creates the sigma-cluster.json file with all the information.
|
This function finally creates the sigma-cluster.json file with all the information.
|
||||||
"""
|
"""
|
||||||
with open("sigma-cluster.json", "w") as f:
|
with open("sigma-cluster.json", "w") as f:
|
||||||
json.dump(galaxyCluster, f)
|
json.dump(galaxyCluster, f, default=str)
|
||||||
|
|
||||||
|
|
||||||
def parseYaml(inputPath, yamlFile):
|
def parseYaml(inputPath, yamlFile):
|
||||||
|
|
Loading…
Reference in New Issue