We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The auth and cron stanzas appear to be checking against the same line BEGIN Auth SETTINGS (ANSIBLE MANAGED), overwriting each other on every run.
BEGIN Auth SETTINGS (ANSIBLE MANAGED)
TASK [RHEL8-CIS : 4.2.1.5 | PATCH | Ensure logging is configured | Auth Settings] ******************************************************************** --- before: /etc/rsyslog.conf (content) +++ after: /etc/rsyslog.conf (content) @@ -37,8 +37,8 @@ #### RULES #### #BEGIN Auth SETTINGS (ANSIBLE MANAGED) -# Cron settings to meet CIS standards -cron.* /var/log/cron +# Private settings to meet CIS standards +auth,authpriv.* -/var/log/secure #END Auth SETTINGS (ANSIBLE MANAGED) #BEGIN LOCAL LOG SETTINGS (ANSIBLE MANAGED) # local log settings to meet CIS standards TASK [RHEL8-CIS : 4.2.1.5 | PATCH | Ensure logging is configured | Cron Settings] ******************************************************************** --- before: /etc/rsyslog.conf (content) +++ after: /etc/rsyslog.conf (content) @@ -37,8 +37,8 @@ #### RULES #### #BEGIN Auth SETTINGS (ANSIBLE MANAGED) -# Private settings to meet CIS standards -auth,authpriv.* -/var/log/secure +# Cron settings to meet CIS standards +cron.* /var/log/cron #END Auth SETTINGS (ANSIBLE MANAGED) #BEGIN LOCAL LOG SETTINGS (ANSIBLE MANAGED) # local log settings to meet CIS standards
Expected Behavior Both cron and auth logs configurations should exist
Control(s) Affected 4.2.1.5
Environment (please complete the following information):
Ansible Version: 2.9.27 Host Python Version: 3.6.8 Ansible Server Python Version: 3.6.8 Additional Details:
The text was updated successfully, but these errors were encountered:
issue #203 change block marker
d728b88
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This was addressed in release 2.1.0
Sorry, something went wrong.
uk-bolly
No branches or pull requests
The auth and cron stanzas appear to be checking against the same line
BEGIN Auth SETTINGS (ANSIBLE MANAGED)
, overwriting each other on every run.Expected Behavior
Both cron and auth logs configurations should exist
Control(s) Affected
4.2.1.5
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: