Skip to content

Ensure the audit-libs package as a part of audit Subsystem is Installed

An XCCDF Rule

Description

The audit-libs package should be installed.

Rationale

The auditd service is an access monitoring and accounting daemon, watching system calls to audit any access, in comparison with potential local access control policy such as SELinux policy.




Remediation - Puppet

include install_audit-libs

class install_audit-libs {
  package { 'audit-libs':
    ensure => 'installed',
  }

Remediation - Ansible

- name: Gather the package facts
  package_facts:
    manager: auto
  tags:
  - CCE-90611-5
  - NIST-800-53-AC-7(a)

Remediation - script:kickstart


package install audit-libs

Remediation - OS Build Blueprint


[[packages]]
name = "audit-libs"
version = "*"

Remediation - script:bootc


dnf install audit-libs

Remediation - Anaconda Pre-Install Instructions


package --add=audit-libs

Remediation - Shell Script

# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel; then

if ! rpm -q --quiet "audit-libs" ; then
    dnf install -y "audit-libs"
fi