TMAegis
More rules for vmware

TMA-VMWARE-2.4

Host image profile acceptance level must be PartnerSupported or higher

HighLevel 1Automatedvmware

Description

The acceptance level on ESXi regulates the type of software that can be installed on the system, with four distinct levels: VMwareCertified, VMwareAccepted, PartnerSupported, and CommunitySupported. It's advised to set the acceptance level to PartnerSupported or higher to ensure that only tested and digitally signed vSphere Installation Bundles (VIBs) are allowed for ... The audit runs esxcli software acceptance get and accepts VMwareCertified, VMwareAccepted or PartnerSupported. Runs in the ESXi Shell (busybox sh) as root.

How it is checked

Audit method: Shell command

shell
v=$(esxcli software acceptance get 2>/dev/null) || exit 1
case "$v" in VMwareCertified|VMwareAccepted|PartnerSupported) echo compliant ;; *) echo "acceptance level: $v" ;; esac
Expected output
compliant

How it is fixed

Fix method: Guidance or infrastructure patch

To verify the host image profile acceptance level perform the following: 1. From the vSphere Web Client, select the host. 2. Click Configure, then under System select Security Profile. 3. Under Host Image Profile Acceptance Level select Edit 4. In the dropdown select one of the following - VMware Certified, VMware Accepted, or Partner Supported. To implement the recommended configuration state, run the following PowerCLI command (in the example code, the level is Partner Supported): # Set the Software AcceptanceLevel for each host<span> Foreach ($VMHost in Get-VMHost ) { $ESXCli = Get-EsxCli -VMHost $VMHost $ESXCli.software.acceptance.Set("PartnerSupported") }

Properties

Operating systems
Any
Tags
vmwareesxibase
Reference
CIS VMware ESXi 8.0 Benchmark v1.4.0 - 2.4 Host image profile acceptance level must be PartnerSupported or higher

Check this host

Run this on a machine you are allowed to audit. The scan is read-only.

shell
tmaegis scan --target vmware