@@ -408,6 +408,7 @@ $optional_params_cli = @(
408
408
" static_analysis" ,
409
409
" static_analysis_tool" ,
410
410
" linters_feedback" ,
411
+ " secret_scanner_feedback" ,
411
412
" review_scope" ,
412
413
" exclude_branches" ,
413
414
" exclude_files" ,
@@ -444,6 +445,7 @@ $optional_params_server = @(
444
445
" static_analysis" ,
445
446
" static_analysis_tool" ,
446
447
" linters_feedback" ,
448
+ " secret_scanner_feedback" ,
447
449
" review_scope" ,
448
450
" exclude_branches" ,
449
451
" exclude_files" ,
@@ -532,7 +534,7 @@ foreach ($param in $required_params) {
532
534
foreach ($param in $optional_params ) {
533
535
if ($param -eq " dependency_check.snyk_auth_token" -and $props [" dependency_check" ] -eq " True" ) {
534
536
Ask- For- Param $param $false
535
- } elseif ($param -ne " dependency_check.snyk_auth_token" -and $param -ne " env" -and $param -ne " cli_path" -and $param -ne " output_path" -and $param -ne " static_analysis_tool" -and $param -ne " linters_feedback" -and $param -ne " git.domain" -and $param -ne " review_scope" -and $param -ne " exclude_branches" -and $param -ne " exclude_files" -and $param -ne " exclude_draft_pr" -and $param -ne " cr_event_type" -and $param -ne " posting_to_pr" -and $param -ne " custom_rules.configured_ws_ids" -and $param -ne " custom_rules.aws_access_key_id" -and $param -ne " custom_rules.aws_secret_access_key" -and $param -ne " custom_rules.region_name" -and $param -ne " custom_rules.bucket_name" -and $param -ne " custom_rules.aes_key" -and $param -ne " code_context_config.partial_timeout" -and $param -ne " code_context_config.max_depth" -and $param -ne " code_context_config.kill_timeout_sec" ) {
537
+ } elseif ($param -ne " dependency_check.snyk_auth_token" -and $param -ne " env" -and $param -ne " cli_path" -and $param -ne " output_path" -and $param -ne " static_analysis_tool" -and $param -ne " linters_feedback" -and $param -ne " secret_scanner_feedback " -and $param -ne " git.domain" -and $param -ne " review_scope" -and $param -ne " exclude_branches" -and $param -ne " exclude_files" -and $param -ne " exclude_draft_pr" -and $param -ne " cr_event_type" -and $param -ne " posting_to_pr" -and $param -ne " custom_rules.configured_ws_ids" -and $param -ne " custom_rules.aws_access_key_id" -and $param -ne " custom_rules.aws_secret_access_key" -and $param -ne " custom_rules.region_name" -and $param -ne " custom_rules.bucket_name" -and $param -ne " custom_rules.aes_key" -and $param -ne " code_context_config.partial_timeout" -and $param -ne " code_context_config.max_depth" -and $param -ne " code_context_config.kill_timeout_sec" ) {
536
538
Ask- For- Param $param $false
537
539
}
538
540
}
@@ -561,6 +563,9 @@ foreach ($param in $required_params + $bee_params + $optional_params) {
561
563
} elseif ($param -eq " linters_feedback" ) {
562
564
$validated_boolean = Validate- Boolean $props [$param ]
563
565
$docker_cmd += " --$param =$validated_boolean "
566
+ } elseif ($param -eq " secret_scanner_feedback" ) {
567
+ $validated_boolean = Validate- Boolean $props [$param ]
568
+ $docker_cmd += " --$param =$validated_boolean "
564
569
} elseif ($param -eq " review_scope" ) {
565
570
$scopes = $ ($props [$param ]) -replace ' ,\s*' , ' ,'
566
571
$docker_cmd += " --$param ='[$scopes ]'"
0 commit comments