generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 990 Bytes
/
kics.yaml
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
34
35
36
37
38
---
name: KICS
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- master
jobs:
build:
name: KICS
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Mkdir myResults
run: mkdir -p myResults
- name: run kics Scan
uses: Checkmarx/kics-github-action@3246fb456a46d1ea8848ae18793c036718b19fe0 # v2.1.5
with:
path: cluster
output_path: myResults/
output_formats: 'json,sarif'
ignore_on_exit: results
token: ${{ github.token }}
enable_comments: true
- name: Show results
run: |
cat myResults/results.sarif
cat myResults/results.json
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3
with:
sarif_file: myResults/results.sarif