-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WEBUI-1572: veracode scan to run in web ui without sast-scan
- Loading branch information
1 parent
e73b5bc
commit 336f26e
Showing
1 changed file
with
32 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,35 +146,35 @@ jobs: | |
name: nuxeo-web-ui | ||
path: nuxeo-web-ui.zip | ||
|
||
sast-scan: | ||
needs: sast-scan-build | ||
permissions: | ||
contents: read | ||
security-events: write | ||
actions: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: nuxeo-web-ui | ||
path: . | ||
|
||
- name: List downloaded artifact | ||
run: | | ||
ls -l | ||
pwd | ||
- name: Veracode Upload And Scan | ||
uses: veracode/[email protected] | ||
with: | ||
appname: 'Nuxeo Web UI' | ||
createprofile: false | ||
filepath: 'nuxeo-web-ui.zip' | ||
vid: '${{ secrets.VERACODE_SECRET_API_ID }}' | ||
vkey: '${{ secrets.VERACODE_SECRET_KEY }}' | ||
sandboxname: 'master' | ||
scantimeout: 600 | ||
include: '*.war, *.zip, *.js, *.html, *.css, *.json' | ||
criticality: 'High' | ||
includenewmodules: 'true' | ||
# sast-scan: | ||
# needs: sast-scan-build | ||
# permissions: | ||
# contents: read | ||
# security-events: write | ||
# actions: read | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Download artifact | ||
# uses: actions/download-artifact@v3 | ||
# with: | ||
# name: nuxeo-web-ui | ||
# path: . | ||
|
||
# - name: List downloaded artifact | ||
# run: | | ||
# ls -l | ||
# pwd | ||
|
||
# - name: Veracode Upload And Scan | ||
# uses: veracode/[email protected] | ||
# with: | ||
# appname: 'Nuxeo Web UI' | ||
# createprofile: false | ||
# filepath: 'nuxeo-web-ui.zip' | ||
# vid: '${{ secrets.VERACODE_SECRET_API_ID }}' | ||
# vkey: '${{ secrets.VERACODE_SECRET_KEY }}' | ||
# sandboxname: 'master' | ||
# scantimeout: 600 | ||
# include: '*.war, *.zip, *.js, *.html, *.css, *.json' | ||
# criticality: 'High' | ||
# includenewmodules: 'true' |