Skip to content

Commit

Permalink
Create ast-scan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
amacedoo authored Sep 17, 2024
1 parent 828edc3 commit 6163b31
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ast-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Checkmarx One Scan
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
schedule:
- cron: '00 7 * * *' # Every day at 07:00

jobs:
cx-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Checkmarx One CLI Action
uses: checkmarx/ast-github-action@6c56658230f79c227a55120e9b24845d574d5225 # v.2.0.31
with:
base_uri: ${{ secrets.AST_RND_SCANS_BASE_URI }}
cx_tenant: ${{ secrets.AST_RND_SCANS_TENANT }}
cx_client_id: ${{ secrets.AST_RND_SCANS_CLIENT_ID }}
cx_client_secret: ${{ secrets.AST_RND_SCANS_CLIENT_SECRET }}
additional_params: --tags phoenix --threshold "sca-high=1; sca-medium=1; sca-low=1; sast-high=1;sast-medium=1;sast-low=1; iac-security-high=1; iac-security-medium=1; iac-security-low=1"

0 comments on commit 6163b31

Please sign in to comment.