Enable systemd-journal-upload Service
An XCCDF Rule
Description
SUSE Linux Enterprise Micro 5 must offload rsyslog messages for networked systems in real time and
offload standalone systems at least weekly.
The systemd-journal-upload
service can be enabled with the following command:
$ sudo systemctl enable systemd-journal-upload.service
Rationale
SUSE Linux Enterprise Micro 5 must offload rsyslog messages for networked systems in real time and offload standalone systems at least weekly.
- ID
- xccdf_org.ssgproject.content_rule_service_systemd-journal-upload_enabled
- Severity
- Medium
- Updated
Remediation - OS Build Blueprint
[customizations.services]
enabled = ["systemd-journal-upload"]
Remediation - Shell Script
# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel-default && { [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; }; then
SYSTEMCTL_EXEC='/usr/bin/systemctl'
"$SYSTEMCTL_EXEC" unmask 'systemd-journal-upload.service'
"$SYSTEMCTL_EXEC" start 'systemd-journal-upload.service'
Remediation - Puppet
include enable_systemd-journal-upload
class enable_systemd-journal-upload {
service {'systemd-journal-upload':
enable => true,
ensure => 'running',
Remediation - Ansible
- name: Gather the package facts
package_facts:
manager: auto
tags:
- CCE-94084-1
- DISA-STIG-SLEM-05-652010