From 7b92119ee1a5b5f8cd04bec234d42ffe1829e534 Mon Sep 17 00:00:00 2001 From: Ian Nara Date: Wed, 13 Nov 2024 09:32:15 -0700 Subject: [PATCH] test trivy severity through env --- actions/vulnerability_scan/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/vulnerability_scan/action.yaml b/actions/vulnerability_scan/action.yaml index ffb5e5d..4920a73 100644 --- a/actions/vulnerability_scan/action.yaml +++ b/actions/vulnerability_scan/action.yaml @@ -120,7 +120,7 @@ runs: format: 'table' exit-code: '1' ignore-unfixed: true - severity: HIGH,CRITICAL + severity: ${{ inputs.failure_severity }} hide-progress: true env: TRIVY_SKIP_DB_UPDATE: true