@@ -417,6 +417,7 @@ optional_params_cli=(
417
417
" static_analysis"
418
418
" static_analysis_tool"
419
419
" linters_feedback"
420
+ " secret_scanner_feedback"
420
421
" review_scope"
421
422
" exclude_branches"
422
423
" exclude_files"
@@ -454,6 +455,7 @@ optional_params_server=(
454
455
" static_analysis"
455
456
" static_analysis_tool"
456
457
" linters_feedback"
458
+ " secret_scanner_feedback"
457
459
" review_scope"
458
460
" exclude_branches"
459
461
" exclude_files"
540
542
for param in " ${optional_params[@]} " ; do
541
543
if [ " $param " == " dependency_check.snyk_auth_token" ] && [ " ${props["dependency_check"]} " == " True" ]; then
542
544
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
544
546
ask_for_param " $param " " False"
545
547
fi
546
548
done
@@ -575,6 +577,9 @@ for param in "${required_params[@]}" "${bee_params[@]}" "${optional_params[@]}";
575
577
elif [ " $param " == " linters_feedback" ]; then
576
578
props[$param ]=$( validate_boolean " ${props[$param]} " )
577
579
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]} "
578
583
elif [ " $param " == " review_scope" ]; then
579
584
scopes=$( echo ${props[$param]} | sed ' s/, */,/g' )
580
585
docker_cmd+=" --review_scope='[$scopes ]'"
0 commit comments