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
+17
View File
@@ -0,0 +1,17 @@
{{- define "template.scan-syft-grype" }}
- name: scan-syft-grype
container:
image: anchore/syft:latest
command:
- sh
- -c
args:
- |
set -eu
mkdir -p /workspace/reports
syft scan dir:/workspace -o cyclonedx-json=/workspace/reports/sbom.json || true
grype sbom:/workspace/reports/sbom.json -o sarif=/workspace/reports/grype.sarif || true
volumeMounts:
- name: workspace
mountPath: /workspace
{{- end }}