A script to assess the compliance of a VMware vSphere environment against the CIS Benchmark for VMware vSphere.
- VMware PowerCLI 12.0.0 or higher
- VMware vSphere 7.0
- PowerShell 5.1 or higher
- Clone the repo
- Run
Install-Module -Name VMware.PowerCLI -Scope CurrentUser -Force
to install PowerCLI - Change the values in
config.json
to match your environment - Run
.\cis-vsphere.ps1
- To verify the patches, you will need to update the
patches.json
file with the latest patches for your environment.
- Add support for vSphere 6.5, 6.7, and 8.0
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.