From bb211f625395a92432e16c7b502a915fb7fb6e35 Mon Sep 17 00:00:00 2001 From: Juan Ariza Toledano Date: Thu, 30 Nov 2023 16:40:16 +0100 Subject: [PATCH] feat: Add VIB configuration for sealed-secrets-kubeseal (#53314) --- .vib/sealed-secrets-kubeseal/vib-verify.json | 57 ++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .vib/sealed-secrets-kubeseal/vib-verify.json diff --git a/.vib/sealed-secrets-kubeseal/vib-verify.json b/.vib/sealed-secrets-kubeseal/vib-verify.json new file mode 100644 index 000000000000..82f78c1a2b77 --- /dev/null +++ b/.vib/sealed-secrets-kubeseal/vib-verify.json @@ -0,0 +1,57 @@ +{ + "context": { + "resources": { + "url": "{SHA_ARCHIVE}", + "path": "{VIB_ENV_PATH}" + } + }, + "phases": { + "package": { + "actions": [ + { + "action_id": "container-image-package", + "params": { + "application": { + "details": { + "name": "{VIB_ENV_CONTAINER}", + "tag": "{VIB_ENV_TAG}" + } + }, + "architectures": [ + "linux/amd64", + "linux/arm64" + ] + } + }, + { + "action_id": "container-image-lint", + "params": { + "threshold": "error" + } + } + ] + }, + "verify": { + "actions": [ + { + "action_id": "trivy", + "params": { + "threshold": "CRITICAL", + "vuln_type": [ + "OS" + ] + } + }, + { + "action_id": "grype", + "params": { + "threshold": "CRITICAL", + "package_type": [ + "OS" + ] + } + } + ] + } + } +}