From 0ce53f0e6ee7beb988a8a6af7df5e8aa121ff413 Mon Sep 17 00:00:00 2001 From: Miguel Ruiz Date: Mon, 16 Dec 2024 18:07:10 +0100 Subject: [PATCH] Add .vib/node-min Signed-off-by: Miguel Ruiz --- .vib/node-min/vib-verify.json | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .vib/node-min/vib-verify.json diff --git a/.vib/node-min/vib-verify.json b/.vib/node-min/vib-verify.json new file mode 100644 index 0000000000000..ed4f5cd241cab --- /dev/null +++ b/.vib/node-min/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": "LOW", + "vuln_type": [ + "OS" + ] + } + }, + { + "action_id": "grype", + "params": { + "threshold": "CRITICAL", + "package_type": [ + "OS" + ] + } + } + ] + } + } +}