Skip to content

Commit

Permalink
Test Hook
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonzo committed Oct 13, 2017
1 parent e6adf3a commit 03ab0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misp_taxii_hooks/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def post_stix(manager, content_block, collection_ids, service_id):
# But I don't wanna read docs
if (len(package.attributes) > 0):
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:
log.info("No attributes, not bothering.")

Expand Down

0 comments on commit 03ab0c9

Please sign in to comment.