diff --git a/controls/cis_rhel10.yml b/controls/cis_rhel10.yml index ce85509aba9..420cf1513af 100644 --- a/controls/cis_rhel10.yml +++ b/controls/cis_rhel10.yml @@ -2428,8 +2428,9 @@ controls: levels: - l1_server - l1_workstation - status: pending - notes: New templated rule is necessary. + status: automated + rules: + - service_systemd-journal-upload_enabled - id: 6.2.2.1.4 title: Ensure systemd-journal-remote service is not in use (Automated) diff --git a/linux_os/guide/system/logging/journald/service_systemd-journal-upload_enabled/rule.yml b/linux_os/guide/system/logging/journald/service_systemd-journal-upload_enabled/rule.yml index 178d3af985d..e8f6fe2d2be 100644 --- a/linux_os/guide/system/logging/journald/service_systemd-journal-upload_enabled/rule.yml +++ b/linux_os/guide/system/logging/journald/service_systemd-journal-upload_enabled/rule.yml @@ -3,17 +3,25 @@ documentation_complete: true title: 'Enable systemd-journal-upload Service' description: |- - {{{ full_name }}} must offload rsyslog messages for networked systems in real time and - offload standalone systems at least weekly. + The systemd-journal-upload service is part of the systemd-journal-remote package + and enables centralized logging by uploading local systemd journal entries to a remote log + server via HTTPS. This service acts as a client that pushes journal data to a remote host + running the systemd-journal-remote receiver service. {{{ describe_service_enable(service="systemd-journal-upload") }}} rationale: |- - {{{ full_name }}} must offload rsyslog messages for networked systems in real time and - offload standalone systems at least weekly. + Centralized logging through systemd-journal-upload is essential for security monitoring, + incident response, and compliance requirements. Storing log data on a remote host protects log + integrity from local attacks. If an attacker gains root access on the local system, they could + tamper with or remove log data stored locally to hide their activities. Remote logging ensures + that audit trails remain intact even if the local system is compromised. Additionally, + centralized logs facilitate correlation of events across multiple systems, enabling better + detection of distributed attacks and security incidents. severity: medium identifiers: + cce@rhel10: CCE-86711-9 cce@sle15: CCE-92604-8 cce@slmicro5: CCE-94084-1 cce@slmicro6: CCE-94735-8 @@ -38,3 +46,8 @@ template: vars: servicename: systemd-journal-upload packagename: systemd-journal-remote + +warnings: + - general: |- + The systemd-journal-upload service will fail to start if the remote server URL is not configured. + Edit /etc/systemd/journal-upload.conf to configure the remote server URL. diff --git a/shared/references/cce-redhat-avail.txt b/shared/references/cce-redhat-avail.txt index 872b9b99746..3d18e9ceec4 100644 --- a/shared/references/cce-redhat-avail.txt +++ b/shared/references/cce-redhat-avail.txt @@ -76,7 +76,6 @@ CCE-86707-7 CCE-86708-5 CCE-86709-3 CCE-86710-1 -CCE-86711-9 CCE-86712-7 CCE-86713-5 CCE-86726-7 diff --git a/tests/data/profile_stability/rhel10/cis.profile b/tests/data/profile_stability/rhel10/cis.profile index 2c8a0b6b829..9a628a24f8e 100644 --- a/tests/data/profile_stability/rhel10/cis.profile +++ b/tests/data/profile_stability/rhel10/cis.profile @@ -335,6 +335,7 @@ service_cups_disabled service_firewalld_enabled service_nfs_disabled service_rpcbind_disabled +service_systemd-journal-upload_enabled service_systemd-journald_enabled set_password_hashing_algorithm_libuserconf set_password_hashing_algorithm_logindefs diff --git a/tests/data/profile_stability/rhel10/cis_server_l1.profile b/tests/data/profile_stability/rhel10/cis_server_l1.profile index 5ed95aa3d32..f1e9a402e1f 100644 --- a/tests/data/profile_stability/rhel10/cis_server_l1.profile +++ b/tests/data/profile_stability/rhel10/cis_server_l1.profile @@ -239,6 +239,7 @@ service_cups_disabled service_firewalld_enabled service_nfs_disabled service_rpcbind_disabled +service_systemd-journal-upload_enabled service_systemd-journald_enabled set_password_hashing_algorithm_libuserconf set_password_hashing_algorithm_logindefs diff --git a/tests/data/profile_stability/rhel10/cis_workstation_l1.profile b/tests/data/profile_stability/rhel10/cis_workstation_l1.profile index 7b9809d084d..c509bf9b2ac 100644 --- a/tests/data/profile_stability/rhel10/cis_workstation_l1.profile +++ b/tests/data/profile_stability/rhel10/cis_workstation_l1.profile @@ -230,6 +230,7 @@ service_crond_enabled service_firewalld_enabled service_nfs_disabled service_rpcbind_disabled +service_systemd-journal-upload_enabled service_systemd-journald_enabled set_password_hashing_algorithm_libuserconf set_password_hashing_algorithm_logindefs diff --git a/tests/data/profile_stability/rhel10/cis_workstation_l2.profile b/tests/data/profile_stability/rhel10/cis_workstation_l2.profile index 9a357293ffe..66d05d385d6 100644 --- a/tests/data/profile_stability/rhel10/cis_workstation_l2.profile +++ b/tests/data/profile_stability/rhel10/cis_workstation_l2.profile @@ -332,6 +332,7 @@ service_crond_enabled service_firewalld_enabled service_nfs_disabled service_rpcbind_disabled +service_systemd-journal-upload_enabled service_systemd-journald_enabled set_password_hashing_algorithm_libuserconf set_password_hashing_algorithm_logindefs