SV-239300r674829_rule
V-239300
SRG-OS-000341-VMM-001220
ESXI-67-000045
CAT II
10
From the vSphere Client, select the ESXi host and go to Configure >> System >> Advanced System Settings.
Click "Edit" and select the "Syslog.global.logDir" value and set it to a known persistent location.
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
Get-VMHost | Get-AdvancedSetting -Name Syslog.global.logDir | Set-AdvancedSetting -Value "New Log Location"
From the vSphere Client, select the ESXi host and go to Configure >> System >> Advanced System Settings.
Select the "Syslog.global.logDir" value and verify it is set to a persistent location.
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$esxcli = Get-EsxCli -v2
$esxcli.system.syslog.config.get.Invoke() | Select LocalLogOutput,LocalLogOutputIsPersistent
If the "LocalLogOutputIsPersistent" value is not true, this is a finding.
V-239300
False
ESXI-67-000045
From the vSphere Client, select the ESXi host and go to Configure >> System >> Advanced System Settings.
Select the "Syslog.global.logDir" value and verify it is set to a persistent location.
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$esxcli = Get-EsxCli -v2
$esxcli.system.syslog.config.get.Invoke() | Select LocalLogOutput,LocalLogOutputIsPersistent
If the "LocalLogOutputIsPersistent" value is not true, this is a finding.
M
5326