Skip to content

Commit 9be7656

Browse files
authored
Merge pull request #13984 from rhmdnd/CMP-3540-add-new-openshift-cpes
CMP-3540: Add new OpenShift CPEs
2 parents 44520b8 + f25f342 commit 9be7656

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed

products/ocp4/product.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,36 @@ cpes:
102102
title: "Red Hat OpenShift Container Platform 4.18"
103103
check_id: installed_app_is_ocp4_18
104104

105+
- ocp4.19:
106+
name: "cpe:/a:redhat:openshift_container_platform:4.19"
107+
title: "Red Hat OpenShift Container Platform 4.19"
108+
check_id: installed_app_is_ocp4_19
109+
110+
- ocp4.20:
111+
name: "cpe:/a:redhat:openshift_container_platform:4.20"
112+
title: "Red Hat OpenShift Container Platform 4.20"
113+
check_id: installed_app_is_ocp4_20
114+
115+
- ocp4.21:
116+
name: "cpe:/a:redhat:openshift_container_platform:4.21"
117+
title: "Red Hat OpenShift Container Platform 4.21"
118+
check_id: installed_app_is_ocp4_21
119+
120+
- ocp4.22:
121+
name: "cpe:/a:redhat:openshift_container_platform:4.22"
122+
title: "Red Hat OpenShift Container Platform 4.22"
123+
check_id: installed_app_is_ocp4_22
124+
125+
- ocp4.23:
126+
name: "cpe:/a:redhat:openshift_container_platform:4.23"
127+
title: "Red Hat OpenShift Container Platform 4.23"
128+
check_id: installed_app_is_ocp4_23
129+
130+
- ocp4.24:
131+
name: "cpe:/a:redhat:openshift_container_platform:4.24"
132+
title: "Red Hat OpenShift Container Platform 4.24"
133+
check_id: installed_app_is_ocp4_24
134+
105135
- ocp4-on-aws:
106136
name: "cpe:/a:redhat:openshift_container_platform_on_aws:4"
107137
title: "Red Hat OpenShift Container Platform 4 on AWS"

shared/applicability/oval/installed_app_is_ocp4.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
</ind:value>
102102
</ind:yamlfilecontent_state>
103103

104-
{{% for minorversion in range(6, 19) %}}
104+
{{% for minorversion in range(6, 25) %}}
105105
<!-- Check for OpenShift Container Platform 4.{{{ minorversion }}} -->
106106
<definition class="inventory" id="installed_app_is_ocp4_{{{ minorversion }}}" version="1">
107107
<metadata>

tests/data/product_stability/ocp4.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,30 @@ cpes:
8888
check_id: installed_app_is_ocp4_18
8989
name: cpe:/a:redhat:openshift_container_platform:4.18
9090
title: Red Hat OpenShift Container Platform 4.18
91+
- ocp4.19:
92+
check_id: installed_app_is_ocp4_19
93+
name: cpe:/a:redhat:openshift_container_platform:4.19
94+
title: Red Hat OpenShift Container Platform 4.19
95+
- ocp4.20:
96+
check_id: installed_app_is_ocp4_20
97+
name: cpe:/a:redhat:openshift_container_platform:4.20
98+
title: Red Hat OpenShift Container Platform 4.20
99+
- ocp4.21:
100+
check_id: installed_app_is_ocp4_21
101+
name: cpe:/a:redhat:openshift_container_platform:4.21
102+
title: Red Hat OpenShift Container Platform 4.21
103+
- ocp4.22:
104+
check_id: installed_app_is_ocp4_22
105+
name: cpe:/a:redhat:openshift_container_platform:4.22
106+
title: Red Hat OpenShift Container Platform 4.22
107+
- ocp4.23:
108+
check_id: installed_app_is_ocp4_23
109+
name: cpe:/a:redhat:openshift_container_platform:4.23
110+
title: Red Hat OpenShift Container Platform 4.23
111+
- ocp4.24:
112+
check_id: installed_app_is_ocp4_24
113+
name: cpe:/a:redhat:openshift_container_platform:4.24
114+
title: Red Hat OpenShift Container Platform 4.24
91115
- ocp4-on-aws:
92116
check_id: installed_app_is_ocp4_on_aws
93117
name: cpe:/a:redhat:openshift_container_platform_on_aws:4

0 commit comments

Comments
 (0)