change type

pull/193/head
Sebdraven 5 years ago
parent ef035d051b
commit 0a543ca0d5
  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'})
'category': ['External analysis']})
result_filtered['results'].append({'types': ['AS'], 'values': list(set(asn_list))})
return result_filtered

Loading…
Cancel
Save