From bc883db926fb61387ce8a3f61cd0852ee691ee75 Mon Sep 17 00:00:00 2001 From: shaneboulden Date: Wed, 22 Jan 2025 10:09:00 +1030 Subject: [PATCH] add support for build lifecycle and rhel7 --- policies/ubi-versions.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/policies/ubi-versions.json b/policies/ubi-versions.json index 5b9045f..b23e100 100755 --- a/policies/ubi-versions.json +++ b/policies/ubi-versions.json @@ -3,7 +3,7 @@ { "id": "53e1d1fb-bc1e-4ef3-98c3-8df0dd5679b8", "name": "UBI version compliance", - "description": "All images on the cluster using the Red Hat Universal Base Image (UBI) must use at least versions 8.5 or 9.3", + "description": "All images on the cluster using the Red Hat Universal Base Image (UBI) must use at least versions 8.5 or 9.3", "rationale": "Using an older UBI image potentially exposes the workload to additional vulnerabilities", "remediation": "Update the base image to at least UBI 8.5 or 9.3", "disabled": true, @@ -11,6 +11,7 @@ "Package Management" ], "lifecycleStages": [ + "BUILD", "DEPLOY" ], "eventSource": "NOT_APPLICABLE", @@ -66,7 +67,7 @@ "value": "redhat-release=9\\.[0-2]-[0-9]+(?:\\.[0-9]+)?\\.el9" }, { - "value": "redhat-release=[6-7].*" + "value": "redhat-release-server=7.*" } ] }