diff --git a/misp_modules/modules/expansion/yeti.py b/misp_modules/modules/expansion/yeti.py index 96de599..c0004b0 100644 --- a/misp_modules/modules/expansion/yeti.py +++ b/misp_modules/modules/expansion/yeti.py @@ -103,11 +103,10 @@ class Yeti(): obj_relation = self.__get_relation(obj_to_add) if obj_relation: url_object.add_attribute(obj_relation, obj_to_add['value']) - obj_relation = self.__get_relation(self.attribute) + obj_relation = self.__get_relation(self.attribute, is_yeti_object=False) if obj_relation: - url_object.add_attribute(self.__get_relation(self.attribute, is_yeti_object=False), + url_object.add_attribute(obj_relation, self.attribute['value']) - url_object.add_reference(self.attribute['uuid'], 'related_to') print(url_object) return url_object