mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +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,6 +212,7 @@ 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:
|
||||||
|
if obj:
|
||||||
event.add_object(obj)
|
event.add_object(obj)
|
||||||
# print(event.to_json())
|
# print(event.to_json())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue