TMAegis
linux için daha fazla kural

Linux distributions

TMA-ROCKY8-6.2.1.1.1

Ensure journald service is active

OrtaDüzey 1Otomatiklinux

Açıklama

Ensure that the systemd-journald service is enabled to allow capturing of logging events.

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

shell
alt0() { command -v systemctl >/dev/null 2>&1 || { echo "step1: systemctl not installed"; return 1; }; o=$(bash -c 'systemctl is-active systemd-journald.service' 2>&1); printf '%s\n' "$o" | tr -s ' \t' '  ' | sed 's/^ //;s/ $//' | grep -Fxq -- active || { echo step1: missing active; return 1; }; }; if alt0; then echo compliant; fi
Beklenen çıktı
compliant

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Run the following commands to unmask, enable, and start systemd- journald.service # systemctl unmask systemd-journald.service # systemctl --now enable systemd-journald.service

Özellikler

İşletim sistemleri
rocky-8
Etiketler
cis-convertedlinux
Referans
CIS Rocky Linux 8 Benchmark v3.0.0 - 6.2.1.1.1

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target linux