mirror of https://github.com/MISP/misp-modules
parent
28b554d975
commit
b9ce6d689c
|
@ -85,7 +85,7 @@ class Yeti():
|
|||
(obj_to_add['type'] in ('Hostname', 'Domain') and self.attribute['type'] in ('ip-src', 'ip-dst')):
|
||||
domain_ip_object = MISPObject('domain-ip')
|
||||
domain_ip_object.add_attribute(**self.__get_attribute(obj_to_add))
|
||||
#domain_ip_object.add_reference(self.attribute['uuid'], 'related_to')
|
||||
domain_ip_object.add_reference(self.attribute['uuid'], 'related_to')
|
||||
domain_ip_object.add_attribute(**self.attribute)
|
||||
return domain_ip_object
|
||||
|
||||
|
|
Loading…
Reference in New Issue