Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
phelipeavila authored Apr 23, 2024
1 parent c36c6fb commit 90a3770
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/veracode-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
Veracode-SCA:
name: Veracode SCA
runs-on: self-hosted
needs: [Checkout]
strategy:
fail-fast: true
steps:
Expand All @@ -33,6 +34,9 @@ jobs:
Veracode-SAST-Policy:
name: Veracode SAST Policy
runs-on: self-hosted
needs: [Veracode-SCA]
env:
APPLICATION_NAME: NodeApp - test
container:
image: veracode/api-wrapper-java:latest
options: --user root
Expand All @@ -48,5 +52,5 @@ jobs:
- name: Scan
run: |
zip -r -v nodegoat.zip . -i '*.js' '*.html'
java -jar /opt/veracode/api-wrapper.jar -vid "${{ secrets.VERACODE_ID }}" -vkey "${{ secrets.VERACODE_KEY }}" -action UploadAndScan -createprofile false -appname "NodeGoat-Demo" -version "${{ github.run_id }}" -filepath nodegoat.zip
java -jar /opt/veracode/api-wrapper.jar -vid "${{ secrets.VERACODE_ID }}" -vkey "${{ secrets.VERACODE_KEY }}" -action UploadAndScan -createprofile false -appname $APPLICATION_NAME -version "${{ github.run_id }}" -filepath nodegoat.zip
continue-on-error: true

0 comments on commit 90a3770

Please sign in to comment.