From cfc094f7a0211d8924770d52e66ecfedcc55fe8c Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 31 Oct 2016 20:10:08 +0100 Subject: [PATCH] Updated to the latest version of the MISP galaxy --- tools/generator/misp-galaxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/generator/misp-galaxy.py b/tools/generator/misp-galaxy.py index f64b273..88652c1 100644 --- a/tools/generator/misp-galaxy.py +++ b/tools/generator/misp-galaxy.py @@ -2,8 +2,8 @@ import json import requests debug = False -galaxy_url = 'https://raw.githubusercontent.com/MISP/misp-galaxy/master/elements/' -elements = ['threat-actor-tools.json', 'adversary-groups.json'] +galaxy_url = 'https://raw.githubusercontent.com/MISP/misp-galaxy/master/clusters/' +elements = ['tools.json', 'threat-actors.json'] # elements = ['threat-actor-tools.json'] taxonomy = {} @@ -48,7 +48,7 @@ for element in elements: taxonomy['values'].append(t_value) file_out = '../../misp-galaxy/machinetag.json' -with open(file_out, 'w') as f: +with open(file_out, 'w') as f: f.write(json.dumps(taxonomy, sort_keys=True, indent=4, separators=(',', ': '))) print("JSON saved to "+ file_out)