Ensure syslog-ng is Installed
An XCCDF Rule
Description
syslog-ng can be installed in replacement of rsyslog.
The syslog-ng-core
package can be installed with the following command:
$ sudo dnf install syslog-ng-core
Rationale
The syslog-ng-core package provides the syslog-ng daemon, which provides system logging services.
- ID
- xccdf_org.ssgproject.content_rule_package_syslogng_installed
- Severity
- Medium
- References
- Updated
Remediation - Puppet
include install_syslog-ng
class install_syslog-ng {
package { 'syslog-ng':
ensure => 'installed',
}
Remediation - script:kickstart
package install syslog-ng
Remediation - OS Build Blueprint
[[packages]]
name = "syslog-ng"
version = "*"
Remediation - script:bootc
dnf install syslog-ng
Remediation - Ansible
- name: Gather the package facts
package_facts:
manager: auto
tags:
- NIST-800-53-CM-6(a)
- enable_strategy
Remediation - Anaconda Pre-Install Instructions
package --add=syslog-ng
Remediation - Shell Script
# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel; then
if ! rpm -q --quiet "syslog-ng" ; then
dnf install -y "syslog-ng"
fi