|
|
|
|
@ -29,7 +29,7 @@ jobs:
@@ -29,7 +29,7 @@ jobs:
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }} |
|
|
|
|
|
|
|
|
|
- name: Scan with Checkmarx |
|
|
|
|
uses: checkmarx/ast-github-action@03a90e7253dadd7e2fff55f5dfbce647b39040a1 # 2.0.37 |
|
|
|
|
uses: checkmarx/ast-github-action@de327a92d7f419bfdc7c3e5535ad7b3bbce91677 # 2.0.38 |
|
|
|
|
env: |
|
|
|
|
INCREMENTAL: "${{ contains(github.event_name, 'pull_request') && '--sast-incremental' || '' }}" |
|
|
|
|
with: |
|
|
|
|
@ -44,7 +44,7 @@ jobs:
@@ -44,7 +44,7 @@ jobs:
|
|
|
|
|
--output-path . ${{ env.INCREMENTAL }} |
|
|
|
|
|
|
|
|
|
- name: Upload Checkmarx results to GitHub |
|
|
|
|
uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3.27.2 |
|
|
|
|
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5 |
|
|
|
|
with: |
|
|
|
|
sarif_file: cx_result.sarif |
|
|
|
|
|
|
|
|
|
|