mirror of https://github.com/MISP/misp-modules
change type
parent
ef035d051b
commit
0a543ca0d5
|
@ -65,7 +65,7 @@ def handle_expansion(api, ip, misperrors):
|
||||||
elif r['@category'] == 'synscan':
|
elif r['@category'] == 'synscan':
|
||||||
asn_list.append(r['asn'])
|
asn_list.append(r['asn'])
|
||||||
result_filtered['results'].append({'types': ['url'], 'values': urls_pasties,
|
result_filtered['results'].append({'types': ['url'], 'values': urls_pasties,
|
||||||
'category': 'External analysis'})
|
'category': ['External analysis']})
|
||||||
result_filtered['results'].append({'types': ['AS'], 'values': list(set(asn_list))})
|
result_filtered['results'].append({'types': ['AS'], 'values': list(set(asn_list))})
|
||||||
return result_filtered
|
return result_filtered
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue