mirror of https://github.com/MISP/misp-modules
parent
bb1cd7c4de
commit
cec06ed26d
|
@ -80,11 +80,13 @@ class Yeti():
|
|||
object_misp_domain_ip = self.__get_object_domain_ip(obs_to_add)
|
||||
if object_misp_domain_ip:
|
||||
self.misp_event.add_object(object_misp_domain_ip)
|
||||
continue
|
||||
object_misp_url = self.__get_object_url(obs_to_add)
|
||||
if object_misp_url:
|
||||
self.misp_event.add_object(object_misp_url)
|
||||
if not object_misp_url and not object_misp_url:
|
||||
self.__get_attribute(obs_to_add, link)
|
||||
continue
|
||||
|
||||
self.__get_attribute(obs_to_add, link)
|
||||
|
||||
def get_result(self):
|
||||
event = json.loads(self.misp_event.to_json())
|
||||
|
|
Loading…
Reference in New Issue