Skip to content

Commit 5688294

Browse files
authored
Merge pull request #11 from data-platform-hq/sec_scan_integration
fix: added security KICS scan action
2 parents b366091 + 0f52cb3 commit 5688294

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/kics_sec_scan.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Run security KICS scaner
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
kics:
10+
name: Run security KICS scaner
11+
runs-on: "ubuntu-latest"
12+
13+
steps:
14+
- name: Checkout code repo
15+
uses: actions/checkout@v3
16+
17+
- name: Run security KICS scaner
18+
uses: checkmarx/kics-github-action@v1.7.0
19+
with:
20+
path: .
21+
output_path: myResults/
22+
output_formats: 'sarif'
23+
enable_comments: true
24+
enable_annotations: true
25+
ignore_on_exit: results
26+
27+
# TBD
28+
# - name: Upload SARIF file
29+
# uses: github/codeql-action/upload-sarif@v1
30+
# with:
31+
# sarif_file: myResults/results.sarif

0 commit comments

Comments
 (0)