mirror of https://github.com/MISP/misp-modules
check entry in result dico
parent
436254cd8c
commit
f32717c896
|
@ -44,7 +44,7 @@ class OnypheClient:
|
||||||
results = self.onyphe_client.summary_ip(self.attribute['value'])
|
results = self.onyphe_client.summary_ip(self.attribute['value'])
|
||||||
if 'results' in results:
|
if 'results' in results:
|
||||||
for r in results['results']:
|
for r in results['results']:
|
||||||
print(r)
|
if 'domain' in r:
|
||||||
domain = r['domain']
|
domain = r['domain']
|
||||||
if type(domain) == list:
|
if type(domain) == list:
|
||||||
for d in domain:
|
for d in domain:
|
||||||
|
|
Loading…
Reference in New Issue