[PATCH 2/5] [bugfix OVAL] updated mount_option_noexec_removable_partitions to reflect proper XCCDF variable

Shawn Wells shawn at redhat.com
Wed May 14 16:32:05 UTC 2014


XCCDF passing var_removable_partition, OVAL was looking for something different. Updated.

Signed-off-by: Shawn Wells <shawn at redhat.com>
---
 .../mount_option_noexec_removable_partitions.xml   |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/RHEL/6/input/checks/mount_option_noexec_removable_partitions.xml b/RHEL/6/input/checks/mount_option_noexec_removable_partitions.xml
index e0ac8c1..57e1ed0 100644
--- a/RHEL/6/input/checks/mount_option_noexec_removable_partitions.xml
+++ b/RHEL/6/input/checks/mount_option_noexec_removable_partitions.xml
@@ -33,13 +33,13 @@
     <ind:instance datatype="int" operation="not equal">0</ind:instance>
   </ind:textfilecontent54_object>
   <ind:textfilecontent54_state id="state_text_noexec_removable_partition" version="1">
-    <ind:subexpression datatype="string" var_ref="noexec_removable_partition" />
+    <ind:subexpression datatype="string" var_ref="var_removable_partition" />
   </ind:textfilecontent54_state>
   <linux:partition_object id="object_removable_partition_noexec" version="1">
-    <linux:mount_point var_ref="noexec_removable_partition" />
+    <linux:mount_point var_ref="var_removable_partition" />
   </linux:partition_object>
   <linux:partition_state id="state_noexec_removable_partition" version="1">
     <linux:mount_options datatype="string" entity_check="at least one" operation="equals">noexec</linux:mount_options>
   </linux:partition_state>
-  <external_variable comment="removable partition" datatype="string" id="noexec_removable_partition" version="1" />
+  <external_variable comment="removable partition" datatype="string" id="var_removable_partition" version="1" />
 </def-group>
-- 
1.7.1



More information about the scap-security-guide mailing list