Update yeti.py

change relationship
pull/488/head
Sebdraven 2021-03-19 12:09:54 +01:00
parent 65d8bb6b07
commit 7255a1eddc
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,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')
print(domain_ip_object.to_json())
return domain_ip_object