File tree Expand file tree Collapse file tree 2 files changed +23
-19
lines changed Expand file tree Collapse file tree 2 files changed +23
-19
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change @@ -15,24 +15,10 @@ jobs:
1515 - run : npm run build --if-present
1616 - name : Run tests
1717 env :
18- CX_CLIENT_ID : ${{ secrets.CLIENT_ID }}
19- CX_CLIENT_SECRET : ${{ secrets.CLIENT_SECRET }}
20- CX_BASE_URI : ${{ secrets.BASE_URI }}
21- CX_TENANT : ${{ secrets.TENANT }}
18+ CX_CLIENT_ID : ${{ secrets.CX_CLIENT_ID }}
19+ CX_CLIENT_SECRET : ${{ secrets.CX_CLIENT_SECRET }}
20+ CX_BASE_URI : ${{ secrets.CX_BASE_URI }}
21+ CX_TENANT : ${{ secrets.CX_TENANT }}
2222 CX_SCANID : ${{ secrets.SCANID }}
2323 CX_APIKEY : ${{ secrets.CX_APIKEY }}
24- run : npm test
25- cx-scan :
26- runs-on : ubuntu-latest
27- steps :
28- - name : Checkout
29- uses : actions/checkout@v3
30- - name : Checkmarx AST CLI Action
31- uses : checkmarxDev/ast-github-action@main
32- with :
33- project_name : ${{ github.repository }}
34- base_uri : ${{ secrets.BASE_URI }}
35- cx_tenant : ${{ secrets.TENANT }}
36- cx_client_id : ${{ secrets.CLIENT_ID }}
37- cx_client_secret : ${{ secrets.CLIENT_SECRET }}
38- additional_params : --tags "Galactica"
24+ run : npm test
You can’t perform that action at this time.
0 commit comments