From 7b3670c4ee8ddc6a1a15d830047a9c79f20f075e Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Tue, 27 Sep 2022 07:28:00 +0200 Subject: [PATCH] chg: [tool] make mitre script easier to find --- tools/{mitre-cti/v2.0/create_mitre-galaxy.py => gen_mitre.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tools/{mitre-cti/v2.0/create_mitre-galaxy.py => gen_mitre.py} (98%) diff --git a/tools/mitre-cti/v2.0/create_mitre-galaxy.py b/tools/gen_mitre.py similarity index 98% rename from tools/mitre-cti/v2.0/create_mitre-galaxy.py rename to tools/gen_mitre.py index 2795502..a7589f2 100755 --- a/tools/mitre-cti/v2.0/create_mitre-galaxy.py +++ b/tools/gen_mitre.py @@ -10,7 +10,7 @@ parser.add_argument("-p", "--path", required=True, help="Path of the mitre/cti f args = parser.parse_args() values = [] -misp_dir = '../../../' +misp_dir = '../' domains = ['enterprise-attack', 'mobile-attack', 'pre-attack'] @@ -192,4 +192,4 @@ for t in types: json.dump(file_data, f, indent=2, sort_keys=True, ensure_ascii=False) f.write('\n') # only needed for the beauty and to be compliant with jq_all_the_things -print("All done, please don't forget to ./validate_all.sh and ./jq_all_the_things.sh") +print("All done, please don't forget to ./jq_all_the_things.sh, commit, and then ./validate_all.sh.")