mirror of https://github.com/MISP/misp-modules
parent
ee7c065795
commit
f7ca8bf140
|
@ -81,7 +81,7 @@ class Yeti():
|
||||||
if not object_misp_url and not object_misp_url:
|
if not object_misp_url and not object_misp_url:
|
||||||
attr = self.__get_attribute(obs_to_add)
|
attr = self.__get_attribute(obs_to_add)
|
||||||
if attr:
|
if attr:
|
||||||
self.misp_event.add_attribute(attr.type, attr.value, tags=attr.tags)
|
self.misp_event.add_attribute(attr.type, attr.value, tags=['test','toto'])
|
||||||
|
|
||||||
def get_result(self):
|
def get_result(self):
|
||||||
event = json.loads(self.misp_event.to_json())
|
event = json.loads(self.misp_event.to_json())
|
||||||
|
|
Loading…
Reference in New Issue