SV-256473r959010_rule
V-256473
SRG-OS-000480-VMM-002000
VMCH-70-000025
CAT II
10
From the vSphere Client, select the Virtual Machine, right-click, and go to Edit Settings >> VM Options tab >> Advanced >> Settings.
Click the checkbox next to "Enable logging". Click "OK".
or
From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the following commands:
$spec = New-Object VMware.Vim.VirtualMachineConfigSpec
$spec.Flags = New-Object VMware.Vim.VirtualMachineFlagInfo
$spec.Flags.enableLogging = $true
(Get-VM -Name <vmname>).ExtensionData.ReconfigVM($spec)
From the vSphere Client, select the Virtual Machine, right-click, and go to Edit Settings >> VM Options tab >> Advanced >> Settings.
Ensure that the checkbox next to "Enable logging" is checked.
or
From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the following command:
Get-VM | Where {$_.ExtensionData.Config.Flags.EnableLogging -ne "True"}
If logging is not enabled, this is a finding.
V-256473
False
VMCH-70-000025
From the vSphere Client, select the Virtual Machine, right-click, and go to Edit Settings >> VM Options tab >> Advanced >> Settings.
Ensure that the checkbox next to "Enable logging" is checked.
or
From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the following command:
Get-VM | Where {$_.ExtensionData.Config.Flags.EnableLogging -ne "True"}
If logging is not enabled, this is a finding.
M
5519