-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (37 loc) · 910 Bytes
/
kics.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
34
35
36
37
38
---
name: KICS Security Scan
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
pull_request:
merge_group:
jobs:
kics:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Mkdir results-dir
# make sure results dir is created
run: mkdir -p results-dir
- name: run kics Scan
uses: Checkmarx/[email protected]
with:
# path: 'roles,plugins'
path: '.'
# fail_on: high
ignore_on_exit: results
output_formats: 'json,sarif'
output_path: results-dir
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results-dir/results.sarif