Skip to content

Commit

Permalink
Merge pull request #10527 from rumch-se/drop_pam_rules_from_sle
Browse files Browse the repository at this point in the history
Drop of unsupported rules from SLE 12/15 profiles
  • Loading branch information
teacup-on-rockingchair authored May 14, 2023
2 parents c7f1475 + 21adb5b commit 1e0a6c4
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv,multi_platform_sle
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv
# reboot = false
# strategy = restrict
# complexity = low
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: fedora,ol7,ol8,ol9,rhel7,rhel8,rhel9,rhv4,sle15,ubuntu2204
prodtype: fedora,ol7,ol8,ol9,rhel7,rhel8,rhel9,rhv4,ubuntu2204

title: 'Lock Accounts After Failed Password Attempts'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv,multi_platform_sle
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv
# reboot = false
# strategy = restrict
# complexity = low
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv,multi_platform_sle
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv

{{{ bash_pam_faillock_enable() }}}
{{{ bash_pam_faillock_parameter_value("even_deny_root", "") }}}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: fedora,ol7,ol8,ol9,rhel7,rhel8,rhel9,rhv4,sle12,sle15
prodtype: fedora,ol7,ol8,ol9,rhel7,rhel8,rhel9,rhv4

title: 'Configure the root Account for Failed Password Attempts'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv,multi_platform_sle
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv
# reboot = false
# strategy = restrict
# complexity = low
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv,multi_platform_sle,multi_platform_ubuntu
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv,multi_platform_ubuntu

{{{ bash_instantiate_variables("var_accounts_passwords_pam_faillock_unlock_time") }}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: fedora,ol7,ol8,ol9,rhel7,rhel8,rhel9,rhv4,sle15,ubuntu2204
prodtype: fedora,ol7,ol8,ol9,rhel7,rhel8,rhel9,rhv4,ubuntu2204

title: 'Set Lockout Time for Failed Password Attempts'

Expand Down
1 change: 1 addition & 0 deletions products/sle12/profiles/anssi_bp28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ description: |-

selections:
- anssi:all:enhanced

3 changes: 1 addition & 2 deletions products/sle12/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ description: |-
Manual review is required to assess if the installed services are minimal.

selections:
- anssi:all:intermediary

- anssi:all:intermediary
3 changes: 1 addition & 2 deletions products/sle12/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ description: |-
Manual review is required to assess if the installed services are minimal.

selections:
- anssi:all:minimal

- anssi:all:minimal
1 change: 0 additions & 1 deletion products/sle12/profiles/pci-dss-4.profile
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ selections:
- sshd_use_approved_ciphers
- sshd_use_approved_macs
- sysctl_fs_suid_dumpable

1 change: 0 additions & 1 deletion products/sle12/profiles/pci-dss.profile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ description: |-

selections:
- pcidss_3:all:base

2 changes: 1 addition & 1 deletion products/sle15/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ description: |-
Manual review is required to assess if the installed services are minimal.

selections:
- anssi:all:intermediary
- anssi:all:intermediary
3 changes: 1 addition & 2 deletions products/sle15/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ description: |-
Manual review is required to assess if the installed services are minimal.

selections:
- anssi:all:minimal

- anssi:all:minimal
7 changes: 4 additions & 3 deletions products/sle15/profiles/pci-dss-4.profile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ description: |-

selections:
- pcidss_4:all:base
- '!service_ntp_enabled'
- '!service_ntpd_enabled'
- '!service_timesyncd_enabled'
# remove some rules from profile
- '!service_ntp_enabled'
- '!service_ntpd_enabled'
- '!service_timesyncd_enabled'

0 comments on commit 1e0a6c4

Please sign in to comment.