add IDS flag when adding attachments

pull/4/head
Sascha Rommelfangen 2017-05-24 16:15:41 +02:00
parent 8992f7557c
commit 3c3bb6c18e
1 changed files with 1 additions and 1 deletions

View File

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