mirror of https://github.com/CIRCL/lookyloo
fix: Missing rendered node in MISP lookup
parent
8c62a597e7
commit
f204947afa
|
@ -422,7 +422,7 @@ class Lookyloo():
|
||||||
except LookylooException:
|
except LookylooException:
|
||||||
self.logger.warning(f'Unable to get the modules responses unless the tree ({capture_uuid}) is cached.')
|
self.logger.warning(f'Unable to get the modules responses unless the tree ({capture_uuid}) is cached.')
|
||||||
return None
|
return None
|
||||||
nodes_to_lookup = ct.root_hartree.rendered_node.get_ancestors()
|
nodes_to_lookup = ct.root_hartree.rendered_node.get_ancestors() + [ct.root_hartree.rendered_node]
|
||||||
events = {}
|
events = {}
|
||||||
for node in nodes_to_lookup:
|
for node in nodes_to_lookup:
|
||||||
events[node.name] = self.misp.lookup(node, ct.root_hartree.get_host_node_by_uuid(node.hostnode_uuid))
|
events[node.name] = self.misp.lookup(node, ct.root_hartree.get_host_node_by_uuid(node.hostnode_uuid))
|
||||||
|
|
Loading…
Reference in New Issue