From a85f365211bc82f6c246bf8c3ba3bc0d137fea22 Mon Sep 17 00:00:00 2001 From: Benjamin Morris Date: Tue, 14 May 2024 14:00:46 -0700 Subject: [PATCH] use DETECTIVE as default --- rdk/rdk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rdk/rdk.py b/rdk/rdk.py index b629f79..3ad06bc 100644 --- a/rdk/rdk.py +++ b/rdk/rdk.py @@ -1766,7 +1766,7 @@ def deploy(self): }, { "ParameterKey": "EvaluationMode", - "ParameterValue": rule_params["EvaluationMode"], + "ParameterValue": rule_params.get("EvaluationMode", "DETECTIVE"), }, ] my_cfn = my_session.client("cloudformation") @@ -2028,7 +2028,7 @@ def deploy(self): }, { "ParameterKey": "EvaluationMode", - "ParameterValue": rule_params["EvaluationMode"], + "ParameterValue": rule_params.get("EvaluationMode", "DETECTIVE"), }, ] layers = self.__get_lambda_layers(my_session, self.args, rule_params)