change keys

pull/193/head
Sebdraven 5 years ago
parent 0a543ca0d5
commit f069cd9bf4
  1. 2
      misp_modules/modules/expansion/onyphe.py

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

Loading…
Cancel
Save