From 3c3bb6c18e6f2df767e343d6e04fecd03b6ca587 Mon Sep 17 00:00:00 2001 From: Sascha Rommelfangen Date: Wed, 24 May 2017 16:15:41 +0200 Subject: [PATCH] add IDS flag when adding attachments --- mail_to_misp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail_to_misp.py b/mail_to_misp.py index 83c6765..4043929 100755 --- a/mail_to_misp.py +++ b/mail_to_misp.py @@ -218,5 +218,5 @@ if stdin_used: _, output_path = tempfile.mkstemp() output = open(output_path, 'wb') output.write(part.get_payload(decode=True)) - misp.add_attachment(new_event, output_path, name=filename, comment=filename, category='Artifacts dropped') + misp.add_attachment(new_event, output_path, name=filename, comment=filename, category='Artifacts dropped', to_ids=True) output.close()