>From 2bf2b26d9dad12d1647699fec12362cdf8a4b509 Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Fri, 29 Mar 2013 20:04:46 -0400 Subject: [PATCH 16/21] Renamed OVAL in set_selinux_policy to match XCCDF rule name Renamed OVAL in set_selinux_policy to match XCCDF rule name --- RHEL6/input/checks/selinux_policytype.xml | 41 ----------------------------- RHEL6/input/checks/set_selinux_policy.xml | 41 +++++++++++++++++++++++++++++ RHEL6/input/system/selinux.xml | 2 +- 3 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 RHEL6/input/checks/selinux_policytype.xml create mode 100644 RHEL6/input/checks/set_selinux_policy.xml diff --git a/RHEL6/input/checks/selinux_policytype.xml b/RHEL6/input/checks/selinux_policytype.xml deleted file mode 100644 index 43f7e3f..0000000 --- a/RHEL6/input/checks/selinux_policytype.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - Enable SELinux - - Red Hat Enterprise Linux 6 - - The SELinux policy should be set - appropriately. - - - - - - - - - - - - - - - - - - - /etc/selinux - config - ^[\s]*SELINUXTYPE[\s]*=[\s]*([^#\s]*) - 1 - - diff --git a/RHEL6/input/checks/set_selinux_policy.xml b/RHEL6/input/checks/set_selinux_policy.xml new file mode 100644 index 0000000..43f7e3f --- /dev/null +++ b/RHEL6/input/checks/set_selinux_policy.xml @@ -0,0 +1,41 @@ + + + + Enable SELinux + + Red Hat Enterprise Linux 6 + + The SELinux policy should be set + appropriately. + + + + + + + + + + + + + + + + + + + /etc/selinux + config + ^[\s]*SELINUXTYPE[\s]*=[\s]*([^#\s]*) + 1 + + diff --git a/RHEL6/input/system/selinux.xml b/RHEL6/input/system/selinux.xml index 6f519d4..bd9177f 100644 --- a/RHEL6/input/system/selinux.xml +++ b/RHEL6/input/system/selinux.xml @@ -147,7 +147,7 @@ ensures the system will confine processes that are likely to be targeted for exploitation, such as network or system services. - + -- 1.7.1