mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-26 08:47:18 +00:00
fix mitre-cti script - replace 'name' by 'value'
This commit is contained in:
parent
fb5560f927
commit
06cfebc92f
4 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ for element in os.listdir('.'):
|
|||
value = {}
|
||||
value['description'] = temp['description']
|
||||
value['uuid'] = re.search('--(.*)$', temp['id']).group(0)[2:]
|
||||
value['name'] = temp['name']
|
||||
value['value'] = temp['name']
|
||||
value['meta'] = {}
|
||||
value['meta']['refs'] = []
|
||||
for reference in temp['external_references']:
|
||||
|
|
|
@ -23,7 +23,7 @@ for element in os.listdir('.'):
|
|||
value = {}
|
||||
value['description'] = temp['description']
|
||||
value['uuid'] = re.search('--(.*)$', temp['id']).group(0)[2:]
|
||||
value['name'] = temp['name']
|
||||
value['value'] = temp['name']
|
||||
value['meta'] = {}
|
||||
value['meta']['synonyms'] = temp['aliases']
|
||||
value['meta']['refs']= []
|
||||
|
|
|
@ -23,7 +23,7 @@ for element in os.listdir('.'):
|
|||
value = {}
|
||||
value['description'] = temp['description']
|
||||
value['uuid'] = re.search('--(.*)$', temp['id']).group(0)[2:]
|
||||
value['name'] = temp['name']
|
||||
value['value'] = temp['name']
|
||||
value['meta'] = {}
|
||||
value['meta']['refs'] = []
|
||||
for reference in temp['external_references']:
|
||||
|
|
|
@ -23,7 +23,7 @@ for element in os.listdir('.'):
|
|||
value = {}
|
||||
value['description'] = temp['description']
|
||||
value['uuid'] = re.search('--(.*)$', temp['id']).group(0)[2:]
|
||||
value['name'] = temp['name']
|
||||
value['value'] = temp['name']
|
||||
value['meta'] = {}
|
||||
value['meta']['refs'] = []
|
||||
for reference in temp['external_references']:
|
||||
|
|
Loading…
Reference in a new issue