diff --git a/veracode.yml b/veracode.yml index 53755673..44fe2b62 100644 --- a/veracode.yml +++ b/veracode.yml @@ -39,6 +39,11 @@ veracode_static_scan: create_code_scanning_alert: false create_issue: false profile: ENTER_PROFILE_NAME + #If enabled, the scan will be triggered when a command matches by either creating an issue or adding a comment to an issue. + issues: + trigger: false + commands: + - "ENTER_COMMAND_TO_EXECUTE_SCAN" veracode_sca_scan: # Please only specify trigger:true for either push event or @@ -62,6 +67,11 @@ veracode_sca_scan: break_build_on_error: true #If the break_build_on_policy_error is set to true, this is the error message that will be displayed if the SCA scan fails to complete, no libraries found, no build system found or on any other error. error_message: "Veracode SCA scan faced a problem. Please contact your Veracode administrator for more information. If you are a Veracode administrator, please contact Veracode support." + #If enabled, the scan will be triggered when a command matches by either creating an issue or adding a comment to an issue. + issues: + trigger: false + commands: + - "ENTER_COMMAND_TO_EXECUTE_SCAN" veracode_iac_secrets_scan: # Please only specify trigger:true for either push event or @@ -84,4 +94,9 @@ veracode_iac_secrets_scan: #If the break_build_on_error is set to true, the build will break if the scan failed to complete, no libraries found or on any other error. break_build_on_error: true #If the break_build_on_policy_error is set to true, this is the error message that will be displayed if the IaC/Secrets scan fails to complete, no libraries found or on any other error. - error_message: "Veracode SCA scan faced a problem. Please contact your Veracode administrator for more information. If you are a Veracode administrator, please contact Veracode support." \ No newline at end of file + error_message: "Veracode SCA scan faced a problem. Please contact your Veracode administrator for more information. If you are a Veracode administrator, please contact Veracode support." + #If enabled, the scan will be triggered when a command matches by either creating an issue or adding a comment to an issue. + issues: + trigger: false + commands: + - "ENTER_COMMAND_TO_EXECUTE_SCAN" \ No newline at end of file