Skip to content

Commit 6163b31

Browse files
authored
Create ast-scan.yaml
1 parent 828edc3 commit 6163b31

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ast-scan.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
17+
- name: Checkmarx One CLI Action
18+
uses: checkmarx/ast-github-action@6c56658230f79c227a55120e9b24845d574d5225 # v.2.0.31
19+
with:
20+
base_uri: ${{ secrets.AST_RND_SCANS_BASE_URI }}
21+
cx_tenant: ${{ secrets.AST_RND_SCANS_TENANT }}
22+
cx_client_id: ${{ secrets.AST_RND_SCANS_CLIENT_ID }}
23+
cx_client_secret: ${{ secrets.AST_RND_SCANS_CLIENT_SECRET }}
24+
additional_params: --tags phoenix --threshold "sca-high=1; sca-medium=1; sca-low=1; sast-high=1;sast-medium=1;sast-low=1; iac-security-high=1; iac-security-medium=1; iac-security-low=1"

0 commit comments

Comments
 (0)