Configure systemd-journal-upload URL
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
Rationale
Information stored in one location is vulnerable to accidental or incidental deletion or alteration. Offloading is a common process in information systems with limited audit storage capacity
- ID
- xccdf_org.ssgproject.content_rule_systemd_journal_upload_url
- Severity
- Medium
- Updated
Remediation - Ansible
- name: Gather the package facts
package_facts:
manager: auto
tags:
- CCE-94081-7
- DISA-STIG-SLEM-05-652010
Remediation - Shell Script
# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel-default; then
var_journal_upload_url='<xccdf-1.2:sub xmlns:xccdf-1.2="http://checklists.nist.gov/xccdf/1.2" idref="xccdf_org.ssgproject.content_value_var_journal_upload_url" use="legacy"/>'
# Strip any search characters in the key arg so that the key can be replaced without