Merge branch 'master' of https://github.com/arcsector/MISP-Taxii-Server
commit
f25304c815
|
@ -158,7 +158,7 @@ def post_stix(manager, content_block, collection_ids, service_id):
|
||||||
try:
|
try:
|
||||||
if MISP:
|
if MISP:
|
||||||
event = MISP.add_event(package)
|
event = MISP.add_event(package)
|
||||||
except ConnectionError, NameError:
|
except ConnectionError:
|
||||||
log.error("Cannot push to MISP; please ensure that MISP is up and running at {}. Skipping MISP upload.".format(CONFIG['misp']['url']))
|
log.error("Cannot push to MISP; please ensure that MISP is up and running at {}. Skipping MISP upload.".format(CONFIG['misp']['url']))
|
||||||
if (
|
if (
|
||||||
CONFIG["misp"]["publish"] == True or
|
CONFIG["misp"]["publish"] == True or
|
||||||
|
|
Loading…
Reference in New Issue