mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-22 14:57:18 +00:00
chg: [att&ck] no tag for subtechnique
This commit is contained in:
parent
d58dd1fca2
commit
2334676e64
2 changed files with 5 additions and 820 deletions
File diff suppressed because it is too large
Load diff
|
@ -143,11 +143,12 @@ for domain in domains:
|
|||
# add the relation in the defined way
|
||||
rel_source = {
|
||||
"dest-uuid": dest_uuid,
|
||||
"tags": [
|
||||
"estimative-language:likelihood-probability=\"almost-certain\""
|
||||
],
|
||||
"type": rel_type
|
||||
}
|
||||
if rel_type != 'subtechnique-of':
|
||||
rel_source['tags'] = [
|
||||
"estimative-language:likelihood-probability=\"almost-certain\""
|
||||
]
|
||||
if 'related' not in all_data_uuid[source_uuid]:
|
||||
all_data_uuid[source_uuid]['related'] = []
|
||||
if rel_source not in all_data_uuid[source_uuid]['related']:
|
||||
|
|
Loading…
Reference in a new issue