mirror of https://github.com/MISP/misp-modules
change status
parent
64e7f9c8b6
commit
45c473aef5
|
@ -344,7 +344,7 @@ def expand_history_dns(api, domain):
|
||||||
|
|
||||||
results = api.history_dns_ns(domain)
|
results = api.history_dns_ns(domain)
|
||||||
if results:
|
if results:
|
||||||
status_ok = True
|
|
||||||
|
|
||||||
r.extend(__history_dns(results, domain, 'nameserver', 'ns'))
|
r.extend(__history_dns(results, domain, 'nameserver', 'ns'))
|
||||||
|
|
||||||
|
@ -353,7 +353,6 @@ def expand_history_dns(api, domain):
|
||||||
results = api.history_dns_soa(domain)
|
results = api.history_dns_soa(domain)
|
||||||
|
|
||||||
if results:
|
if results:
|
||||||
status_ok = True
|
|
||||||
r.extend(__history_dns(results, domain, 'email', 'soa'))
|
r.extend(__history_dns(results, domain, 'email', 'soa'))
|
||||||
|
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
@ -367,6 +366,8 @@ def expand_history_dns(api, domain):
|
||||||
except APIError as e:
|
except APIError as e:
|
||||||
misperrors['error'] = e
|
misperrors['error'] = e
|
||||||
|
|
||||||
|
status_ok = True
|
||||||
|
|
||||||
return r, status_ok
|
return r, status_ok
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue