Puppet Class: cis_security_hardening::rules::auditd_package
- Defined in:
- manifests/rules/auditd_package.pp
Summary
Ensure auditd is installedOverview
auditd is the userspace component to the Linux Auditing System. It’s responsible for writing audit records to the disk.
Rationale: The capturing of system events provides system administrators with information to allow them to determine if unauthorized access to their system is occurring.
24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'manifests/rules/auditd_package.pp', line 24
class cis_security_hardening::rules::auditd_package (
Boolean $enforce = false,
Array $packages = [],
) {
if $enforce {
$packages.each |$pkg| {
ensure_packages([$pkg], {
ensure => installed,
})
}
}
}
|