diff --git a/veracode.yml b/veracode.yml index 96446d32..38979d19 100644 --- a/veracode.yml +++ b/veracode.yml @@ -8,7 +8,7 @@ veracode_static_scan: # Entering both will only execute branches_to_run # Leaving them both blank means this will never run branches_to_run: - - '*' + - 'main' branches_to_exclude: pull_request: trigger: true @@ -21,7 +21,7 @@ veracode_static_scan: # By selecting a branch here - Veracode will save your last scan result # As an App Profile - given the current name of your scanned repo # Use 'none' if you would not like any scans saved to the platform - analysis_branch: ENTER_BRANCH_NAME_HERE + analysis_branch: default_branch #If the break_build_policy_findings is set to true, the build will break if the pipeline scan finds any policy violations. break_build_policy_findings: true #If the break_build_on_error is set to true, the build will break if the scan failed to complete in time or with an error.