@@ -417,6 +417,7 @@ optional_params_cli=(
417417 " static_analysis"
418418 " static_analysis_tool"
419419 " linters_feedback"
420+ " secret_scanner_feedback"
420421 " review_scope"
421422 " exclude_branches"
422423 " exclude_files"
@@ -454,6 +455,7 @@ optional_params_server=(
454455 " static_analysis"
455456 " static_analysis_tool"
456457 " linters_feedback"
458+ " secret_scanner_feedback"
457459 " review_scope"
458460 " exclude_branches"
459461 " exclude_files"
540542for param in " ${optional_params[@]} " ; do
541543 if [ " $param " == " dependency_check.snyk_auth_token" ] && [ " ${props["dependency_check"]} " == " True" ]; then
542544 ask_for_param " $param " " False"
543- elif [ " $param " != " dependency_check.snyk_auth_token" ] && [ " $param " != " env" ] && [ " $param " != " cli_path" ] && [ " $param " != " output_path" ] && [ " $param " != " static_analysis_tool" ] && [ " $param " != " linters_feedback" ] && [ " $param " != " git.domain" ] && [ " $param " != " review_scope" ] && [ " $param " != " exclude_branches" ] && [ " $param " != " nexus_url" ] && [ " $param " != " exclude_files" ] && [ " $param " != " exclude_draft_pr" ] && [ " $param " != " cr_event_type" ] && [ " $param " != " posting_to_pr" ] && [ " $param " != " custom_rules.configured_ws_ids" ] && [ " $param " != " custom_rules.aws_access_key_id" ] && [ " $param " != " custom_rules.aws_secret_access_key" ] && [ " $param " != " custom_rules.region_name" ] && [ " $param " != " custom_rules.bucket_name" ] && [ " $param " != " custom_rules.aes_key" ] && [ " $param " != " code_context_config.partial_timeout" ] && [ " $param " != " code_context_config.max_depth" ] && [ " $param " != " code_context_config.kill_timeout_sec" ]; then
545+ elif [ " $param " != " dependency_check.snyk_auth_token" ] && [ " $param " != " env" ] && [ " $param " != " cli_path" ] && [ " $param " != " output_path" ] && [ " $param " != " static_analysis_tool" ] && [ " $param " != " linters_feedback" ] && [ " $param " != " secret_scanner_feedback " ] && [ " $param " != " git.domain" ] && [ " $param " != " review_scope" ] && [ " $param " != " exclude_branches" ] && [ " $param " != " nexus_url" ] && [ " $param " != " exclude_files" ] && [ " $param " != " exclude_draft_pr" ] && [ " $param " != " cr_event_type" ] && [ " $param " != " posting_to_pr" ] && [ " $param " != " custom_rules.configured_ws_ids" ] && [ " $param " != " custom_rules.aws_access_key_id" ] && [ " $param " != " custom_rules.aws_secret_access_key" ] && [ " $param " != " custom_rules.region_name" ] && [ " $param " != " custom_rules.bucket_name" ] && [ " $param " != " custom_rules.aes_key" ] && [ " $param " != " code_context_config.partial_timeout" ] && [ " $param " != " code_context_config.max_depth" ] && [ " $param " != " code_context_config.kill_timeout_sec" ]; then
544546 ask_for_param " $param " " False"
545547 fi
546548done
@@ -575,6 +577,9 @@ for param in "${required_params[@]}" "${bee_params[@]}" "${optional_params[@]}";
575577 elif [ " $param " == " linters_feedback" ]; then
576578 props[$param ]=$( validate_boolean " ${props[$param]} " )
577579 docker_cmd+=" --linters_feedback=${props[$param]} "
580+ elif [ " $param " == " secret_scanner_feedback" ]; then
581+ props[$param ]=$( validate_boolean " ${props[$param]} " )
582+ docker_cmd+=" --secret_scanner_feedback=${props[$param]} "
578583 elif [ " $param " == " review_scope" ]; then
579584 scopes=$( echo ${props[$param]} | sed ' s/, */,/g' )
580585 docker_cmd+=" --review_scope='[$scopes ]'"
0 commit comments