File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Checkmarx One Scan
2+ on :
3+ workflow_dispatch :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+ schedule :
9+ - cron : ' 00 7 * * *' # Every day at 07:00
10+
11+ jobs :
12+ cx-scan :
13+ name : Checkmarx One Scan
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
18+ - name : Checkmarx One CLI Action
19+ uses : checkmarx/ast-github-action@ef93013c95adc60160bc22060875e90800d3ecfc # v.2.3.19
20+ with :
21+ base_uri : ${{ secrets.AST_RND_SCANS_BASE_URI }}
22+ cx_tenant : ${{ secrets.AST_RND_SCANS_TENANT }}
23+ cx_client_id : ${{ secrets.AST_RND_SCANS_CLIENT_ID }}
24+ cx_client_secret : ${{ secrets.AST_RND_SCANS_CLIENT_SECRET }}
25+ additional_params : --tags sypher --threshold "sca-critical=1;sca-high=1;sca-medium=1;sca-low=1;sast-critical=1;sast-high=1;sast-medium=1;sast-low=1;iac-security-critical=1;iac-security-high=1;iac-security-medium=1;iac-security-low=1"
26+ notify :
27+ needs : cx-scan
28+ uses : Checkmarx/plugins-release-workflow/.github/workflows/cxone-scan-teams-notify.yml@38cf7ab29e5021bb817ac38bdae3ac0fb210608c
29+ if : always()
30+ with :
31+ cx_result : ${{ needs.cx-scan.result }}
32+ repository : ${{ github.repository }}
33+ ref_name : ${{ github.ref_name }}
34+ actor : ${{ github.actor }}
35+ event_name : ${{ github.event_name }}
36+ run_id : ${{ github.run_id }}
37+ server_url : ${{ github.server_url }}
38+ secrets :
39+ teams_webhook_url : ${{ secrets.CXONE_SCAN_WEBHOOK_URL }}
You can’t perform that action at this time.
0 commit comments