SV-207646r379690_rule
V-207646
SRG-OS-000341-VMM-001220
ESXI-65-000045
CAT II
10
From the vSphere Web 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 Web 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:
Get-VMHost | Get-AdvancedSetting -Name Syslog.global.logDir
or
$esxcli = Get-EsxCli
$esxcli.system.syslog.config.get() | Select LocalLogOutput,LocalLogOutputIsPersistent
If the Syslog.global.logDir or LocalLogOutput value is not on persistent storage, this is a finding.
If the LocalLogOutputIsPersistent value is not true, this is a finding.
V-207646
False
ESXI-65-000045
From the vSphere Web 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:
Get-VMHost | Get-AdvancedSetting -Name Syslog.global.logDir
or
$esxcli = Get-EsxCli
$esxcli.system.syslog.config.get() | Select LocalLogOutput,LocalLogOutputIsPersistent
If the Syslog.global.logDir or LocalLogOutput value is not on persistent storage, this is a finding.
If the LocalLogOutputIsPersistent value is not true, this is a finding.
M
2925