Skip to content

Commit 2f55977

Browse files
split scan (#93)
1 parent 84a8192 commit 2f55977

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

.github/workflows/ast-scan.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Checkmarx AST Scan
2+
3+
on: [ pull_request, workflow_dispatch ]
4+
5+
jobs:
6+
cx-scan:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
- name: Checkmarx AST CLI Action
12+
uses: checkmarx/ast-github-action@main
13+
with:
14+
base_uri: ${{ secrets.BASE_URI }}
15+
cx_tenant: ${{ secrets.TENANT }}
16+
cx_client_id: ${{ secrets.CLIENT_ID }}
17+
cx_client_secret: ${{ secrets.CLIENT_SECRET }}
18+
additional_params: --tags galactica-team --threshold "sast-high=1"

.github/workflows/ci.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,3 @@ jobs:
3232
CX_SCAN_ID: ${{ secrets.CX_SCAN_ID }}
3333
CX_APIKEY: ${{ secrets.CX_APIKEY }}
3434
run: mvn -B test --file pom.xml
35-
cx-scan:
36-
runs-on: ubuntu-latest
37-
steps:
38-
- name: Checkout
39-
uses: actions/checkout@v3
40-
- name: Checkmarx AST CLI Action
41-
uses: checkmarxDev/ast-github-action@main
42-
with:
43-
project_name: ${{ github.repository }}
44-
base_uri: ${{ secrets.CX_BASE_URI }}
45-
cx_tenant: ${{ secrets.CX_TENANT }}
46-
cx_client_id: ${{ secrets.CX_CLIENT_ID }}
47-
cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }}
48-
additional_params: --tags "Galactica"

0 commit comments

Comments
 (0)