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()