Skip to content

Commit

Permalink
do not merge - consultation request
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 committed Jul 3, 2024
1 parent be79ae9 commit 820769d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/veracode-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:

- name: Backup analysis reports
# debug step used to investigate support case
if: needs.build.outputs.enable_qg == 'false' || failure()
if: success() || failure()
run: |
echo "[DEBUG] downloaded baseline details in /tmp"
ls -la /tmp
Expand Down Expand Up @@ -204,6 +204,7 @@ jobs:
backup_baseline "results.json"
backup_baseline "filtered_results.json"
cp $( find ./ -name "*veracode-binary.zip" ) "/tmp/backup"
ZIPNAME="$CURRENT_PR.$CURRENT_DATE.${{github.run_id}}.zip"
cd /tmp/backup && zip "$ZIPNAME" *
aws s3 cp "/tmp/backup/$ZIPNAME" "$BACKUP_LOCATION/$ZIPNAME"
Expand Down Expand Up @@ -247,7 +248,6 @@ jobs:
needs: [build]
name: Run a sandbox scan
# only stable and unstable maintenances branches will produce a report
if: needs.build.outputs.development_stage != 'Development'
runs-on: [self-hosted, common]

steps:
Expand All @@ -260,16 +260,16 @@ jobs:

- name: Sandbox scan
uses: veracode/veracode-uploadandscan-action@f7e1fbf02c5c899fba9f12e3f537b62f2f1230e1 # 0.2.7
continue-on-error: ${{ vars.VERACODE_CONTINUE_ON_ERROR == 'true' }}
continue-on-error: true
with:
appname: "${{ inputs.module_name }}"
appname: "support_case_00832599_ter_centreon-web"
version: "${{ needs.build.outputs.development_stage }}_runId-${{ github.run_id }}"
filepath: "${{ inputs.module_name }}-${{ github.sha }}-${{ github.run_id }}-veracode-binary.zip"
vid: "vera01ei-${{ secrets.veracode_api_id }}"
vkey: "vera01es-${{ secrets.veracode_api_key }}"
createprofile: true
createsandbox: true
sandboxname: "${{ github.ref_name }}"
sandboxname: "drawio-ter-${{ github.ref_name }}"
scantimeout: 120
includenewmodules: true
scanallnonfataltoplevelmodules: true
Expand Down

0 comments on commit 820769d

Please sign in to comment.