From 35d8630bf25a2b52e9ba4407becbb89aebec72b6 Mon Sep 17 00:00:00 2001 From: Elizabeth W Date: Sun, 19 Apr 2026 22:29:36 -0600 Subject: [PATCH] implement scan trufflehog --- helm/templates/scan-trufflehog.yaml | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 helm/templates/scan-trufflehog.yaml diff --git a/helm/templates/scan-trufflehog.yaml b/helm/templates/scan-trufflehog.yaml new file mode 100644 index 0000000..b173974 --- /dev/null +++ b/helm/templates/scan-trufflehog.yaml @@ -0,0 +1,30 @@ +{{- if .Values.pipeline.enabled }} +apiVersion: argoproj.io/v1alpha1 +kind: ClusterWorkflowTemplate +metadata: + name: amp-security-pipeline-v1.0.0 +spec: + templates: + - name: scan-trufflehog + metadata: + annotations: + secrets.infisical.com/auto-reload: "true" + initContainers: + - name: wait-for-infisical + image: alpine:3.20 + command: + - sh + - -c + args: + - until [ -n "${TRUFFLEHOG_TOKEN:-}" ]; do sleep 2; done + container: + image: alpine:3.20 + command: + - sh + - -c + args: + - mkdir -p /workspace/reports && echo "stub: trufflehog" > /workspace/reports/trufflehog.json + volumeMounts: + - name: workspace + mountPath: /workspace +{{- end }}