Skip to content

Commit fb0dae3

Browse files
committed
enable Kubescape scan
Signed-off-by: Huabing Zhao <[email protected]>
1 parent 9852333 commit fb0dae3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/kubescape-scan.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Kubescape scanning for misconfigurations
2+
on: [push, pull_request]
3+
jobs:
4+
kubescape:
5+
runs-on: ubuntu-latest
6+
permissions:
7+
actions: read
8+
contents: read
9+
security-events: write
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: kubescape/github-action@main
13+
continue-on-error: true
14+
with:
15+
format: sarif
16+
outputFile: results
17+
files: "charts/*"
18+
- name: Upload Kubescape scan results to Github Code Scanning
19+
uses: github/codeql-action/upload-sarif@v2
20+
with:
21+
sarif_file: results.sarif

0 commit comments

Comments
 (0)