Ensure the audispd's remote logging daemon type is correct
An XCCDF Rule
Description
Ensure the type used by audisp-remote
plug-in of the audispd
audit event multiplexor is correct.
Check that the type
directive in
/etc/audisp/plugins.d/au-remote.conf
is always
.
Restart the auditd
service to apply configuration changes:
$ sudo service auditd restart
Rationale
The auditd service does not include the ability to send audit records to a centralized server for management directly. It does, however, include a plug-in for audit event multiplexor (audispd) to pass audit records to a remote server.
- ID
- xccdf_org.ssgproject.content_rule_auditd_audispd_remote_daemon_type
- Severity
- Medium
- References
- Updated
Remediation - Ansible
- name: Gather the package facts
package_facts:
manager: auto
tags:
- DISA-STIG-OL07-00-030201
- auditd_audispd_remote_daemon_type
Remediation - Shell Script
# Remediation is applicable only in certain platforms
if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ] && rpm --quiet -q audit; then
if [ -e "/etc/audisp/plugins.d/au-remote.conf" ] ; then
LC_ALL=C sed -i "/^\s*type\s*=\s*/Id" "/etc/audisp/plugins.d/au-remote.conf"