VMware ESXi
TMA-ESXI9-4.3
Host must log sufficient information for events
설명
Set the Syslog.global.logLevel parameter to "info" to ensure that audit logs capture sufficient information for diagnosing issues and investigating security events. This setting strikes a balance between log verbosity and storage utilization. The parameter governing this behavior is Syslog.global.logLevel with a recommended setting of info. The audit reads Syslog.global.logLevel with esxcli and requires info; also review logger rotation/size (esxcli system syslog config logger list). Runs in the ESXi Shell (busybox sh) as root.
점검 방법
감사 방식: 셸 명령
out=$(esxcli system settings advanced list -o /Syslog/global/logLevel 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | sed -n 's/^ *String Value: *//p' | head -n 1)
if [ "$v" = info ]; then echo compliant; else echo "/Syslog/global/logLevel = '$v' (expected info)"; fi- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
1. Increase the number of rotations and/or individual log size 2. esxcli system syslog config logger set --id=vmkernel -- rotate=15 --size=10240 3. esxcli system syslog config logger set --id=hostd -- rotate=15 --size=10240
속성
- 운영 체제
- 모두
- 태그
- vmwareesxilogging
- 참고 자료
- CIS VMware ESXi 9.0 Benchmark v1.0.0 - 4.3 Host must log sufficient information for events
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
tmaegis scan --target vmware