Blob Blame History Raw
diff --git a/rhel7/cpe/rhel7-cpe-dictionary.xml b/rhel7/cpe/rhel7-cpe-dictionary.xml
index 50f8006c9..2a3915364 100644
--- a/rhel7/cpe/rhel7-cpe-dictionary.xml
+++ b/rhel7/cpe/rhel7-cpe-dictionary.xml
@@ -87,6 +87,10 @@
             <!-- the check references an OVAL file that contains an inventory definition -->
             <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="filename">installed_env_has_login_defs</check>
       </cpe-item>
+      <cpe-item name="cpe:/a:not_s390x_arch">
+            <title xml:lang="en-us">System architecture is not S390X</title>
+            <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="filename">proc_sys_kernel_osrelease_arch_not_s390x</check>
+      </cpe-item>
       <cpe-item name="cpe:/a:sssd">
             <title xml:lang="en-us">Package sssd-common is installed</title>
             <!-- the check references an OVAL file that contains an inventory definition -->
diff --git a/rhel8/cpe/rhel8-cpe-dictionary.xml b/rhel8/cpe/rhel8-cpe-dictionary.xml
index 3b9b4fc03..ce675614e 100644
--- a/rhel8/cpe/rhel8-cpe-dictionary.xml
+++ b/rhel8/cpe/rhel8-cpe-dictionary.xml
@@ -57,6 +57,10 @@
             <!-- the check references an OVAL file that contains an inventory definition -->
             <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="filename">installed_env_has_login_defs</check>
       </cpe-item>
+      <cpe-item name="cpe:/a:not_s390x_arch">
+            <title xml:lang="en-us">System architecture is not S390X</title>
+            <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="filename">proc_sys_kernel_osrelease_arch_not_s390x</check>
+      </cpe-item>
       <cpe-item name="cpe:/a:sssd">
             <title xml:lang="en-us">Package sssd-common is installed</title>
             <!-- the check references an OVAL file that contains an inventory definition -->
diff --git a/ssg/constants.py b/ssg/constants.py
index 6ba70982a..3054c3e55 100644
--- a/ssg/constants.py
+++ b/ssg/constants.py
@@ -451,6 +451,7 @@ XCCDF_PLATFORM_TO_CPE = {
     "yum": "cpe:/a:yum",
     "zipl": "cpe:/a:zipl",
     "net-snmp": "cpe:/a:net-snmp",
+    "not_s390x_arch": "cpe:/a:not_s390x_arch",
 }
 
 # Default platform to package mapping