rename componenets

This commit is contained in:
Elizabeth W
2026-04-20 01:23:13 -06:00
parent 7587c285e7
commit 251070dd77
10 changed files with 104 additions and 59 deletions
+22
View File
@@ -0,0 +1,22 @@
{{- define "template.scan-kics" }}
- name: scan-kics
container:
image: checkmarx/kics:1.7.14
command:
- sh
- -c
args:
- |
set -eu
mkdir -p /workspace/reports
kics scan -p /workspace -o /workspace/reports --report-formats sarif,json --output-name kics || true
if [ -f /workspace/reports/kics.sarif ]; then
exit 0
fi
if [ -f /workspace/reports/kics.json ]; then
cp /workspace/reports/kics.json /workspace/reports/kics.sarif
fi
volumeMounts:
- name: workspace
mountPath: /workspace
{{- end }}