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

Scenario 1: Scanning ESXi/vSphere Not Managed by vCenter

To configure an ESXi/vSphere scan that vCenter does not manage:

  1. Create an advanced network Tenable Vulnerability Management scan.
  2. In the left navigation menu, in the Settings section, click Basic.

    The Basic settings appear.

  3. In the Targets section, type the IP address or addresses of the ESXi host or hosts.

  4. In the left navigation menu, click Credentials.

    The Credentials page appears. This page contains a table of credentials configured for the scan.

  5. Next to Add Credentials, click the Create button.

    The Select Credential Type plane appears.

  6. In the Miscellaneous section, select VMware ESX SOAP API.

  7. In the Username box, type the username associated with the local ESXi account.

  8. In the Password box, type the password associated with the local ESXi account.

  9. 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.

  10. Click Save.

  11. 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.

      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:

  1. Create an advanced network Tenable Vulnerability Management scan.
  2. In the left navigation menu, in the Settings section, click Basic.

    The Basic settings appear.

  3. In the Targets section, type the IP addresses of:

    • the vCenter host

    • the ESXi host or hosts

  4. In the left navigation menu, click Credentials.

    The Credentials page appears. This page contains a table of credentials configured for the scan.

  5. Next to Add Credentials, click the Create button.

    The Select Credential Type plane appears.

  6. In the Miscellaneous section, select VMware vCenter SOAP API.

  7. In the vCenter Host box, type the IP address of the vCenter host.

  8. In the vCenter Port box, type the port for the vCenter host. By default, this value is 443.

  9. In the Username box, type the username associated with the vCenter account.

  10. In the Password box, type the password associated with the vCenter account.

  11. If the vCenter host is SSL enabled, enable the HTTPS toggle.

  12. If your vCenter host includes an SSL certificate (not a self-signed certificate), enable the Verify SSL Certificate toggle. Otherwise, leave the toggle disabled.

  13. Click Save.

  14. 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.

      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.