Skip to content

Commit 6e02c99

Browse files
authored
Merge pull request #12347 from marcusburghardt/pcidss_rhel10
Review PCI-DSS requirements and rules for RHEL 10
2 parents 77e614a + 136edc4 commit 6e02c99

File tree

4 files changed

+33
-27
lines changed

4 files changed

+33
-27
lines changed

controls/pcidss_4.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,6 +2047,7 @@ controls:
20472047
status: automated
20482048
rules:
20492049
- enable_authselect
2050+
- var_authselect_profile=sssd
20502051
- accounts_passwords_pam_faillock_deny
20512052
- var_accounts_passwords_pam_faillock_deny=10
20522053
- accounts_passwords_pam_faillock_unlock_time

products/rhel10/profiles/pci-dss.profile

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -24,49 +24,52 @@ description: |-
2424

2525
selections:
2626
- pcidss_4:all
27-
# audit-audispd-plugins package does not exist in RHEL 10 (based on RHEL 9)
28-
# use only package_audispd-plugins_installed
29-
- '!package_audit-audispd-plugins_installed'
27+
- var_password_hashing_algorithm=yescrypt
28+
- var_password_hashing_algorithm_pam=yescrypt
29+
3030
# More tests are needed to identify which rule is conflicting with rpm_verify_permissions.
3131
# https://github.com/ComplianceAsCode/content/issues/11285
3232
- '!rpm_verify_permissions'
33+
3334
# these rules do not apply to RHEL 10
3435
- '!package_audit-audispd-plugins_installed'
35-
- '!service_ntp_enabled'
36-
- '!ntpd_specify_remote_server'
37-
- '!ntpd_specify_multiple_servers'
38-
- '!set_ipv6_loopback_traffic'
39-
- '!set_loopback_traffic'
40-
- '!service_ntpd_enabled'
4136
- '!package_ypserv_removed'
4237
- '!package_ypbind_removed'
4338
- '!package_talk_removed'
4439
- '!package_talk-server_removed'
4540
- '!package_xinetd_removed'
4641
- '!package_rsh_removed'
4742
- '!package_rsh-server_removed'
48-
# Following are incompatible with the rhel10 product (based on RHEL9)
49-
- '!service_chronyd_or_ntpd_enabled'
43+
44+
- '!service_ntp_enabled'
45+
- '!service_ntpd_enabled'
46+
- '!service_timesyncd_enabled'
47+
- '!ntpd_specify_remote_server'
48+
- '!ntpd_specify_multiple_servers'
49+
50+
- '!accounts_passwords_pam_tally2'
51+
- '!accounts_passwords_pam_tally2_unlock_time'
52+
- '!cracklib_accounts_password_pam_dcredit'
53+
- '!cracklib_accounts_password_pam_lcredit'
54+
- '!cracklib_accounts_password_pam_minlen'
55+
- '!cracklib_accounts_password_pam_retry'
56+
- '!ensure_firewall_rules_for_open_ports'
57+
- '!ensure_shadow_group_empty'
58+
- '!ensure_suse_gpgkey_installed'
5059
- '!install_PAE_kernel_on_x86-32'
5160
- '!mask_nonessential_services'
52-
- '!aide_periodic_checking_systemd_timer'
5361
- '!nftables_ensure_default_deny_policy'
54-
- '!cracklib_accounts_password_pam_lcredit'
55-
- '!file_owner_at_allow'
56-
- '!ensure_firewall_rules_for_open_ports'
57-
- '!cracklib_accounts_password_pam_retry'
58-
- '!gnome_gdm_disable_guest_login'
62+
- '!set_ipv6_loopback_traffic'
63+
- '!set_ip6tables_default_rule'
64+
- '!set_loopback_traffic'
65+
- '!set_password_hashing_algorithm_commonauth'
66+
67+
# Following are incompatible with the rhel10 product (based on RHEL9)
68+
- '!service_chronyd_or_ntpd_enabled'
69+
- '!aide_periodic_checking_systemd_timer'
70+
- '!gnome_gdm_disable_unattended_automatic_login'
71+
- '!permissions_local_var_log'
5972
- '!sshd_use_strong_kex'
6073
- '!sshd_use_approved_macs'
61-
- '!permissions_local_var_log'
6274
- '!sshd_use_approved_ciphers'
63-
- '!accounts_passwords_pam_tally2'
64-
- '!ensure_suse_gpgkey_installed'
65-
- '!gnome_gdm_disable_unattended_automatic_login'
66-
- '!accounts_passwords_pam_tally2_unlock_time'
67-
- '!cracklib_accounts_password_pam_minlen'
68-
- '!set_password_hashing_algorithm_commonauth'
69-
- '!cracklib_accounts_password_pam_dcredit'
70-
- '!ensure_shadow_group_empty'
71-
- '!service_timesyncd_enabled'
7275
- '!security_patches_up_to_date'

tests/data/profile_stability/rhel8/pci-dss.profile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ selections:
289289
- var_password_pam_dcredit=1
290290
- var_password_pam_lcredit=1
291291
- var_password_pam_minlen=12
292+
- var_authselect_profile=sssd
292293
- var_accounts_passwords_pam_faillock_deny=10
293294
- var_accounts_passwords_pam_faillock_unlock_time=1800
294295
- var_password_pam_tally2=10

tests/data/profile_stability/rhel9/pci-dss.profile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ selections:
281281
- var_password_pam_dcredit=1
282282
- var_password_pam_lcredit=1
283283
- var_password_pam_minlen=12
284+
- var_authselect_profile=sssd
284285
- var_accounts_passwords_pam_faillock_deny=10
285286
- var_accounts_passwords_pam_faillock_unlock_time=1800
286287
- var_password_pam_tally2=10

0 commit comments

Comments
 (0)