|
|
|
@ -30,7 +30,7 @@ jobs: |
|
|
|
ref: ${{ github.event.pull_request.head.sha }} |
|
|
|
ref: ${{ github.event.pull_request.head.sha }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Scan with Checkmarx |
|
|
|
- name: Scan with Checkmarx |
|
|
|
uses: checkmarx/ast-github-action@1fe318de2993222574e6249750ba9000a4e2a6cd # 2.0.33 |
|
|
|
uses: checkmarx/ast-github-action@9fda5a4a2c297608117a5a56af424502a9192e57 # 2.0.34 |
|
|
|
env: |
|
|
|
env: |
|
|
|
INCREMENTAL: "${{ contains(github.event_name, 'pull_request') && '--sast-incremental' || '' }}" |
|
|
|
INCREMENTAL: "${{ contains(github.event_name, 'pull_request') && '--sast-incremental' || '' }}" |
|
|
|
with: |
|
|
|
with: |
|
|
|
@ -45,7 +45,7 @@ jobs: |
|
|
|
--output-path . ${{ env.INCREMENTAL }} |
|
|
|
--output-path . ${{ env.INCREMENTAL }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Upload Checkmarx results to GitHub |
|
|
|
- name: Upload Checkmarx results to GitHub |
|
|
|
uses: github/codeql-action/upload-sarif@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6 |
|
|
|
uses: github/codeql-action/upload-sarif@294a9d92911152fe08befb9ec03e240add280cb3 # v3.26.8 |
|
|
|
with: |
|
|
|
with: |
|
|
|
sarif_file: cx_result.sarif |
|
|
|
sarif_file: cx_result.sarif |
|
|
|
|
|
|
|
|
|
|
|
@ -59,7 +59,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Set up JDK 17 |
|
|
|
- name: Set up JDK 17 |
|
|
|
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2 |
|
|
|
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0 |
|
|
|
with: |
|
|
|
with: |
|
|
|
java-version: 17 |
|
|
|
java-version: 17 |
|
|
|
distribution: "zulu" |
|
|
|
distribution: "zulu" |
|
|
|
|