Blame SOURCES/scap-security-guide-0.1.61-rhel8_stig_v1r5-PR_8050.patch

0c1482
commit 0c97a68f7be1bfa5834fa6c68eeb7fcc9fbc00ef
0c1482
Author: Gabriel Becker <ggasparb@redhat.com>
0c1482
Date:   Thu Feb 17 12:15:36 2022 +0100
0c1482
0c1482
    Custom patch for RHEL7.9 PR 8050.
0c1482
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/bash/shared.sh b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/bash/shared.sh
0c1482
new file mode 100644
0c1482
index 0000000..1c151a1
0c1482
--- /dev/null
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/bash/shared.sh
0c1482
@@ -0,0 +1,5 @@
0c1482
+# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_rhv
0c1482
+
0c1482
+if ! grep -q "^password.*sufficient.*pam_unix.so.*sha512" "/etc/pam.d/password-auth"; then
0c1482
+	sed -i --follow-symlinks "/^password.*sufficient.*pam_unix.so/ s/$/ sha512/" "/etc/pam.d/password-auth"
0c1482
+fi
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/oval/shared.xml b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/oval/shared.xml
0c1482
new file mode 100644
0c1482
index 0000000..24fdbe4
0c1482
--- /dev/null
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/oval/shared.xml
0c1482
@@ -0,0 +1,19 @@
0c1482
+<def-group>
0c1482
+  <definition class="compliance" id="set_password_hashing_algorithm_passwordauth" version="1">
0c1482
+    {{{ oval_metadata("The password hashing algorithm should be set correctly in /etc/pam.d/password-auth.") }}}
0c1482
+    <criteria operator="AND">
0c1482
+      <criterion test_ref="test_pam_unix_passwordauth_sha512" />
0c1482
+    </criteria>
0c1482
+  </definition>
0c1482
+
0c1482
+  <ind:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="check /etc/pam.d/password-auth for correct settings" id="test_pam_unix_passwordauth_sha512" version="1">
0c1482
+    <ind:object object_ref="object_pam_unix_passwordauth_sha512" />
0c1482
+  </ind:textfilecontent54_test>
0c1482
+
0c1482
+  <ind:textfilecontent54_object comment="check /etc/pam.d/password-auth for correct settings" id="object_pam_unix_passwordauth_sha512" version="1">
0c1482
+      <ind:filepath>/etc/pam.d/password-auth</ind:filepath>
0c1482
+      <ind:pattern operation="pattern match">^[\s]*password[\s]+(?:(?:required)|(?:sufficient))[\s]+pam_unix\.so[\s]+.*sha512.*$</ind:pattern>
0c1482
+    <ind:instance datatype="int">1</ind:instance>
0c1482
+  </ind:textfilecontent54_object>
0c1482
+
0c1482
+</def-group>
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/rule.yml b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/rule.yml
0c1482
new file mode 100644
0c1482
index 0000000..9375269
0c1482
--- /dev/null
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/rule.yml
0c1482
@@ -0,0 +1,72 @@
0c1482
+documentation_complete: true
0c1482
+
0c1482
+prodtype: fedora,rhel7,rhel8,rhel9,rhv4
0c1482
+
0c1482
+title: "Set PAM's Password Hashing Algorithm - password-auth"
0c1482
+
0c1482
+description: |-
0c1482
+    The PAM system service can be configured to only store encrypted
0c1482
+    representations of passwords. In
0c1482
+    <tt>/etc/pam.d/password-auth</tt>,
0c1482
+    the
0c1482
+    <tt>password</tt> section of the file controls which PAM modules execute
0c1482
+    during a password change. Set the <tt>pam_unix.so</tt> module in the
0c1482
+    <tt>password</tt> section to include the argument <tt>sha512</tt>, as shown
0c1482
+    below:
0c1482
+    
0c1482
+    
password    sufficient    pam_unix.so sha512 other arguments...
0c1482
+    
0c1482
+    This will help ensure when local users change their passwords, hashes for
0c1482
+    the new passwords will be generated using the SHA-512 algorithm. This is
0c1482
+    the default.
0c1482
+
0c1482
+rationale: |-
0c1482
+    Passwords need to be protected at all times, and encryption is the standard
0c1482
+    method for protecting passwords. If passwords are not encrypted, they can
0c1482
+    be plainly read (i.e., clear text) and easily compromised. Passwords that
0c1482
+    are encrypted with a weak algorithm are no more protected than if they are
0c1482
+    kepy in plain text.
0c1482
+    

0c1482
+    This setting ensures user and group account administration utilities are
0c1482
+    configured to store only encrypted representations of passwords.
0c1482
+    Additionally, the <tt>crypt_style</tt> configuration option ensures the use
0c1482
+    of a strong hashing algorithm that makes password cracking attacks more
0c1482
+    difficult.
0c1482
+
0c1482
+severity: medium
0c1482
+
0c1482
+identifiers:
0c1482
+    cce@rhel7: CCE-85943-9
0c1482
+    cce@rhel8: CCE-85945-4
0c1482
+    cce@rhel9: CCE-85946-2
0c1482
+
0c1482
+references:
0c1482
+    anssi: BP28(R32)
0c1482
+    cis-csc: 1,12,15,16,5
0c1482
+    cis@rhel7: 5.4.3
0c1482
+    cis@rhel8: 5.4.4
0c1482
+    cjis: 5.6.2.2
0c1482
+    cobit5: DSS05.04,DSS05.05,DSS05.07,DSS05.10,DSS06.03,DSS06.10
0c1482
+    cui: 3.13.11
0c1482
+    disa: CCI-000196
0c1482
+    isa-62443-2009: 4.3.3.2.2,4.3.3.5.1,4.3.3.5.2,4.3.3.6.1,4.3.3.6.2,4.3.3.6.3,4.3.3.6.4,4.3.3.6.5,4.3.3.6.6,4.3.3.6.7,4.3.3.6.8,4.3.3.6.9,4.3.3.7.2,4.3.3.7.4
0c1482
+    isa-62443-2013: 'SR 1.1,SR 1.10,SR 1.2,SR 1.3,SR 1.4,SR 1.5,SR 1.7,SR 1.8,SR 1.9,SR 2.1'
0c1482
+    ism: 0418,1055,1402
0c1482
+    iso27001-2013: A.18.1.4,A.7.1.1,A.9.2.1,A.9.2.2,A.9.2.3,A.9.2.4,A.9.2.6,A.9.3.1,A.9.4.2,A.9.4.3
0c1482
+    nist: IA-5(c),IA-5(1)(c),CM-6(a)
0c1482
+    nist-csf: PR.AC-1,PR.AC-6,PR.AC-7
0c1482
+    pcidss: Req-8.2.1
0c1482
+    srg: SRG-OS-000073-GPOS-00041
0c1482
+    stigid@rhel7: RHEL-07-010200
0c1482
+    stigid@rhel8: RHEL-08-010160
0c1482
+    vmmsrg: SRG-OS-000480-VMM-002000
0c1482
+
0c1482
+ocil_clause: 'it does not'
0c1482
+
0c1482
+ocil: |-
0c1482
+    Inspect the <tt>password</tt> section of <tt>/etc/pam.d/password-auth</tt>
0c1482
+    and ensure that the <tt>pam_unix.so</tt> module includes the argument
0c1482
+    <tt>sha512</tt>:
0c1482
+    
$ grep sha512 /etc/pam.d/password-auth
0c1482
+
0c1482
+platform: pam
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/tests/correct.pass.sh b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/tests/correct.pass.sh
0c1482
new file mode 100644
0c1482
index 0000000..a924fe5
0c1482
--- /dev/null
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/tests/correct.pass.sh
0c1482
@@ -0,0 +1,5 @@
0c1482
+#!/bin/bash
0c1482
+
0c1482
+if ! grep -q "^password.*sufficient.*pam_unix.so.*sha512" "/etc/pam.d/password-auth"; then
0c1482
+	sed -i --follow-symlinks "/^password.*sufficient.*pam_unix.so/ s/$/ sha512/" "/etc/pam.d/password-auth"
0c1482
+fi
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/tests/missing.fail.sh b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/tests/missing.fail.sh
0c1482
new file mode 100644
0c1482
index 0000000..68e925a
0c1482
--- /dev/null
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_passwordauth/tests/missing.fail.sh
0c1482
@@ -0,0 +1,3 @@
0c1482
+#!/bin/bash
0c1482
+
0c1482
+sed -i --follow-symlinks "/^password.*sufficient.*pam_unix.so/ s/sha512//g" "/etc/pam.d/password-auth"
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/bash/shared.sh b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/bash/shared.sh
0c1482
index 02af406..e7503fe 100644
0c1482
--- a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/bash/shared.sh
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/bash/shared.sh
0c1482
@@ -1,7 +1,9 @@
0c1482
 # platform = multi_platform_wrlinux,multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv
0c1482
 
0c1482
 AUTH_FILES[0]="/etc/pam.d/system-auth"
0c1482
+{{%- if product == "rhel7" %}}
0c1482
 AUTH_FILES[1]="/etc/pam.d/password-auth"
0c1482
+{{%- endif %}}
0c1482
 
0c1482
 for pamFile in "${AUTH_FILES[@]}"
0c1482
 do
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/oval/shared.xml b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/oval/shared.xml
0c1482
index d76b6f8..a754a84 100644
0c1482
--- a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/oval/shared.xml
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/oval/shared.xml
0c1482
@@ -3,6 +3,9 @@
0c1482
     {{{ oval_metadata("The password hashing algorithm should be set correctly in /etc/pam.d/system-auth.") }}}
0c1482
     <criteria operator="AND">
0c1482
       <criterion test_ref="test_pam_unix_sha512" />
0c1482
+      {{%- if product == "rhel7" %}}
0c1482
+      <extend_definition comment="check /etc/pam.d/password-auth for correct settings" definition_ref="set_password_hashing_algorithm_passwordauth" />
0c1482
+      {{%- endif %}}
0c1482
     </criteria>
0c1482
   </definition>
0c1482
 
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/rule.yml b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/rule.yml
0c1482
index 24ab30d..58fcea9 100644
0c1482
--- a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/rule.yml
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/rule.yml
0c1482
@@ -69,7 +69,7 @@ references:
0c1482
     srg: SRG-OS-000073-GPOS-00041
0c1482
     stigid@ol7: OL07-00-010200
0c1482
     stigid@rhel7: RHEL-07-010200
0c1482
-    stigid@rhel8: RHEL-08-010160
0c1482
+    stigid@rhel8: RHEL-08-010159
0c1482
     stigid@sle12: SLES-12-010230
0c1482
     stigid@sle15: SLES-15-020170
0c1482
     vmmsrg: SRG-OS-000480-VMM-002000
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/tests/correct.pass.sh b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/tests/correct.pass.sh
0c1482
index 7e48176..fb9feec 100644
0c1482
--- a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/tests/correct.pass.sh
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/tests/correct.pass.sh
0c1482
@@ -1,7 +1,9 @@
0c1482
 #!/bin/bash
0c1482
 
0c1482
 AUTH_FILES[0]="/etc/pam.d/system-auth"
0c1482
+{{%- if product == "rhel7" %}}
0c1482
 AUTH_FILES[1]="/etc/pam.d/password-auth"
0c1482
+{{%- endif %}}
0c1482
 
0c1482
 for pamFile in "${AUTH_FILES[@]}"
0c1482
 do
0c1482
diff --git a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/tests/missing.fail.sh b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/tests/missing.fail.sh
0c1482
index 09bb82d..2f35381 100644
0c1482
--- a/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/tests/missing.fail.sh
0c1482
+++ b/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_systemauth/tests/missing.fail.sh
0c1482
@@ -1,7 +1,9 @@
0c1482
 #!/bin/bash
0c1482
 
0c1482
 AUTH_FILES[0]="/etc/pam.d/system-auth"
0c1482
+{{%- if product == "rhel7" %}}
0c1482
 AUTH_FILES[1]="/etc/pam.d/password-auth"
0c1482
+{{%- endif %}}
0c1482
 
0c1482
 for pamFile in "${AUTH_FILES[@]}"
0c1482
 do
0c1482
diff --git a/products/rhel8/profiles/pci-dss.profile b/products/rhel8/profiles/pci-dss.profile
0c1482
index fed3364..2449b8a 100644
0c1482
--- a/products/rhel8/profiles/pci-dss.profile
0c1482
+++ b/products/rhel8/profiles/pci-dss.profile
0c1482
@@ -126,6 +126,7 @@ selections:
0c1482
     - service_pcscd_enabled
0c1482
     - sssd_enable_smartcards
0c1482
     - set_password_hashing_algorithm_systemauth
0c1482
+    - set_password_hashing_algorithm_passwordauth
0c1482
     - set_password_hashing_algorithm_logindefs
0c1482
     - set_password_hashing_algorithm_libuserconf
0c1482
     - file_owner_etc_shadow
0c1482
diff --git a/products/rhel8/profiles/rht-ccp.profile b/products/rhel8/profiles/rht-ccp.profile
0c1482
index d76bb38..1045be3 100644
0c1482
--- a/products/rhel8/profiles/rht-ccp.profile
0c1482
+++ b/products/rhel8/profiles/rht-ccp.profile
0c1482
@@ -54,6 +54,7 @@ selections:
0c1482
     - accounts_password_pam_difok
0c1482
     - accounts_passwords_pam_faillock_deny
0c1482
     - set_password_hashing_algorithm_systemauth
0c1482
+    - set_password_hashing_algorithm_passwordauth
0c1482
     - set_password_hashing_algorithm_logindefs
0c1482
     - set_password_hashing_algorithm_libuserconf
0c1482
     - require_singleuser_auth
0c1482
diff --git a/products/rhel8/profiles/stig.profile b/products/rhel8/profiles/stig.profile
0c1482
index 7473865..6eb08da 100644
0c1482
--- a/products/rhel8/profiles/stig.profile
0c1482
+++ b/products/rhel8/profiles/stig.profile
0c1482
@@ -146,6 +146,9 @@ selections:
0c1482
     # RHEL-08-010152
0c1482
     - require_emergency_target_auth
0c1482
 
0c1482
+    # RHEL-08-010159
0c1482
+    - set_password_hashing_algorithm_passwordauth
0c1482
+
0c1482
     # RHEL-08-010160
0c1482
     - set_password_hashing_algorithm_systemauth
0c1482
 
0c1482
diff --git a/products/rhel9/profiles/pci-dss.profile b/products/rhel9/profiles/pci-dss.profile
0c1482
index af34750..88f1518 100644
0c1482
--- a/products/rhel9/profiles/pci-dss.profile
0c1482
+++ b/products/rhel9/profiles/pci-dss.profile
0c1482
@@ -125,6 +125,7 @@ selections:
0c1482
 #    - service_pcscd_enabled  # not supported in RHEL9 ATM
0c1482
     - sssd_enable_smartcards
0c1482
     - set_password_hashing_algorithm_systemauth
0c1482
+    - set_password_hashing_algorithm_passwordauth
0c1482
     - set_password_hashing_algorithm_logindefs
0c1482
     - set_password_hashing_algorithm_libuserconf
0c1482
     - file_owner_etc_shadow
0c1482
diff --git a/products/rhel9/profiles/stig.profile b/products/rhel9/profiles/stig.profile
0c1482
index 8d60468..9d2cf4b 100644
0c1482
--- a/products/rhel9/profiles/stig.profile
0c1482
+++ b/products/rhel9/profiles/stig.profile
0c1482
@@ -128,6 +128,9 @@ selections:
0c1482
     # To be released in V1R3
0c1482
     # - require_emergency_target_auth
0c1482
 
0c1482
+    # RHEL-08-010159
0c1482
+    - set_password_hashing_algorithm_passwordauth
0c1482
+
0c1482
     # RHEL-08-010160
0c1482
     - set_password_hashing_algorithm_systemauth
0c1482
 
0c1482
diff --git a/products/rhv4/profiles/pci-dss.profile b/products/rhv4/profiles/pci-dss.profile
0c1482
index 90e196e..f1fb1f8 100644
0c1482
--- a/products/rhv4/profiles/pci-dss.profile
0c1482
+++ b/products/rhv4/profiles/pci-dss.profile
0c1482
@@ -115,6 +115,7 @@ selections:
0c1482
     - service_pcscd_enabled
0c1482
     - sssd_enable_smartcards
0c1482
     - set_password_hashing_algorithm_systemauth
0c1482
+    - set_password_hashing_algorithm_passwordauth
0c1482
     - set_password_hashing_algorithm_logindefs
0c1482
     - set_password_hashing_algorithm_libuserconf
0c1482
     - file_owner_etc_shadow
0c1482
diff --git a/products/rhv4/profiles/rhvh-stig.profile b/products/rhv4/profiles/rhvh-stig.profile
0c1482
index ef28fa1..d17833b 100644
0c1482
--- a/products/rhv4/profiles/rhvh-stig.profile
0c1482
+++ b/products/rhv4/profiles/rhvh-stig.profile
0c1482
@@ -355,6 +355,7 @@ selections:
0c1482
     - set_password_hashing_algorithm_libuserconf
0c1482
     - set_password_hashing_algorithm_logindefs
0c1482
     - set_password_hashing_algorithm_systemauth
0c1482
+    - set_password_hashing_algorithm_passwordauth
0c1482
     - package_opensc_installed
0c1482
     - var_smartcard_drivers=cac
0c1482
     - configure_opensc_card_drivers
0c1482
diff --git a/products/rhv4/profiles/rhvh-vpp.profile b/products/rhv4/profiles/rhvh-vpp.profile
0c1482
index 9be3e34..3b5802d 100644
0c1482
--- a/products/rhv4/profiles/rhvh-vpp.profile
0c1482
+++ b/products/rhv4/profiles/rhvh-vpp.profile
0c1482
@@ -200,6 +200,7 @@ selections:
0c1482
     - accounts_password_pam_unix_remember
0c1482
     - set_password_hashing_algorithm_logindefs
0c1482
     - set_password_hashing_algorithm_systemauth
0c1482
+    - set_password_hashing_algorithm_passwordauth
0c1482
     - set_password_hashing_algorithm_libuserconf
0c1482
     - no_empty_passwords
0c1482
 
0c1482
diff --git a/shared/references/cce-redhat-avail.txt b/shared/references/cce-redhat-avail.txt
0c1482
index 226fed8..97dfbe2 100644
0c1482
--- a/shared/references/cce-redhat-avail.txt
0c1482
+++ b/shared/references/cce-redhat-avail.txt
0c1482
@@ -69,9 +69,6 @@ CCE-85939-7
0c1482
 CCE-85940-5
0c1482
 CCE-85941-3
0c1482
 CCE-85942-1
0c1482
-CCE-85943-9
0c1482
-CCE-85945-4
0c1482
-CCE-85946-2
0c1482
 CCE-85947-0
0c1482
 CCE-85948-8
0c1482
 CCE-85949-6
0c1482
diff --git a/tests/data/profile_stability/rhel8/pci-dss.profile b/tests/data/profile_stability/rhel8/pci-dss.profile
0c1482
index f58bcf9..e235d49 100644
0c1482
--- a/tests/data/profile_stability/rhel8/pci-dss.profile
0c1482
+++ b/tests/data/profile_stability/rhel8/pci-dss.profile
0c1482
@@ -1,5 +1,9 @@
0c1482
+title: PCI-DSS v3.2.1 Control Baseline for Red Hat Enterprise Linux 8
0c1482
 description: Ensures PCI-DSS v3.2.1 security configuration settings are applied.
0c1482
-documentation_complete: true
0c1482
+extends: null
0c1482
+metadata:
0c1482
+    SMEs:
0c1482
+    - yuumasato
0c1482
 reference: https://www.pcisecuritystandards.org/documents/PCI_DSS_v3-2-1.pdf
0c1482
 selections:
0c1482
 - account_disable_post_pw_expiration
0c1482
@@ -120,6 +124,7 @@ selections:
0c1482
 - service_pcscd_enabled
0c1482
 - set_password_hashing_algorithm_libuserconf
0c1482
 - set_password_hashing_algorithm_logindefs
0c1482
+- set_password_hashing_algorithm_passwordauth
0c1482
 - set_password_hashing_algorithm_systemauth
0c1482
 - sshd_set_idle_timeout
0c1482
 - sshd_set_keepalive_0
0c1482
@@ -136,4 +141,8 @@ selections:
0c1482
 - var_multiple_time_servers=rhel
0c1482
 - var_sshd_set_keepalive=0
0c1482
 - var_smartcard_drivers=cac
0c1482
-title: PCI-DSS v3.2.1 Control Baseline for Red Hat Enterprise Linux 8
0c1482
+platforms: !!set {}
0c1482
+cpe_names: !!set {}
0c1482
+platform: null
0c1482
+filter_rules: ''
0c1482
+documentation_complete: true
0c1482
diff --git a/tests/data/profile_stability/rhel8/stig.profile b/tests/data/profile_stability/rhel8/stig.profile
0c1482
index 1e84dea..58699ee 100644
0c1482
--- a/tests/data/profile_stability/rhel8/stig.profile
0c1482
+++ b/tests/data/profile_stability/rhel8/stig.profile
0c1482
@@ -329,6 +329,7 @@ selections:
0c1482
 - service_systemd-coredump_disabled
0c1482
 - service_usbguard_enabled
0c1482
 - set_password_hashing_algorithm_logindefs
0c1482
+- set_password_hashing_algorithm_passwordauth
0c1482
 - set_password_hashing_algorithm_systemauth
0c1482
 - sshd_disable_compression
0c1482
 - sshd_disable_empty_passwords
0c1482
diff --git a/tests/data/profile_stability/rhel8/stig_gui.profile b/tests/data/profile_stability/rhel8/stig_gui.profile
0c1482
index 1c9cf55..f432444 100644
0c1482
--- a/tests/data/profile_stability/rhel8/stig_gui.profile
0c1482
+++ b/tests/data/profile_stability/rhel8/stig_gui.profile
0c1482
@@ -340,6 +340,7 @@ selections:
0c1482
 - service_systemd-coredump_disabled
0c1482
 - service_usbguard_enabled
0c1482
 - set_password_hashing_algorithm_logindefs
0c1482
+- set_password_hashing_algorithm_passwordauth
0c1482
 - set_password_hashing_algorithm_systemauth
0c1482
 - sshd_disable_compression
0c1482
 - sshd_disable_empty_passwords