Skip to content

Install AIDE

An XCCDF Rule

Description

The aide package can be installed with the following command:
$ sudo yum install aide

Rationale

The AIDE package must be installed if it is to be available for integrity checking.

ID
xccdf_org.ssgproject.content_rule_package_aide_installed
Severity
Medium
References
Updated

Remediation Templates

Anaconda Pre-Install Instructions

package --add=aide

OS Build Blueprint

[[packages]]
name = "aide"
version = "*"

An Ansible Snippet

- name: Ensure aide is installed
  package:
    name: aide
    state: present
  when: ansible_virtualization_type not in ["docker", "lxc", "openvz", "podman", "container"]
  tags:

A Puppet Snippet

include install_aide
class install_aide {
  package { 'aide':
    ensure => 'installed',
  }
}

A Shell Script

# Remediation is applicable only in certain platforms
if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then
if ! rpm -q --quiet "aide" ; then
    yum install -y "aide"
fi