mirror of https://github.com/MISP/misp-modules
error method
parent
3a4294391f
commit
d1e72676f1
|
@ -63,7 +63,7 @@ def handle_ip(api, ip, misperrors):
|
||||||
r, status_ok = expand_syscan(api, ip, misperrors)
|
r, status_ok = expand_syscan(api, ip, misperrors)
|
||||||
|
|
||||||
if status_ok:
|
if status_ok:
|
||||||
result_filtered['results'].append(r)
|
result_filtered['results'].extend(r)
|
||||||
else:
|
else:
|
||||||
misperrors['error'] = "Error syscan result"
|
misperrors['error'] = "Error syscan result"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue