30 lines
1.5 KiB
Diff
30 lines
1.5 KiB
Diff
From c7d49a79cffdbfb2e1231077f665cbb940b50a98 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
|
Date: Mon, 13 Jul 2020 17:52:35 +0200
|
|
Subject: [PATCH] Fix SCAPVAL error SRC-15
|
|
|
|
The CPE `cpe:/a:grub2` is used in `xccdf-1.2:platform` element
|
|
in group `bootloader-grub2`, but this CPE isn't defined in the
|
|
RHEL 6 CPE dictionary. All used CPEs should be defined in the
|
|
dictionary.
|
|
---
|
|
rhel6/cpe/rhel6-cpe-dictionary.xml | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/rhel6/cpe/rhel6-cpe-dictionary.xml b/rhel6/cpe/rhel6-cpe-dictionary.xml
|
|
index bca8986f7a..1b696b88d3 100644
|
|
--- a/rhel6/cpe/rhel6-cpe-dictionary.xml
|
|
+++ b/rhel6/cpe/rhel6-cpe-dictionary.xml
|
|
@@ -47,6 +47,11 @@
|
|
<!-- 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_gdm_package</check>
|
|
</cpe-item>
|
|
+ <cpe-item name="cpe:/a:grub2">
|
|
+ <title xml:lang="en-us">Package grub2 is installed</title>
|
|
+ <!-- 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_grub2_package</check>
|
|
+ </cpe-item>
|
|
<cpe-item name="cpe:/a:libuser">
|
|
<title xml:lang="en-us">Package libuser is installed</title>
|
|
<!-- the check references an OVAL file that contains an inventory definition -->
|