add category

pull/193/head
Sebdraven 5 years ago
parent 735e626058
commit ef035d051b
  1. 3
      misp_modules/modules/expansion/onyphe.py

@ -64,7 +64,8 @@ def handle_expansion(api, ip, misperrors):
urls_pasties.append('https://pastebin.com/raw/%s' % r['key'])
elif r['@category'] == 'synscan':
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'})
result_filtered['results'].append({'types': ['AS'], 'values': list(set(asn_list))})
return result_filtered

Loading…
Cancel
Save