Repo Url and SHA value updated.
This commit is contained in:
@@ -17,27 +17,19 @@ on:
|
|||||||
- cron: $cron-weekly
|
- cron: $cron-weekly
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel - this job is specifically configured to use the Checkmarx CxFlow Action
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel - this job is specifically configured to use the Checkmarx CxFlow Action
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
# This workflow contains a single job called "build"
|
||||||
build:
|
build:
|
||||||
# The type of runner that the job will run on - Ubuntu is required as Docker is leveraged for the action
|
# The type of runner that the job will run on - Ubuntu is required as Docker is leveraged for the action
|
||||||
permissions:
|
|
||||||
contents: read # for actions/checkout to fetch code
|
|
||||||
issues: write # for checkmarx-ts/checkmarx-cxflow-github-action to write feedback to github issues
|
|
||||||
pull-requests: write # for checkmarx-ts/checkmarx-cxflow-github-action to write feedback to PR
|
|
||||||
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# Steps require - checkout code, run CxFlow Action, Upload SARIF report (optional)
|
# Steps require - checkout code, run CxFlow Action, Upload SARIF report (optional)
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v2
|
||||||
# Runs the Checkmarx Scan leveraging the latest version of CxFlow - REFER to Action README for list of inputs
|
# Runs the Checkmarx Scan leveraging the latest version of CxFlow - REFER to Action README for list of inputs
|
||||||
- name: Checkmarx CxFlow Action
|
- name: Checkmarx CxFlow Action
|
||||||
uses: checkmarx-ts/checkmarx-cxflow-github-action@9975af7d6b957abec9ee9646effa3fb3b82c5314
|
uses: checkmarx-ts/checkmarx-cxflow-github-action@49d8269b14ca87910ba003d47a31fa0c7a11f2fe
|
||||||
with:
|
with:
|
||||||
project: ${{ secrets.CHECKMARX_PROJECT }}
|
project: ${{ secrets.CHECKMARX_PROJECT }}
|
||||||
team: ${{ secrets.CHECKMARX_TEAMS }}
|
team: ${{ secrets.CHECKMARX_TEAMS }}
|
||||||
@@ -46,9 +38,9 @@ jobs:
|
|||||||
checkmarx_password: ${{ secrets.CHECKMARX_PASSWORD }}
|
checkmarx_password: ${{ secrets.CHECKMARX_PASSWORD }}
|
||||||
checkmarx_client_secret: ${{ secrets.CHECKMARX_CLIENT_SECRET }}
|
checkmarx_client_secret: ${{ secrets.CHECKMARX_CLIENT_SECRET }}
|
||||||
scanners: sast
|
scanners: sast
|
||||||
params: --namespace=${{ github.repository_owner }} --repo-name=${{ github.event.repository.name }} --branch=${{ github.ref }} --cx-flow.filter-severity --cx-flow.filter-category --checkmarx.disable-clubbing=true
|
params: --namespace=${{ github.repository_owner }} --repo-name=${{ github.event.repository.name }} --branch=${{ github.ref }} --cx-flow.filterSeverity --cx-flow.filterCategory --repo-url=${{ github.event.repository.url }}
|
||||||
# Upload the Report for CodeQL/Security Alerts
|
# Upload the Report for CodeQL/Security Alerts
|
||||||
- name: Upload SARIF file
|
- name: Upload SARIF file
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
uses: github/codeql-action/upload-sarif@v1
|
||||||
with:
|
with:
|
||||||
sarif_file: cx.sarif
|
sarif_file: cx.sarif
|
||||||
|
|||||||
Reference in New Issue
Block a user