diff --git a/cortex/1.0.0/src/app.py b/cortex/1.0.0/src/app.py index 17db63b0..ae7dc833 100644 --- a/cortex/1.0.0/src/app.py +++ b/cortex/1.0.0/src/app.py @@ -61,7 +61,7 @@ def run_available_analyzers(self, apikey, url, data, datatype, message="", tlp=1 'dataType': datatype, 'tlp': tlp, 'message': message, - }, force=1) + }, force=0) alljobs.append(job.id) except cortex4py.exceptions.ServiceUnavailableError as e: @@ -83,7 +83,7 @@ def run_analyzer(self, apikey, url, analyzer_name, data, datatype, message="", t 'dataType': datatype, 'tlp': tlp, 'message': message, - }, force=1) + }, force=0) except cortex4py.exceptions.ServiceUnavailableError as e: return str(e) except cortex4py.exceptions.AuthorizationError as e: diff --git a/thehive/1.1.3/src/app.py b/thehive/1.1.3/src/app.py index f4c069dd..adfe3f62 100644 --- a/thehive/1.1.3/src/app.py +++ b/thehive/1.1.3/src/app.py @@ -414,6 +414,7 @@ def create_case_from_alert( self, apikey, url, organisation, alert_id, case_template=None ): self.__connect_thehive(url, apikey, organisation) + response = self.thehive.promote_alert_to_case( alert_id=alert_id, case_template=case_template )