mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 07:23:07 +00:00
update: change insertafter by insertbefore for MISC. LOG SETTINGS
This commit is contained in:
parent
27dc592c12
commit
942870f78d
1 changed files with 2 additions and 2 deletions
|
|
@ -130,8 +130,8 @@
|
||||||
# misc. logging additions to meet CIS standards
|
# misc. logging additions to meet CIS standards
|
||||||
*.=warning;*.=err -/var/log/warn
|
*.=warning;*.=err -/var/log/warn
|
||||||
*.crit /var/log/warn
|
*.crit /var/log/warn
|
||||||
*.*;mail.none;news.none /var/log/messages
|
*.*;news.none /var/log/messages
|
||||||
insertafter: '#### RULES ####'
|
insertbefore: '# ### sample forwarding rule ###'
|
||||||
notify: Restart rsyslog
|
notify: Restart rsyslog
|
||||||
|
|
||||||
- name: "6.2.3.5 | PATCH | Ensure logging is configured | Local log settings"
|
- name: "6.2.3.5 | PATCH | Ensure logging is configured | Local log settings"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue