chg: [MISP Export] filter None MISP objects

otp
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
1 changed files with 2 additions and 1 deletions

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: