mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-12 17:48:22 +00:00
chg: [MISP Export] filter None MISP objects
This commit is contained in:
parent
24046734c1
commit
0a67441416
1 changed files with 2 additions and 1 deletions
|
@ -212,7 +212,8 @@ class MISPExporter(AbstractExporter, ABC):
|
||||||
|
|
||||||
misp_objects = ail_objects.get_misp_objects(objs)
|
misp_objects = ail_objects.get_misp_objects(objs)
|
||||||
for obj in misp_objects:
|
for obj in misp_objects:
|
||||||
event.add_object(obj)
|
if obj:
|
||||||
|
event.add_object(obj)
|
||||||
# print(event.to_json())
|
# print(event.to_json())
|
||||||
|
|
||||||
if export:
|
if export:
|
||||||
|
|
Loading…
Reference in a new issue