TMAegis베타
vmware 관련 규칙 더 보기

VMware ESXi

TMA-VMWARE-4.6

Host must enable audit record logging

보통레벨 1자동vmware

설명

Enabling audit record logging on ESXi hosts ensures the local storage of audit records, providing a trail of activities performed on the host. This measure is pivotal for accountability, troubleshooting, and security investigations. The parameter governing this behavior is Syslog.global.auditRecord.storageEnable with a recommended setting of TRUE. The audit reads Syslog.global.auditRecord.storageEnable with esxcli and requires true (1). Runs in the ESXi Shell (busybox sh) as root.

점검 방법

감사 방식: 셸 명령

shell
out=$(esxcli system settings advanced list -o /Syslog/global/auditRecord/storageEnable 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/storageEnable: no integer value'; exit 1 ;; esac
if [ "$v" -eq 1 ]; then echo compliant; else echo "/Syslog/global/auditRecord/storageEnable = $v (expected true/1)"; fi
예상 출력
compliant

조치 방법

조치 방식: 가이드 또는 인프라 패치

To enable local audit-record logging: 1. Execute command: esxcli system auditrecords local enable 2. Verify remediation with: esxcli system auditrecords get 3. passing results: Audit Record Storage Active: true

속성

운영 체제
모두
태그
vmwareesxilogging
참고 자료
CIS VMware ESXi 8.0 Benchmark v1.4.0 - 4.6 Host must enable audit record logging

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target vmware