mirror of https://github.com/MISP/misp-modules
parent
f7ca8bf140
commit
43672ee9a9
|
@ -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=['test','toto'])
|
self.misp_event.add_attribute(attr.type, attr.value)
|
||||||
|
|
||||||
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