mirror of https://github.com/MISP/misp-modules
correct param
parent
999ae1f6f0
commit
431c1511a3
|
@ -150,7 +150,7 @@ def handle_ip(api, ip, misperrors):
|
||||||
else:
|
else:
|
||||||
misperrors['error'] += ' Error in expand searching domain'
|
misperrors['error'] += ' Error in expand searching domain'
|
||||||
return misperrors
|
return misperrors
|
||||||
|
|
||||||
return result_filtered
|
return result_filtered
|
||||||
|
|
||||||
|
|
||||||
|
@ -515,7 +515,7 @@ def expand_searching_domain(api, ip):
|
||||||
status_ok = False
|
status_ok = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
results = api.searching_domains(ip)
|
results = api.searching_domains(ipv4=ip)
|
||||||
|
|
||||||
if results:
|
if results:
|
||||||
if 'records' in results:
|
if 'records' in results:
|
||||||
|
|
Loading…
Reference in New Issue