Skip to content

Commit 44fce13

Browse files
Merge branch 'main' into SDEVX-8814
2 parents 00aa4d6 + 132d094 commit 44fce13

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/binary-ready-veracode-sast-policy-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888
failbuild: ${{ github.event.client_payload.user_config.break_build_policy_findings }}
8989
deleteincompletescan: true
9090

91+
9192
- name: Veracode Policy Results
9293
id: prepare-results
9394
if: always()

.github/workflows/veracode-sca-scan.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,13 @@ jobs:
8282
env:
8383
SRCCLR_API_TOKEN: ${{ secrets.VERACODE_AGENT_TOKEN }}
8484
JAVA_OPTS: -Xms2g -Xmx4g
85-
uses: veracode/[email protected].13
85+
uses: veracode/[email protected].14
8686
with:
8787
github_token: ${{ secrets.GITHUB_TOKEN }}
8888
create-issues: false
8989
recursive: true
9090
allow-dirty: true
91+
breakBuildOnPolicyFindings: ${{ github.event.client_payload.user_config.break_build_policy_findings }}
9192

9293
cleanup:
9394
runs-on: ${{ fromJson(github.event.client_payload.user_config.default_runs_on) }}
@@ -98,4 +99,5 @@ jobs:
9899
if: always()
99100
run: |
100101
echo "Running final cleanup..."
101-
sudo rm -rf $GITHUB_WORKSPACE/
102+
sudo rm -rf $GITHUB_WORKSPACE/
103+

veracode.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ veracode_sca_scan:
5757
# If the break_build_on_error is set to true, the build will break if the scan failed to complete or with an error, no libraries were found,
5858
# or no build system was found and the error_message will be displayed.
5959
break_build_on_error: true
60+
break_build_policy_findings: true
6061
error_message: "Veracode SCA scan faced a problem. Please contact your Veracode administrator for more information."
6162
# If the trigger is set to true, a scan is triggered when you create an issue containing the commands value or add a comment containing the commands value to an issue.
6263
# Syntax to be used - COMMANDS_VALUE [branch: BRANCH_NAME]

0 commit comments

Comments
 (0)