Update yeti.py

change attribute add
pull/488/head
Sebdraven 2021-03-19 12:12:37 +01:00
parent 7255a1eddc
commit bc1bea0ec4
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ class Yeti():
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_attribute(**self.attribute)
print(domain_ip_object.to_json())
return domain_ip_object