TMAegisベータ
vmware のその他のルール

VMware ESXi

TMA-VMWARE-4.11

Host must use strict x509 verification for TLS-enabled remote logging endpoints

中レベル 1自動vmware

説明

When employing remote logging with TLS-enabled endpoints, it is essential to ensure the utmost integrity and authenticity of the certificates in use. The "x509-strict" option provides a higher level of security by performing additional validity checks on CA root certificates during the verification process. The audit reads Syslog.global.certificate.strictX509Compliance 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/certificate/strictX509Compliance 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/certificate/strictX509Compliance: no integer value'; exit 1 ;; esac
if [ "$v" -eq 1 ]; then echo compliant; else echo "/Syslog/global/certificate/strictX509Compliance = $v (expected true/1)"; fi
期待される出力
compliant

修正方法

修正方法: ガイダンスまたは IaC パッチ

Utilize PowerCLI to remediate </> Powershell Get-VMHost | Get-AdvancedSetting -Name "Syslog.global.certificate.strictX509Compliance" | Set-AdvancedSetting -Value $true -Confirm:$false Verify with Get-VMHost | Get-AdvancedSetting -Name "Syslog.global.certificate.strictX509Compliance" Expected Calue is: Value = True

プロパティ

オペレーティングシステム
すべて
タグ
vmwareesxilogging
参照
CIS VMware ESXi 8.0 Benchmark v1.4.0 - 4.11 Host must use strict x509 verification for TLS-enabled remote logging endpoints

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target vmware