Skip to content
Open
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 @@ -25,6 +25,7 @@ severity: medium

identifiers:
cce@rhel10: CCE-86188-0
cce@sle15: CCE-92695-6

references:
hipaa: 164.308(a)(1)(ii)(D),164.308(a)(3)(ii)(A),164.308(a)(5)(ii)(C),164.312(a)(2)(i),164.312(b),164.312(d),164.312(e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ severity: medium

identifiers:
cce@rhel10: CCE-90737-8

cce@sle15: CCE-92694-9

references:
hipaa: 164.308(a)(1)(ii)(D),164.308(a)(3)(ii)(A),164.308(a)(5)(ii)(C),164.312(a)(2)(i),164.312(b),164.312(d),164.312(e)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = multi_platform_fedora,multi_platform_rhel,multi_platform_ol,multi_platform_almalinux
# platform = multi_platform_almalinux,multi_platform_fedora,multi_platform_ol,multi_platform_rhel,multi_platform_sle
# 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_fedora,multi_platform_rhel,multi_platform_ol,multi_platform_almalinux
# platform = multi_platform_almalinux,multi_platform_fedora,multi_platform_ol,multi_platform_rhel,multi_platform_sle
# reboot = true
# strategy = restrict
# complexity = low
Expand All @@ -23,5 +23,3 @@ var_auditd_name_format="$(echo $var_auditd_name_format | cut -d \| -f 1)"
separator=" = ",
separator_regex="\s*=\s*",
prefix_regex="^\s*", rule_id=rule_id)}}}


Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ identifiers:
cce@rhel8: CCE-82897-0
cce@rhel9: CCE-83686-6
cce@rhel10: CCE-87429-7
cce@sle15: CCE-92696-4

references:
nist: CM-6,AU-3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ config_file="/etc/audit/auditd.conf"

# remove any occurrence
sed -i "s/^.*name_format.*$//" $config_file
{{%- if product in ["sle15", "sle16"] %}}
echo "name_format = fqd" >> $config_file
{{%- else %}}
echo "name_format = hostname" >> $config_file
{{%- endif %}}
1 change: 1 addition & 0 deletions products/sle15/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ release_key_fingerprint: "FEAB502539D846DB2C0961CA70AF9E8139DB7C82"
oval_feed_url: "https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.15-patch.xml.bz2"

aide_bin_path: "/usr/bin/aide"
audisp_conf_path: "/etc/audit"

cpes_root: "../../shared/applicability"
cpes:
Expand Down
24 changes: 11 additions & 13 deletions products/sle15/profiles/pci-dss-4.profile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ description: |-
Ensures PCI-DSS v4 security configuration settings are applied.

selections:
- pcidss_4:all:base
- ensure_pam_wheel_group_empty
- sshd_strong_kex=pcidss
- sshd_approved_macs=cis_sle15
- sshd_approved_ciphers=cis_sle15
- var_multiple_time_servers=suse
- var_multiple_time_pools=suse
- pcidss_4:all:base
- ensure_pam_wheel_group_empty
- sshd_strong_kex=pcidss
- sshd_approved_macs=cis_sle15
- sshd_approved_ciphers=cis_sle15
- var_multiple_time_servers=suse
- var_multiple_time_pools=suse
- audit_rules_enable_syscall_auditing
# Exclude from PCI DISS profile all rules related to ntp and timesyncd and keep only
# rules related to chrony
- '!ntpd_specify_multiple_servers'
Expand All @@ -28,9 +29,9 @@ selections:
- '!service_timesyncd_enabled'
- '!package_libreswan_installed'
- '!use_pam_wheel_for_su'
- use_pam_wheel_group_for_su
- var_pam_wheel_group_for_su=cis
- var_accounts_tmout=15_min
- use_pam_wheel_group_for_su
- var_pam_wheel_group_for_su=cis
- var_accounts_tmout=15_min
# Following rules once had a prodtype incompatible with the sle15 product
- '!aide_periodic_cron_checking'
- '!accounts_password_pam_dcredit'
Expand All @@ -50,7 +51,6 @@ selections:
- '!gnome_gdm_disable_guest_login'
- '!accounts_password_pam_minlen'
- '!no_password_auth_for_systemaccounts'
- '!auditd_name_format'
- '!file_groupowner_user_cfg'
- '!directory_access_var_log_audit'
- '!ensure_root_password_configured'
Expand All @@ -64,7 +64,5 @@ selections:
- '!dconf_gnome_disable_automount_open'
- '!network_nmcli_permissions'
- '!package_cryptsetup-luks_installed'
- '!audit_rules_file_deletion_events_renameat2'
- '!audit_rules_mac_modification_etc_selinux'
- '!audit_rules_dac_modification_fchmodat2'
- '!accounts_password_pam_unix_remember'
46 changes: 46 additions & 0 deletions products/sle16/controls/base_sle16/0500_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,49 @@ controls:
status: automated
rules:
- display_login_attempts

- id: SLES-16-16016520
levels:
- pcidss4
title: SLE16 system should audit syscalls
status: automated
rules:
- audit_rules_enable_syscall_auditing

- id: SLES-16-16016525
levels:
- pcidss4
- anssi_minimal
- hipaa
title: SLE16 system should audit renameat2 syscalls
status: automated
rules:
- audit_rules_file_deletion_events_renameat2

- id: SLES-16-16016530
levels:
- pcidss4
- anssi_minimal
title: SLE16 system should audit SELinux settings modifications
status: automated
rules:
- audit_rules_mac_modification_etc_selinux

- id: SLES-16-16016535
levels:
- pcidss4
title: SLE16 system should record the computer node name in the audit events
status: automated
rules:
- var_auditd_name_format=fqd
- auditd_name_format

- id: SLES-16-16016540
levels:
- pcidss4
- anssi_minimal
- hipaa
title: SLE16 system should audit fchmodat2 syscalls
status: automated
rules:
- audit_rules_dac_modification_fchmodat2
1 change: 1 addition & 0 deletions products/sle16/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pkg_manager: "zypper"
pkg_manager_config_file: "/etc/zypp/zypp.conf"

aide_bin_path: "/usr/bin/aide"
audisp_conf_path: "/etc/audit"

cpes_root: "../../shared/applicability"
cpes:
Expand Down
3 changes: 0 additions & 3 deletions shared/references/cce-sle15-avail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,3 @@ CCE-92690-7
CCE-92691-5
CCE-92692-3
CCE-92693-1
CCE-92694-9
CCE-92695-6
CCE-92696-4
Loading