4
0
Fork 0

firewall pkg control - prefer log capture

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-04-04 15:15:40 +01:00
parent adcc647dd4
commit 842b295ecf
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB
3 changed files with 15 additions and 1 deletions

View file

@ -29,7 +29,7 @@
- rsyslog
- rule_4.2.1.2
# This is counter to control 4.2.1.5??
# This is counter to control 4.2.2.5??
- name: "4.2.1.3 | PATCH | Ensure journald is configured to send logs to rsyslog"
lineinfile:
dest: /etc/systemd/journald.conf
@ -38,6 +38,7 @@
state: present
when:
- rhel9cis_rule_4_2_1_3
- rhel9cis_preferred_log_capture == "rsyslog"
tags:
- level1-server
- level1-workstation

View file

@ -137,6 +137,7 @@
notify: restart systemd_journal_upload
when:
- rhel9cis_rule_4_2_2_5
- rhel9cis_preferred_log_capture == "journald"
tags:
- level1-server
- level2-workstation