fix: [tools] add external_id to TMSS

pull/950/head
Christophe Vandeplas 2024-03-16 23:09:14 +01:00
parent e8bd44693e
commit b228ffec38
No known key found for this signature in database
GPG Key ID: BDC48619FFDC5A5B
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ for nav_item in mkdocs_data['nav']:
'uuid': str(uuid.uuid5(uuid.UUID("9319371e-2504-4128-8410-3741cebbcfd3"), technique)), 'uuid': str(uuid.uuid5(uuid.UUID("9319371e-2504-4128-8410-3741cebbcfd3"), technique)),
'meta': { 'meta': {
'kill_chain': [], 'kill_chain': [],
'refs': [f"https://microsoft.github.io/Threat-matrix-for-storage-services/{fname[:-3]}"] 'refs': [f"https://microsoft.github.io/Threat-matrix-for-storage-services/{fname[:-3]}"],
'external_id': technique_id
} }
} }
if mitre_technique_uuid: if mitre_technique_uuid: