-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 1.03 KB
/
cxaction.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Checkmarx One Scan
on:
push:
branches:
- main
- master
- dev
#schedule:
# - cron: "*/5 * * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkmarx One CLI Action
uses: checkmarx/[email protected] #Github Action version
with:
project_name: AP Github Action
cx_tenant: dp_wp_account
base_uri: https://eu.ast.checkmarx.net
cx_client_id: ${{ secrets.oauthclient }}
cx_client_secret: ${{ secrets.oauthsecret }}
additional_params: --report-format sarif --output-path .
#additional_params: --apikey ${{ secrets.apisecret2 }}
#additional_params: --sast-preset-name "Checkmarx Default" --tags "blueberry"
#additional_params: --sast-preset-name "Checkmarx Default" --scan-types sast --debug
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: cx_result.sarif