TMAegisBeta
Más reglas para vmware

VMware ESXi

TMA-VMWARE-4.4

Host must set the logging informational level to info

MediaNivel 1Automatizadavmware

Descripción

Set the logging informational level to "info" via the Config.HostAgent.log.level parameter to ensure audit logs contain adequate data for diagnostics and forensics. This level provides a balanced amount of detail, suitable for routine analysis and investigation. The parameter governing this behavior is Config.HostAgent.log.level with a recommended setting of info. The audit reads Config.HostAgent.log.level with esxcli and requires info. Runs in the ESXi Shell (busybox sh) as root.

Cómo se verifica

Método de auditoría: Comando de shell

shell
out=$(esxcli system settings advanced list -o /Config/HostAgent/log/level 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 "/Config/HostAgent/log/level = '$v' (expected info)"; fi
Salida esperada
compliant

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

Using the vSphere client: Host → Configure → System → Advanced System Settings → Syslog.global.logLevel Set: info Execute command: esxcli system syslog config get | grep "Log Level" Verify - Log Level: info

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
vmwareesxilogging
Referencia
CIS VMware ESXi 8.0 Benchmark v1.4.0 - 4.4 Host must set the logging informational level to info

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target vmware