From 190efe7497273b2448c52ab77b730a1aaadcc8ad Mon Sep 17 00:00:00 2001 From: StefanKelm Date: Thu, 22 Mar 2018 14:20:59 +0100 Subject: [PATCH] Update create_mitre-enterprise-attack-tool_galaxy.py --- .../create_mitre-enterprise-attack-tool_galaxy.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/mitre-cti/v2.0/create_mitre-enterprise-attack-tool_galaxy.py b/tools/mitre-cti/v2.0/create_mitre-enterprise-attack-tool_galaxy.py index 65ea6bb..286d6e6 100644 --- a/tools/mitre-cti/v2.0/create_mitre-enterprise-attack-tool_galaxy.py +++ b/tools/mitre-cti/v2.0/create_mitre-enterprise-attack-tool_galaxy.py @@ -6,7 +6,7 @@ import re import os import argparse -parser = argparse.ArgumentParser(description='Create a couple galaxy/cluster with cti\'s tools\nMust be in the mitre/cti/entreprise-attack/tool folder') +parser = argparse.ArgumentParser(description='Create a couple galaxy/cluster with cti\'s tools\nMust be in the mitre/cti/enterprise-attack/tool folder') parser.add_argument("-v", "--version", type=int, required=True, help="Version of the galaxy. Please increment the previous one") args = parser.parse_args() @@ -34,16 +34,16 @@ for element in os.listdir('.'): values.append(value) galaxy = {} -galaxy['name'] = "Entreprise Attack - Tool" -galaxy['type'] = "mitre-entreprise-attack-tool" +galaxy['name'] = "Enterprise Attack - Tool" +galaxy['type'] = "mitre-enterprise-attack-tool" galaxy['description'] = "Name of ATT&CK software" galaxy['uuid' ] = "fbfa0470-1707-11e8-be22-eb46b373fdd3" galaxy['version'] = args.version galaxy['icon'] = "gavel" cluster = {} -cluster['name'] = "Entreprise Attack - Tool" -cluster['type'] = "mitre-entreprise-attack-tool" +cluster['name'] = "Enterprise Attack - Tool" +cluster['type'] = "mitre-enterprise-attack-tool" cluster['description'] = "Name of ATT&CK software" cluster['version'] = args.version cluster['source'] = "https://github.com/mitre/cti" @@ -51,8 +51,8 @@ cluster['uuid' ] = "fc1ea6e0-1707-11e8-ac05-2b70d00c354e" cluster['authors'] = ["MITRE"] cluster['values'] = values -with open('generate/galaxies/mitre-entreprise-attack-tool.json', 'w') as galaxy_file: +with open('generate/galaxies/mitre-enterprise-attack-tool.json', 'w') as galaxy_file: json.dump(galaxy, galaxy_file, indent=4) -with open('generate/clusters/mitre-entreprise-attack-tool.json', 'w') as cluster_file: +with open('generate/clusters/mitre-enterprise-attack-tool.json', 'w') as cluster_file: json.dump(cluster, cluster_file, indent=4)