Install AIDE
An XCCDF Rule
Description
Theaide
package can be installed with the following command:
$ sudo dnf 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
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:
Anaconda Pre-Install Instructions
package --add=aide
A Puppet Snippet
include install_aide
class install_aide {
package { 'aide':
ensure => 'installed',
}
}
OS Build Blueprint
[[packages]]
name = "aide"
version = "*"
script:kickstart
package install aide
A Shell Script
# Remediation is applicable only in certain platforms
if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then
if ! rpm -q --quiet "aide" ; then
dnf install -y "aide"
fi