mirror of https://github.com/MISP/misp-galaxy
fix scripts for nobile and pre attack attack pattern
parent
f6d7291e7a
commit
d82a76c08f
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "Mobile Attack - Attack Pattern",
|
||||
"type": "mitre-mobile-attack-attack-pattern",
|
||||
"description": "ATT&CK Tactic",
|
||||
"uuid": "1c6d1332-1708-11e8-847c-e3c5643c41a5",
|
||||
"version": 3,
|
||||
"icon": "map"
|
||||
}
|
||||
"name": "Mobile Attack - Attack Pattern",
|
||||
"type": "mitre-mobile-attack-attack-pattern",
|
||||
"description": "ATT&CK Tactic",
|
||||
"uuid": "1c6d1332-1708-11e8-847c-e3c5643c41a5",
|
||||
"version": 3,
|
||||
"icon": "map"
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "Pre Attack - Attack Pattern",
|
||||
"type": "mitre-pre-attack-attack-pattern",
|
||||
"description": "ATT&CK Tactic",
|
||||
"uuid": "1f665850-1708-11e8-9cfe-4792b2a91402",
|
||||
"version": 3,
|
||||
"icon": "map"
|
||||
}
|
||||
"name": "Pre Attack - Attack Pattern",
|
||||
"type": "mitre-pre-attack-attack-pattern",
|
||||
"description": "ATT&CK Tactic",
|
||||
"uuid": "1f665850-1708-11e8-9cfe-4792b2a91402",
|
||||
"version": 3,
|
||||
"icon": "map"
|
||||
}
|
|
@ -32,7 +32,7 @@ for element in os.listdir('.'):
|
|||
value['meta']['external_id'] = reference['external_id']
|
||||
value['meta']['kill_chain'] = []
|
||||
for killchain in temp['kill_chain_phases']:
|
||||
value['meta']['kill_chain'].append(killchain['kill_chain_name'] + ':enterprise-attack:' + killchain['phase_name'])
|
||||
value['meta']['kill_chain'].append(killchain['kill_chain_name'] + ':mobile-attack:' + killchain['phase_name'])
|
||||
if 'x_mitre_data_sources' in temp:
|
||||
value['meta']['mitre_data_sources'] = temp['x_mitre_data_sources']
|
||||
if 'x_mitre_platforms' in temp:
|
||||
|
|
|
@ -32,7 +32,7 @@ for element in os.listdir('.'):
|
|||
value['meta']['external_id'] = reference['external_id']
|
||||
value['meta']['kill_chain'] = []
|
||||
for killchain in temp['kill_chain_phases']:
|
||||
value['meta']['kill_chain'].append(killchain['kill_chain_name'] + ':enterprise-attack:' + killchain['phase_name'])
|
||||
value['meta']['kill_chain'].append(killchain['kill_chain_name'] + ':pre-attack:' + killchain['phase_name'])
|
||||
if 'x_mitre_data_sources' in temp:
|
||||
value['meta']['mitre_data_sources'] = temp['x_mitre_data_sources']
|
||||
if 'x_mitre_platforms' in temp:
|
||||
|
|
Loading…
Reference in New Issue