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 - 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
Remediation - Anaconda Pre-Install Instructions
package --add=aide
Remediation - OS Build Blueprint
[[packages]]
name = "aide"
version = "*"
Remediation - Ansible
- name: Ensure aide is installed
package:
name: aide
state: present
when: ansible_virtualization_type not in ["docker", "lxc", "openvz", "podman", "container"]
tags:
Remediation - Puppet
include install_aide
class install_aide {
package { 'aide':
ensure => 'installed',
}