Blame SOURCES/scap-security-guide-0.1.51-fix-rhel6-cpe-dictionary_PR_5928.patch

973b04
From c7d49a79cffdbfb2e1231077f665cbb940b50a98 Mon Sep 17 00:00:00 2001
973b04
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
973b04
Date: Mon, 13 Jul 2020 17:52:35 +0200
973b04
Subject: [PATCH] Fix SCAPVAL error SRC-15
973b04
973b04
The CPE `cpe:/a:grub2` is used in `xccdf-1.2:platform` element
973b04
in group `bootloader-grub2`, but this CPE isn't defined in the
973b04
RHEL 6 CPE dictionary. All used CPEs should be defined in the
973b04
dictionary.
973b04
---
973b04
 rhel6/cpe/rhel6-cpe-dictionary.xml | 5 +++++
973b04
 1 file changed, 5 insertions(+)
973b04
973b04
diff --git a/rhel6/cpe/rhel6-cpe-dictionary.xml b/rhel6/cpe/rhel6-cpe-dictionary.xml
973b04
index bca8986f7a..1b696b88d3 100644
973b04
--- a/rhel6/cpe/rhel6-cpe-dictionary.xml
973b04
+++ b/rhel6/cpe/rhel6-cpe-dictionary.xml
973b04
@@ -47,6 +47,11 @@
973b04
             
973b04
             <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="filename">installed_env_has_gdm_package</check>
973b04
       </cpe-item>
973b04
+      <cpe-item name="cpe:/a:grub2">
973b04
+            <title xml:lang="en-us">Package grub2 is installed</title>
973b04
+            
973b04
+            <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="filename">installed_env_has_grub2_package</check>
973b04
+      </cpe-item>
973b04
       <cpe-item name="cpe:/a:libuser">
973b04
             <title xml:lang="en-us">Package libuser is installed</title>
973b04