mirror of
https://github.com/MISP/misp-galaxy.git
synced 2025-09-04 17:12:40 +00:00
fix: [mitre-atlas] value without ID
This commit is contained in:
parent
52ec21a818
commit
ae3202be02
3 changed files with 1259 additions and 1259 deletions
|
@ -95,7 +95,7 @@ for item in attack_data['objects']:
|
|||
|
||||
if 'description' in item:
|
||||
value['description'] = item['description']
|
||||
value['value'] = item['name'] + ' - ' + item['external_references'][0]['external_id']
|
||||
value['value'] = item['name']
|
||||
value['meta'] = {}
|
||||
value['meta']['refs'] = []
|
||||
value['uuid'] = re.search('--(.*)$', item['id']).group(0)[2:]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue