TMAegisBeta
vmware için daha fazla kural

VMware ESXi

TMA-ESXI9-4.8

Host must store one week of audit records

OrtaDüzey 1Otomatikvmware

Açıklama

Ensuring a local storage capacity for a week's worth of audit records is imperative, especially when a remote audit record storage facility is used. This provision is critical during anticipated interruptions in record delivery to the remote facility, preventing loss or overwriting of audit records. The audit reads Syslog.global.auditRecord.storageCapacity (MiB) with esxcli and requires the recommended 100 or more; confirm it holds 7 days of records. Runs in the ESXi Shell (busybox sh) as root.

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

shell
out=$(esxcli system settings advanced list -o /Syslog/global/auditRecord/storageCapacity 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | awk '$1=="Int" && $2=="Value:" {print $3; exit}')
case "$v" in ''|*[!0-9-]*) echo '/Syslog/global/auditRecord/storageCapacity: no integer value'; exit 1 ;; esac
if [ "$v" -ge 100 ]; then echo compliant; else echo "/Syslog/global/auditRecord/storageCapacity = $v (expected 100 or more)"; fi
Beklenen çıktı
compliant

Nasıl düzeltilir

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

Increase the local audit-record storage capacity to store at least 7 days worth of audit logs. execute: esxcli system auditrecords local set --size=<MiB>

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
vmwareesxilogging
Referans
CIS VMware ESXi 9.0 Benchmark v1.0.0 - 4.8 Host must store one week of audit records

Bu ana makineyi denetle

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

shell
tmaegis scan --target vmware