mirror of https://github.com/MISP/misp-modules
parent
ed3e0d56fd
commit
6b35a7ee4d
|
@ -85,7 +85,7 @@ class Yeti():
|
|||
domain_ip_object = MISPObject('domain-ip')
|
||||
domain_ip_object.add_attribute(self.__get_relation(obj_to_add),
|
||||
obj_to_add['value'])
|
||||
domain_ip_object.add_attribute('ip', self.attribute)
|
||||
domain_ip_object.add_attribute('ip', self.attribute['value'])
|
||||
domain_ip_object.add_reference(self.attribute['uuid'], 'related_to')
|
||||
|
||||
return domain_ip_object
|
||||
|
|
Loading…
Reference in New Issue