forked from Cxwberriel/JVL_Actions
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 1013 Bytes
/
main.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
33
name: Checkmarx One Scan
on:
push:
branches:
- main
- master
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download SCA Resolver
run: wget https://sca-downloads.s3.amazonaws.com/cli/latest/ScaResolver-linux64.tar.gz
- name: Extract
run: tar -xzvf ScaResolver-linux64.tar.gz
- name: Clean Up
run: rm -rf ScaResolver-linux64.tar.gz
- name: PWD
run: pwd
- name: PWD2
run: echo "$PWD"
- name: Checkmarx One CLI Action
uses: checkmarx/ast-github-action@main #Github Action version
with:
project_name: ${{ github.repository }}
cx_tenant: ${{ secrets.CX_TENANT }}
base_uri: ${{ secrets.CX_BASE_URI }}
cx_client_id: ${{ secrets.CX_CLIENT_ID }}
cx_client_secret: ${{ secrets.CX_SECRET }}
additional_params: --sca-resolver ./app/ScaResolver --sca-resolver-params "-h"