chg: [MISP Export] filter None MISP objects

This commit is contained in:
terrtia 2024-09-10 10:08:33 +02:00
parent 24046734c1
commit 0a67441416
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -212,7 +212,8 @@ class MISPExporter(AbstractExporter, ABC):
misp_objects = ail_objects.get_misp_objects(objs)
for obj in misp_objects:
event.add_object(obj)
if obj:
event.add_object(obj)
# print(event.to_json())
if export: