STIGQter STIGQter: STIG Summary: VMware vSphere 8.0 Virtual Machine Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 31 Oct 2023:

Virtual machines (VMs) must enable logging.

DISA Rule

SV-258720r933221_rule

Vulnerability Number

V-258720

Group Title

SRG-OS-000480-VMM-002000

Rule Version

VMCH-80-000207

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

For each virtual machine do the following:

From the vSphere Client, right-click the Virtual Machine and go to Edit Settings >> VM Options >> Advanced.

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)

Check Contents

For each virtual machine do the following:

From the vSphere Client, right-click the Virtual Machine and go to Edit Settings >> VM Options >> Advanced.

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.

Vulnerability Number

V-258720

Documentable

False

Rule Version

VMCH-80-000207

Severity Override Guidance

For each virtual machine do the following:

From the vSphere Client, right-click the Virtual Machine and go to Edit Settings >> VM Options >> Advanced.

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.

Check Content Reference

M

Target Key

5563