From 0a6744141639e1715dfd5c8efaf732b465706325 Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 10 Sep 2024 10:08:33 +0200 Subject: [PATCH] chg: [MISP Export] filter None MISP objects --- bin/exporter/MISPExporter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/exporter/MISPExporter.py b/bin/exporter/MISPExporter.py index 1fd32045..83f2c101 100755 --- a/bin/exporter/MISPExporter.py +++ b/bin/exporter/MISPExporter.py @@ -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: