Update yeti.py

add ref
pull/488/head
Sebdraven 2021-03-19 13:56:02 +01:00
parent 28b554d975
commit b9ce6d689c
1 changed files with 1 additions and 1 deletions

View File

@ -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