Configure vSphere Scanning
Required Tenable Vulnerability Management User Role: Scan Manager or Administrator
You can configure a scan to scan the following virtual environments:
-
ESXi/vSphere that vCenter manages
-
ESXi/vSphere that vCenter does not manage
-
Virtual machines
Note: You must provide an IPv4 address when scanning an ESXi host. Otherwise, the scan fails.
Note: For more information on VMware/vCenter, refer to the VMware integration documentation.
Scenario 1: Scanning ESXi/vSphere Not Managed by vCenter
To configure an ESXi/vSphere scan that vCenter does not manage:
- Create an advanced network Tenable Vulnerability Management scan.
-
In the left navigation menu, in the Settings section, click Basic.
The Basic settings appear.
-
In the Targets section, type the IP address or addresses of the ESXi host or hosts.
-
In the left navigation menu, click Credentials.
The Credentials page appears. This page contains a table of credentials configured for the scan.
- Next to Add Credentials, click the button.
The Select Credential Type plane appears.
-
In the Miscellaneous section, select VMware ESX SOAP API.
-
In the Username box, type the username associated with the local ESXi account.
-
In the Password box, type the password associated with the local ESXi account.
-
If your vCenter host includes an SSL certificate (not a self-signed certificate), disable the Do not verify SSL Certificate toggle. Otherwise, leave the toggle enabled.
-
Click Save.
-
Do one of the following:
-
If you want to save without launching the scan, click Save.
Tenable Vulnerability Management saves the scan.
-
If you want to save and launch the scan immediately, click Save & Launch.
Note: If you scheduled the scan to run at a later time, the Save & Launch option is not available.
Note: If you are editing an imported scan, the Save & Launch option is not available.
Tenable Vulnerability Management saves and launches the scan.
-
Note: When scanning vCenter-managed ESXis with API credentials, the Nessus Scan information plugin always shows Credentialed Checks: No in the vCenter scan results. To verify that the authentication was successful, check to see that the Nessus Scan Information plugin shows Credentialed Checks: Yes in the scan results of the ESXis.
Scenario 2: Scanning vCenter-Managed ESXI/vSpheres
Note: The SOAP API requires a vCenter admin account with read and write permissions. The REST API requires a vCenter admin account with read permissions, and a VMware vSphere Lifecycle manager account with read permissions.
To configure an ESXi/vSphere scan managed by vCenter:
- Create an advanced network Tenable Vulnerability Management scan.
-
In the left navigation menu, in the Settings section, click Basic.
The Basic settings appear.
-
In the Targets section, type the IP addresses of:
-
the vCenter host
-
the ESXi host or hosts
-
-
In the left navigation menu, click Credentials.
The Credentials page appears. This page contains a table of credentials configured for the scan.
- Next to Add Credentials, click the button.
The Select Credential Type plane appears.
-
In the Miscellaneous section, select VMware vCenter SOAP API.
-
In the vCenter Host box, type the IP address of the vCenter host.
-
In the vCenter Port box, type the port for the vCenter host. By default, this value is 443.
-
In the Username box, type the username associated with the vCenter account.
-
In the Password box, type the password associated with the vCenter account.
-
If the vCenter host is SSL enabled, enable the HTTPS toggle.
-
If your vCenter host includes an SSL certificate (not a self-signed certificate), enable the Verify SSL Certificate toggle. Otherwise, leave the toggle disabled.
-
Click Save.
-
Do one of the following:
-
If you want to save without launching the scan, click Save.
Tenable Vulnerability Management saves the scan.
-
If you want to save and launch the scan immediately, click Save & Launch.
Note: If you scheduled the scan to run at a later time, the Save & Launch option is not available.
Note: If you are editing an imported scan, the Save & Launch option is not available.
Tenable Vulnerability Management saves and launches the scan.
-
Section 3: Scanning Virtual Machines
You can scan virtual machines just like any other host on the network. Be sure to include the IP address or addresses of your virtual machines in the Targets text box. For more information, see Create a Scan.