File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed
Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,20 @@ jobs:
102102 fail_checks_on_error : ${{ github.event.client_payload.user_config.break_build_on_error }}
103103 filter_mitigated_flaws : ${{ github.event.client_payload.user_config.filter_mitigated_flaws }}
104104
105+ veracode-remove-sandbox :
106+ needs : policy_scan
107+ runs-on : ubuntu-latest
108+ if : ${{ github.event.client_payload.user_config.sandbox_scan.execute_remove_sandbox_action && always() }}
109+ name : Remove Sandbox
110+ steps :
111+ - uses : veracode/github-actions-integration-helper@main
112+ with :
113+ action : ' removeSandbox'
114+ vid : ${{ secrets.VERACODE_API_ID }}
115+ vkey : ${{ secrets.VERACODE_API_KEY }}
116+ appname : ${{ github.event.client_payload.user_config.profile_name }}
117+ sandboxname : GitHub App Scans-${{ github.event.client_payload.user_config.sandbox_scan.branch }}
118+
105119 code-scanning-alert :
106120 needs : policy_scan
107121 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 2424 check_run_name : ${{ github.workflow }}
2525 head_sha : ${{ github.event.client_payload.sha }}
2626 event_type : ${{ github.event.client_payload.event_type }}
27- branch : ${{ github.event.client_payload.repository .branch }}
27+ branch : ${{ github.event.client_payload.user_config.sandbox_scan .branch }}
Original file line number Diff line number Diff line change @@ -102,6 +102,20 @@ jobs:
102102 fail_checks_on_error : ${{ inputs.break_build_on_error }}
103103 filter_mitigated_flaws : ${{ inputs.filter_mitigated_flaws }}
104104
105+ veracode-remove-sandbox :
106+ needs : policy_scan
107+ runs-on : ubuntu-latest
108+ if : ${{ github.event.client_payload.user_config.sandbox_scan.execute_remove_sandbox_action && always() }}
109+ name : Remove Sandbox
110+ steps :
111+ - uses : veracode/github-actions-integration-helper@main
112+ with :
113+ action : ' removeSandbox'
114+ vid : ${{ secrets.VERACODE_API_ID }}
115+ vkey : ${{ secrets.VERACODE_API_KEY }}
116+ appname : ${{ github.event.client_payload.user_config.profile_name }}
117+ sandboxname : GitHub App Scans-${{ github.event.client_payload.user_config.sandbox_scan.branch }}
118+
105119 code-scanning-alert :
106120 needs : policy_scan
107121 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments