add category for AS number

pull/193/head
Sebdraven 5 years ago
parent f069cd9bf4
commit 7580c63433
  1. 3
      misp_modules/modules/expansion/onyphe.py

@ -66,7 +66,8 @@ def handle_expansion(api, ip, misperrors):
asn_list.append(r['asn'])
result_filtered['results'].append({'types': ['url'], 'values': urls_pasties,
'categories': ['External analysis']})
result_filtered['results'].append({'types': ['AS'], 'values': list(set(asn_list))})
result_filtered['results'].append({'types': ['AS'], 'values': list(set(asn_list)),
'categories': ['Network activity']})
return result_filtered

Loading…
Cancel
Save