From b682e12f06faacac0b4c5e9f83ec553d8fad7684 Mon Sep 17 00:00:00 2001 From: Chuck Atkins Date: Fri, 11 Oct 2019 10:42:08 -0400 Subject: [PATCH] Remove overly restrictive FIPS checks Whether or not a package is configured to use FIPS approved crypto algorithms and hashes or fips-related packages are installed is orthogonal to whether or not the installed operating system is FIPS certified. This removes the OS certification test from the configuration checks for individual components. Whether or not the OS is FIPS certified still remains a stand alone rule by itself and should continue to be used in environments where necessary. --- .../sshd_use_approved_ciphers/oval/shared.xml | 33 ++++++------ .../sshd_use_approved_macs/oval/shared.xml | 53 +++++++++---------- .../fips/enable_fips_mode/oval/shared.xml | 1 - .../grub2_enable_fips_mode/oval/shared.xml | 1 - .../oval/shared.xml | 7 +-- .../oval/shared.xml | 7 +-- .../aide/aide_use_fips_hashes/oval/shared.xml | 1 - 7 files changed, 44 insertions(+), 59 deletions(-) diff --git a/linux_os/guide/services/ssh/ssh_server/sshd_use_approved_ciphers/oval/shared.xml b/linux_os/guide/services/ssh/ssh_server/sshd_use_approved_ciphers/oval/shared.xml index 84c3c8aa4899..885c95bdc30b 100644 --- a/linux_os/guide/services/ssh/ssh_server/sshd_use_approved_ciphers/oval/shared.xml +++ b/linux_os/guide/services/ssh/ssh_server/sshd_use_approved_ciphers/oval/shared.xml @@ -11,24 +11,21 @@ Limit the ciphers to those which are FIPS-approved. - - - - - - - - - - - - + + + + + + + + + diff --git a/linux_os/guide/services/ssh/ssh_server/sshd_use_approved_macs/oval/shared.xml b/linux_os/guide/services/ssh/ssh_server/sshd_use_approved_macs/oval/shared.xml index 52ac0eb5ad56..bff9da9e78f8 100644 --- a/linux_os/guide/services/ssh/ssh_server/sshd_use_approved_macs/oval/shared.xml +++ b/linux_os/guide/services/ssh/ssh_server/sshd_use_approved_macs/oval/shared.xml @@ -12,34 +12,31 @@ Limit the Message Authentication Codes (MACs) to those which are FIPS-approved. - - - - - - {{% if product in ['opensuse', 'sle11', 'sle12'] %}} - - {{% else %}} - - {{% endif %}} - - - - {{% if product in ['opensuse', 'sle11', 'sle12'] %}} - - {{% else %}} - - {{% endif %}} - - + + + + {{% if product in ['opensuse', 'sle11', 'sle12'] %}} + + {{% else %}} + + {{% endif %}} + + + + {{% if product in ['opensuse', 'sle11', 'sle12'] %}} + + {{% else %}} + + {{% endif %}} + diff --git a/linux_os/guide/system/software/integrity/fips/enable_fips_mode/oval/shared.xml b/linux_os/guide/system/software/integrity/fips/enable_fips_mode/oval/shared.xml index ef8963a03cda..cbe31efd9ed7 100644 --- a/linux_os/guide/system/software/integrity/fips/enable_fips_mode/oval/shared.xml +++ b/linux_os/guide/system/software/integrity/fips/enable_fips_mode/oval/shared.xml @@ -14,7 +14,6 @@ - diff --git a/linux_os/guide/system/software/integrity/fips/grub2_enable_fips_mode/oval/shared.xml b/linux_os/guide/system/software/integrity/fips/grub2_enable_fips_mode/oval/shared.xml index 37a0e3e8be82..2456f875c30b 100644 --- a/linux_os/guide/system/software/integrity/fips/grub2_enable_fips_mode/oval/shared.xml +++ b/linux_os/guide/system/software/integrity/fips/grub2_enable_fips_mode/oval/shared.xml @@ -11,7 +11,6 @@ Look for argument fips=1 in the kernel line in /etc/default/grub. - diff --git a/linux_os/guide/system/software/integrity/fips/package_dracut-fips-aesni_installed/oval/shared.xml b/linux_os/guide/system/software/integrity/fips/package_dracut-fips-aesni_installed/oval/shared.xml index dbe1e130f772..7a5639d931e0 100644 --- a/linux_os/guide/system/software/integrity/fips/package_dracut-fips-aesni_installed/oval/shared.xml +++ b/linux_os/guide/system/software/integrity/fips/package_dracut-fips-aesni_installed/oval/shared.xml @@ -16,11 +16,8 @@ - - - - + diff --git a/linux_os/guide/system/software/integrity/fips/package_dracut-fips_installed/oval/shared.xml b/linux_os/guide/system/software/integrity/fips/package_dracut-fips_installed/oval/shared.xml index 43c2560a35ab..051a7a0f57d6 100644 --- a/linux_os/guide/system/software/integrity/fips/package_dracut-fips_installed/oval/shared.xml +++ b/linux_os/guide/system/software/integrity/fips/package_dracut-fips_installed/oval/shared.xml @@ -14,11 +14,8 @@ The RPM package dracut-fips should be installed. - - - - + -