SV-258942r934484_rule
V-258942
SRG-APP-000516
VCSA-80-000275
CAT II
10
From the vSphere Client, go to Host and Clusters.
Select a vCenter Server >> Configure >> Settings >> Advanced Settings.
Click "Edit Settings" and configure the "VirtualCenter.VimPasswordExpirationInDays" value to "30" or if the value does not exist create it by entering the values in the "Key" and "Value" fields and clicking "Add".
or
From a PowerCLI command prompt while connected to the vCenter server, run the following command:
If the setting already exists:
Get-AdvancedSetting -Entity <vcenter server name> -Name VirtualCenter.VimPasswordExpirationInDays | Set-AdvancedSetting -Value 30
If the setting does not exist:
New-AdvancedSetting -Entity <vcenter server name> -Name VirtualCenter.VimPasswordExpirationInDays -Value 30
From the vSphere Client, go to Host and Clusters.
Select a vCenter Server >> Configure >> Settings >> Advanced Settings.
Verify that "VirtualCenter.VimPasswordExpirationInDays" is set to "30".
or
From a PowerCLI command prompt while connected to the vCenter server, run the following command:
Get-AdvancedSetting -Entity <vcenter server name> -Name VirtualCenter.VimPasswordExpirationInDays
If the "VirtualCenter.VimPasswordExpirationInDays" is set to a value other than "30" or does not exist, this is a finding.
V-258942
False
VCSA-80-000275
From the vSphere Client, go to Host and Clusters.
Select a vCenter Server >> Configure >> Settings >> Advanced Settings.
Verify that "VirtualCenter.VimPasswordExpirationInDays" is set to "30".
or
From a PowerCLI command prompt while connected to the vCenter server, run the following command:
Get-AdvancedSetting -Entity <vcenter server name> -Name VirtualCenter.VimPasswordExpirationInDays
If the "VirtualCenter.VimPasswordExpirationInDays" is set to a value other than "30" or does not exist, this is a finding.
M
5573