From f605f041d99057b767231831d7f5970be6c1fcb9 Mon Sep 17 00:00:00 2001 From: Christian Studer Date: Tue, 24 Jan 2023 01:21:54 +0100 Subject: [PATCH] fix: [tools] Added missing closing `'` --- .../create_mitre-enterprise-attack-attack-pattern_galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mitre-cti/v2.0/create_mitre-enterprise-attack-attack-pattern_galaxy.py b/tools/mitre-cti/v2.0/create_mitre-enterprise-attack-attack-pattern_galaxy.py index ea0053d..4452603 100644 --- a/tools/mitre-cti/v2.0/create_mitre-enterprise-attack-attack-pattern_galaxy.py +++ b/tools/mitre-cti/v2.0/create_mitre-enterprise-attack-attack-pattern_galaxy.py @@ -29,7 +29,7 @@ for element in os.listdir('.'): for reference in temp['external_references']: if 'url' in reference and reference['url'] not in value['meta']['refs']: value['meta']['refs'].append(reference['url']) - if 'external_id' in reference and reference['external_id'] not in value['meta']['external_id]: + if 'external_id' in reference and reference['external_id'] not in value['meta']['external_id']: value['meta']['external_id'].append(reference['external_id']) value['meta']['kill_chain'] = [] for killchain in temp['kill_chain_phases']: