Skip to content

Commit

Permalink
Initial 6.1.2.1.3 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ericeberry committed Dec 6, 2024
1 parent bf4ee45 commit 5d4179f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controls/cis_ubuntu2404.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2261,7 +2261,8 @@ controls:
- l1_server
- l1_workstation
status: planned
notes: TODO. Rule does not seem to be implemented. Analogous to ubuntu2204/4.2.1.1.3.
rules:
- service_systemd-journal-upload_enabled

- id: 6.1.2.1.4
title: Ensure systemd-journal-remote service is not in use (Automated)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
# packages = systemd

{{{ bash_package_install("systemd-journal-upload") }}}

SYSTEMCTL_EXEC='/usr/bin/systemctl'
"$SYSTEMCTL_EXEC" stop 'systemd-journal-upload.service'
"$SYSTEMCTL_EXEC" disable 'systemd-journal-upload.service'
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
# packages = systemd

{{{ bash_package_install("systemd-journal-upload") }}}

SYSTEMCTL_EXEC='/usr/bin/systemctl'
"$SYSTEMCTL_EXEC" unmask 'systemd-journal-upload.service'
"$SYSTEMCTL_EXEC" --now enable 'systemd-journal-upload.service'
1 change: 1 addition & 0 deletions products/ubuntu2004/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ platform_package_overrides:
pam: libpam-runtime
shadow: login
sssd: sssd-common
systemd-journal-upload: systemd-journal-remote
openssl-pkcs11: libpam-pkcs11

reference_uris:
Expand Down
1 change: 1 addition & 0 deletions tests/data/product_stability/ubuntu2404.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ platform_package_overrides:
shadow: login
sssd: sssd-common
sssd-ldap: null
systemd-journal-upload: systemd-journal-remote
uefi: null
zipl: s390utils-base
product: ubuntu2404
Expand Down

0 comments on commit 5d4179f

Please sign in to comment.