Skip to content

Commit bc883db

Browse files
committed
add support for build lifecycle and rhel7
1 parent a767327 commit bc883db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

policies/ubi-versions.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
{
44
"id": "53e1d1fb-bc1e-4ef3-98c3-8df0dd5679b8",
55
"name": "UBI version compliance",
6-
"description": "All images on the cluster using the Red Hat Universal Base Image (UBI) must use at least versions 8.5 or 9.3",
6+
"description": "All images on the cluster using the Red Hat Universal Base Image (UBI) must use at least versions 8.5 or 9.3",
77
"rationale": "Using an older UBI image potentially exposes the workload to additional vulnerabilities",
88
"remediation": "Update the base image to at least UBI 8.5 or 9.3",
99
"disabled": true,
1010
"categories": [
1111
"Package Management"
1212
],
1313
"lifecycleStages": [
14+
"BUILD",
1415
"DEPLOY"
1516
],
1617
"eventSource": "NOT_APPLICABLE",
@@ -66,7 +67,7 @@
6667
"value": "redhat-release=9\\.[0-2]-[0-9]+(?:\\.[0-9]+)?\\.el9"
6768
},
6869
{
69-
"value": "redhat-release=[6-7].*"
70+
"value": "redhat-release-server=7.*"
7071
}
7172
]
7273
}

0 commit comments

Comments
 (0)