-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (34 loc) · 997 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
name: kics
on:
pull_request:
branches: [main]
paths:
- 'charts/**'
- '.github/workflows/kics.yml'
push:
branches: [main]
paths:
- 'charts/**'
- '.github/workflows/kics.yml'
permissions:
security-events: write
jobs:
kics:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run KICS Scan
uses: checkmarx/kics-github-action@94469746ec2c43de89a42fb9d2a80070f5d25b16 # v2.1.3
with:
path: 'charts'
ignore_on_exit: results
output_path: report-dir/
output_formats: 'sarif'
token: ${{ secrets.GITHUB_TOKEN }}
enable_jobs_summary: true
platform_type: 'kubernetes'
disable_secrets: true
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.26.8
with:
sarif_file: report-dir/results.sarif