Adding log about MISP publish skip

pull/82/head
haraksin 2020-05-14 16:43:01 -07:00
parent 5cc5f99c45
commit 461452f420
1 changed files with 2 additions and 0 deletions

View File

@ -146,6 +146,8 @@ def post_stix(manager, content_block, collection_ids, service_id):
): ):
log.info("Publishing event to MISP with ID {}".format(event.get('uuid'))) log.info("Publishing event to MISP with ID {}".format(event.get('uuid')))
MISP.publish(event) MISP.publish(event)
else:
log.info("Skipping MISP event publishing")
else: else:
log.info("No attributes, not bothering.") log.info("No attributes, not bothering.")