fix: [sigma] version must be an int

This commit is contained in:
Alexandre Dulaunoy 2023-01-13 16:38:56 +01:00
parent 323f9f47a1
commit 997e570ad2
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -127,7 +127,7 @@ def create_cluster(uuidGalaxy=unique_uuid):
:return cluster: Dict with the basic information needed for the JSON file. :return cluster: Dict with the basic information needed for the JSON file.
""" """
version = time.strftime("%Y%m%d") version = int(time.strftime("%Y%m%d"))
cluster = { cluster = {
"authors": ["@Joseliyo_Jstnk"], "authors": ["@Joseliyo_Jstnk"],
"category": "rules", "category": "rules",