Skip to content

Install AIDE

An XCCDF Rule

Description

The aide package can be installed with the following command:
$ sudo zypper 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

A Puppet Snippet

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

An Ansible Snippet

- name: Gather the package facts
  package_facts:
    manager: auto
  tags:
  - CCE-83067-9
  - CJIS-5.10.1.3

OS Build Blueprint

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

A Shell Script

# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel-default; then
zypper install -y "aide"

else
    >&2 echo 'Remediation is not applicable, nothing was done'
fi