Skip to content

Ensure rsyslog-gnutls is installed

An XCCDF Rule

Description

TLS protocol support for rsyslog is installed. The rsyslog-gnutls package can be installed with the following command:

$ sudo yum install rsyslog-gnutls

Rationale

The rsyslog-gnutls package provides Transport Layer Security (TLS) support for the rsyslog daemon, which enables secure remote logging.

ID
xccdf_org.ssgproject.content_rule_package_rsyslog-gnutls_installed
Severity
Medium
References
Updated



Remediation - script:kickstart


package install rsyslog-gnutls

Remediation - OS Build Blueprint


[[packages]]
name = "rsyslog-gnutls"
version = "*"

Remediation - script:bootc


dnf install rsyslog-gnutls

Remediation - Puppet

include install_rsyslog-gnutls

class install_rsyslog-gnutls {
  package { 'rsyslog-gnutls':
    ensure => 'installed',
  }

Remediation - Ansible

- name: Gather the package facts
  package_facts:
    manager: auto
  tags:
  - CCE-82859-0
  - DISA-STIG-RHEL-08-030680

Remediation - Anaconda Pre-Install Instructions


package --add=rsyslog-gnutls

Remediation - Shell Script

# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel; then

if ! rpm -q --quiet "rsyslog-gnutls" ; then
    yum install -y "rsyslog-gnutls"
fi