File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on :
2+ pull_request : {}
3+ push :
4+ branches :
5+ - main
6+ - master
7+ name : Checkmarx SAST Scan
8+ jobs :
9+ checkmarx-scan :
10+ name : Checkmarx SAST Scan
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 300
13+
14+ steps :
15+ - name : Checkout Code
16+ uses : actions/checkout@v4
17+
18+ - name : Run Checkmarx SAST Scan
19+ uses : checkmarx-ts/checkmarx-cxflow-github-action@v2.3
20+ with :
21+ # Connection parameters
22+ checkmarx_url : https://cmxext.deltek.com
23+ checkmarx_username : ${{ secrets.CHECKMARX_USERNAME }}
24+ checkmarx_password : ${{ secrets.CHECKMARX_PASSWORD }}
25+ checkmarx_client_secret : ${{ secrets.CHECKMARX_CLIENT_SECRET }}
26+ team : " /CxServer/Security/Deltek/Replicon"
27+
28+ # Project configuration
29+ project : Replicon-${{ github.event.repository.name }}
30+ scanners : sast
31+ # bug_tracker: GitHub
32+ incremental : false
33+ break_build : false
34+
35+ # Scan parameters and thresholds
36+ params : >-
37+ --logging.level.com.checkmarx=DEBUG
38+ --namespace=${{ github.repository_owner}}
39+ --checkmarx.settings-override=true
40+ --repo-name=${{ github.event.repository.name}}
41+ --branch=${{ github.ref_name || github.head_ref}}
42+ --checkmarx.scan-timeout=1440
43+ --cx-flow.filterSeverity
44+ --cx-flow.thresholds.high=1
45+ --cx-flow.thresholds.medium=1
46+ --cx-flow.scan-resubmit=true
47+ ${{ github.event.number && format('--merge-id={0}', github.event.number)}}
48+
You can’t perform that action at this time.
0 commit comments