Skip to content

Commit

Permalink
WEBUI-1572: veracode scan to run in web ui without sast-scan
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Sep 16, 2024
1 parent e73b5bc commit 336f26e
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/veracode-3.1.x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 336f26e

Please sign in to comment.