Merge branch 'master' of github.com:MISP/MISP-Taxii-Server

pull/38/head
Hannah Ward 2017-11-03 11:47:51 +00:00
commit d6fb64c91c
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ def post_stix(manager, content_block, collection_ids, service_id):
# But I don't wanna read docs # But I don't wanna read docs
if (len(package.attributes) > 0): if (len(package.attributes) > 0):
log.info("Uploading event to MISP with attributes %s", [x.value for x in package.attributes]) log.info("Uploading event to MISP with attributes %s", [x.value for x in package.attributes])
MISP.add_event(package._json_full()) MISP.add_event(package)
else: else:
log.info("No attributes, not bothering.") log.info("No attributes, not bothering.")