Skip to content

Commit 8a4b85f

Browse files
Merge pull request #14032 from teacup-on-rockingchair/sle16_fix_rsyslog_remote_loghost
Sle16 fix rsyslog remote loghost
2 parents 04f764c + 8266983 commit 8a4b85f

File tree

6 files changed

+34
-5
lines changed

6 files changed

+34
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
regexp: "^\\*\\.\\*\\s+.*$"
2929
state: absent
3030
loop: "{{ rsyslog_dropin_config_files.files }}"
31-
31+
3232
- name: "Set rsyslog remote loghost"
3333
ansible.builtin.lineinfile:
3434
dest: /etc/rsyslog.d/remote.conf

products/sle16/controls/base_sle16.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ reference_type: suse-base-sle16
99
levels:
1010
- id: pcidss4
1111
- id: anssi_minimal
12+
- id: hipaa
1213

1314
product: sle16
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#
2+
# A group of rules regarding audit operating system functionality
3+
#
4+
# SLES-16 ids allocated for this group from SLES-16-16016500 till SLES-16-16016699
5+
#
6+
7+
controls:
8+
- id: SLES-16-16016500
9+
levels:
10+
- hipaa
11+
title: Enable the selinuxuser_execmod SELinux Boolean in SLE16
12+
rules:
13+
- sebool_selinuxuser_execmod
14+
status: automated
15+
- id: SLES-16-16016505
16+
levels:
17+
- hipaa
18+
title: Enable service for audit logs in SLE16
19+
rules:
20+
- service_auditd_enabled
21+
status: automated
22+
- id: SLES-16-16016510
23+
levels:
24+
- hipaa
25+
title: Enable remote logging functionality in SLE16
26+
rules:
27+
- rsyslog_remote_loghost
28+
status: automated

shared/templates/sebool/ansible.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_almalinux,multi_platform_rhv,SUSE Linux Enterprise 15
1+
# platform = multi_platform_almalinux,multi_platform_fedora,multi_platform_ol,multi_platform_rhel,multi_platform_rhv,SUSE Linux Enterprise 15,SUSE Linux Enterprise 16
22
# reboot = false
33
# strategy = enable
44
# complexity = low
55
# disruption = low
66

77
{{% if product in ['ol8', 'ol9', 'rhel8', 'rhel9', 'rhel10'] %}}
88
{{% set PACKAGE_NAME = "python3-libsemanage" %}}
9-
{{% elif product == "sle15" %}}
9+
{{% elif product in [ "sle15", "sle16" ] %}}
1010
{{% set PACKAGE_NAME = "policycoreutils" %}}
1111
{{% else %}}
1212
{{% set PACKAGE_NAME = "libsemanage-python" %}}

shared/templates/sebool/bash.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_almalinux,multi_platform_rhv,SUSE Linux Enterprise 15
1+
# platform = multi_platform_almalinux,multi_platform_fedora,multi_platform_ol,multi_platform_rhel,multi_platform_rhv,SUSE Linux Enterprise 15,SUSE Linux Enterprise 16
22
# reboot = false
33
# strategy = enable
44
# complexity = low
55
# disruption = low
66

77
{{% if product in ['ol8', 'ol9', 'rhel8', 'rhel9', 'rhel10'] %}}
88
{{{ bash_package_install("python3-libsemanage") }}}
9-
{{% elif product == "sle15" %}}
9+
{{% elif product in [ "sle15", "sle16" ] %}}
1010
{{{ bash_package_install("policycoreutils") }}}
1111
{{{ bash_package_install("policycoreutils-python-utils") }}}
1212
{{{ bash_package_install("selinux-tools") }}}

0 commit comments

Comments
 (0)