Skip to content

Commit

Permalink
added config for trigger scan on issue functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
shailesh-veracode committed Mar 13, 2024
1 parent ee0cd35 commit f447bf4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion veracode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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."
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"

0 comments on commit f447bf4

Please sign in to comment.