From 3d321733adee4c312ca5b60fa24c43b3675e68d5 Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Fri, 15 Mar 2024 12:53:44 +0530 Subject: [PATCH] upload scan --- .github/workflows/veracode.yml | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/veracode.yml b/.github/workflows/veracode.yml index d259f9c541..be38bc6fb3 100644 --- a/.github/workflows/veracode.yml +++ b/.github/workflows/veracode.yml @@ -222,16 +222,27 @@ jobs: id: get-tag run: echo "::set-output name=TAG::$(git describe --tags --abbrev=0)" - - name: Veracode Upload And Scan - uses: veracode/veracode-uploadandscan-action@0.2.6 + - name: pipeline-scan action step + id: pipeline-scan + uses: veracode/Veracode-pipeline-scan-action@latest with: - appname: 'Nuxeo Web UI' - createprofile: false - filepath: 'nuxeo-web-ui-${{ steps.get-tag.outputs.TAG }}.zip' vid: '${{ secrets.VERACODE_SECRET_API_ID }}' vkey: '${{ secrets.VERACODE_SECRET_KEY }}' - sandboxname: 'master' - scantimeout: 600 - include: '*.war, *.zip, *.js, *.html, *.css, *.json' - criticality: 'VeryHigh' - includenewmodules: 'true' \ No newline at end of file + file: 'nuxeo-web-ui-${{ steps.get-tag.outputs.TAG }}.zip' + request_policy: "VeraDemo Policy" + fail_build: true + + + # - name: Veracode Upload And Scan + # uses: veracode/veracode-uploadandscan-action@0.2.6 + # with: + # appname: 'Nuxeo Web UI' + # createprofile: false + # filepath: 'nuxeo-web-ui-${{ steps.get-tag.outputs.TAG }}.zip' + # vid: '${{ secrets.VERACODE_SECRET_API_ID }}' + # vkey: '${{ secrets.VERACODE_SECRET_KEY }}' + # sandboxname: 'master' + # scantimeout: 600 + # include: '*.war, *.zip, *.js, *.html, *.css, *.json' + # criticality: 'VeryHigh' + # includenewmodules: 'true' \ No newline at end of file