mirror of https://github.com/MISP/misp-modules
correct comments
parent
e230c88c15
commit
e9c18b3d5f
|
@ -187,27 +187,27 @@ def expand_datascan(api, misperror,**kwargs):
|
||||||
'values': list(set(ports)),
|
'values': list(set(ports)),
|
||||||
'categories': ['Other'],
|
'categories': ['Other'],
|
||||||
'comment': 'Ports of %s found with datascan of Onyphe'
|
'comment': 'Ports of %s found with datascan of Onyphe'
|
||||||
% ip
|
% query
|
||||||
})
|
})
|
||||||
|
|
||||||
r.append({'types': ['target-location'],
|
r.append({'types': ['target-location'],
|
||||||
'values': list(set(geoloc)),
|
'values': list(set(geoloc)),
|
||||||
'categories': ['Targeting data'],
|
'categories': ['Targeting data'],
|
||||||
'comment': 'Geolocalisation of %s found with synscan of Onyphe'
|
'comment': 'Geolocalisation of %s found with synscan of Onyphe'
|
||||||
% ip
|
% query
|
||||||
})
|
})
|
||||||
|
|
||||||
r.append({'types': ['target-org'],
|
r.append({'types': ['target-org'],
|
||||||
'values': list(set(orgs)),
|
'values': list(set(orgs)),
|
||||||
'categories': ['Targeting data'],
|
'categories': ['Targeting data'],
|
||||||
'comment': 'Organisations of %s found with synscan of Onyphe'
|
'comment': 'Organisations of %s found with synscan of Onyphe'
|
||||||
% ip
|
% query
|
||||||
})
|
})
|
||||||
|
|
||||||
r.append({'types': ['AS'],
|
r.append({'types': ['AS'],
|
||||||
'values': list(set(asn_list)),
|
'values': list(set(asn_list)),
|
||||||
'categories': ['Network activity'],
|
'categories': ['Network activity'],
|
||||||
'comment': 'As number of %s found with synscan of Onyphe' % ip
|
'comment': 'As number of %s found with synscan of Onyphe' % query
|
||||||
})
|
})
|
||||||
return r, status_ok
|
return r, status_ok
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue