Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SLE15 STIG version to V2R1 #12269

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{% set module='pam_unix.so' %}}
{{% set option='remember' %}}
{{% set value='{{ var_password_pam_unix_remember }}' %}}
{{% elif product in [ "sle12", "sle15" ] %}}
{{% elif "sle12" in product %}}
{{% set pam_file='/etc/pam.d/common-password' %}}
{{% else %}}
{{% set pam_file='/etc/pam.d/system-auth' %}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{{{ bash_instantiate_variables("var_password_pam_unix_remember") }}}

{{% if "debian" in product or "ubuntu" in product or product in ["sle12", "sle15" ] %}}
{{% if "debian" in product or "ubuntu" in product or "sle12" in product %}}
{{%- set accounts_password_pam_unix_remember_file = '/etc/pam.d/common-password' -%}}
{{% else %}}
{{%- set accounts_password_pam_unix_remember_file = '/etc/pam.d/system-auth' -%}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{% if product in [ "sle12", "sle15" ] or "debian" in product or "ubuntu" in product %}}
{{% if "sle12" in product or "debian" in product or "ubuntu" in product %}}
{{%- set accounts_password_pam_unix_remember_file = '/etc/pam.d/common-password' -%}}
{{% else %}}
{{%- set accounts_password_pam_unix_remember_file = '/etc/pam.d/system-auth' -%}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ references:
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
nist: IA-5(f),IA-5(1)(e)
nist-csf: PR.AC-1,PR.AC-6,PR.AC-7
nist@sle15: IA-5(1)(e),IA-5(1).1(v)
pcidss: Req-8.2.5
srg: SRG-OS-000077-GPOS-00045
stigid@sle15: SLES-15-020250
stigid@ubuntu2004: UBTU-20-010070
stigid@ubuntu2204: UBTU-22-611050

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# platform = Oracle Linux 7,Red Hat Virtualization 4,multi_platform_fedora,multi_platform_sle
# platform = Oracle Linux 7,Red Hat Virtualization 4,multi_platform_fedora,SUSE Linux Enterprise 12

{{% if product in [ "sle12", "sle15" ] %}}
{{% if "sle12" in product %}}
for auth_file in common-password password-auth; do
{{% else %}}
for auth_file in system-auth password-auth; do
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
# platform = Oracle Linux 7,Red Hat Virtualization 4,multi_platform_fedora,multi_platform_sle
# platform = Oracle Linux 7,Red Hat Virtualization 4,multi_platform_fedora,SUSE Linux Enterprise 12
# variables = var_password_pam_unix_remember=5

remember_cnt=5
{{% if product in [ "sle12", "sle15" ] %}}
{{% if "sle12" in product %}}
for auth_file in common-password password-auth
{{% else %}}
for auth_file in system-auth password-auth
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
# platform = Oracle Linux 7,Red Hat Virtualization 4,multi_platform_fedora,multi_platform_sle
# platform = Oracle Linux 7,Red Hat Virtualization 4,multi_platform_fedora,SUSE Linux Enterprise 12
# variables = var_password_pam_unix_remember=5

remember_cnt=3
{{% if product in [ "sle12", "sle15" ] %}}
{{% if "sle12" in product %}}
for auth_file in common-password password-auth
{{% else %}}
for auth_file in system-auth password-auth
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ references:
nist@sle12: IA-5(1)(e),IA-5(1).1(v)
srg: SRG-OS-000077-GPOS-00045
stigid@sle12: SLES-12-010300
stigid@sle15: SLES-15-020240

ocil_clause: '{{{ ocil_clause_file_owner(file="/etc/security/opasswd", owner="root") }}} and {{{ ocil_clause_file_group_owner(file="/etc/security/opasswd", group="root") }}} and {{{ ocil_clause_file_permissions(file="/etc/security/opasswd", perms="0600") }}}'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ references:
stigid@ol7: OL07-00-020019
stigid@rhel8: RHEL-08-010001
stigid@sle12: SLES-12-010599
stigid@sle15: SLES-15-010001

ocil_clause: 'virus scanning software is not running'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ references:
stigid@ol7: OL07-00-020019
stigid@rhel8: RHEL-08-010001
stigid@sle12: SLES-12-010599
stigid@sle15: SLES-15-010001
stigid@ubuntu2004: UBTU-20-010415
stigid@ubuntu2204: UBTU-22-211010

Expand Down
7 changes: 2 additions & 5 deletions products/sle15/profiles/stig.profile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
documentation_complete: true

metadata:
version: V1R13
version: V2R1
SMEs:
- abergmann

Expand All @@ -11,7 +11,7 @@ title: 'DISA STIG for SUSE Linux Enterprise 15'

description: |-
This profile contains configuration checks that align to the
DISA STIG for SUSE Linux Enterprise 15 V1R13.
DISA STIG for SUSE Linux Enterprise 15 V2R1.


selections:
Expand Down Expand Up @@ -59,7 +59,6 @@ selections:
- accounts_passwords_pam_faildelay_delay
- accounts_passwords_pam_tally2
- var_password_pam_tally2=3
- accounts_password_pam_unix_remember
- accounts_tmout
- accounts_umask_etc_login_defs
- accounts_user_dot_no_world_writable_programs
Expand Down Expand Up @@ -193,7 +192,6 @@ selections:
- encrypt_partitions
- ensure_gpgcheck_globally_activated
- ensure_rtc_utc_configuration
- file_etc_security_opasswd
- file_groupownership_home_directories
- file_groupownership_system_commands_dirs
- file_ownership_binary_dirs
Expand Down Expand Up @@ -230,7 +228,6 @@ selections:
- package_audit-audispd-plugins_installed
- package_audit_installed
- package_mailx_installed
- package_mcafeetp_installed
- package_pam_apparmor_installed
- package_telnet-server_removed
- package_firewalld_installed
Expand Down

Large diffs are not rendered by default.

Loading