Update checkmarx-one.yml
This commit is contained in:
@@ -3,7 +3,8 @@
|
|||||||
# separate terms of service, privacy policy, and support
|
# separate terms of service, privacy policy, and support
|
||||||
# documentation.
|
# documentation.
|
||||||
|
|
||||||
# This is a basic workflow to help you get started with Using Checkmarx One Action
|
# This is a basic workflow to help you get started with Using Checkmarx One Action,
|
||||||
|
# documentation can be found here : https://checkmarx.com/resource/documents/en/34965-68702-checkmarx-one-github-actions.html
|
||||||
|
|
||||||
name: Checkmarx Scan
|
name: Checkmarx Scan
|
||||||
|
|
||||||
@@ -24,17 +25,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# This step checks out a copy of your repository.
|
# This step checks out a copy of your repository.
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Checkmarx scan
|
- name: Checkmarx scan
|
||||||
uses: checkmarx/ast-github-action@main
|
uses: checkmarx/ast-github-action@main
|
||||||
with:
|
with:
|
||||||
base_uri: https://ast.checkmarx.net # This should be replaced by your base uri for Checkmarx
|
base_uri: https://ast.checkmarx.net # This should be replaced by your base uri for Checkmarx One
|
||||||
cx_client_id: ${{ secrets.CX_CLIENT_ID }}
|
cx_client_id: ${{ secrets.CX_CLIENT_ID }} # This should be created within your Checkmarx One account : https://checkmarx.com/resource/documents/en/34965-118315-authentication-for-checkmarx-one-cli.html#UUID-a4e31a96-1f36-6293-e95a-97b4b9189060_UUID-4123a2ff-32d0-2287-8dd2-3c36947f675e
|
||||||
cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }}
|
cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }} # This should be created within your Checkmarx One account : https://checkmarx.com/resource/documents/en/34965-118315-authentication-for-checkmarx-one-cli.html#UUID-a4e31a96-1f36-6293-e95a-97b4b9189060_UUID-4123a2ff-32d0-2287-8dd2-3c36947f675e
|
||||||
cx_tenant: ${{ secrets.CX_TENANT }}
|
cx_tenant: ${{ secrets.CX_TENANT }} # This should be replaced by your tenant for Checkmarx One
|
||||||
additional_params: --report-format sarif --output-path .
|
additional_params: --report-format sarif --output-path .
|
||||||
- name: Upload SARIF file
|
- name: Upload SARIF file
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
uses: github/codeql-action/upload-sarif@v2
|
||||||
with:
|
with:
|
||||||
# Path to SARIF file relative to the root of the repository
|
# Path to SARIF file relative to the root of the repository
|
||||||
sarif_file: cx_result.sarif
|
sarif_file: cx_result.sarif
|
||||||
|
|||||||
Reference in New Issue
Block a user