Configure Nessus Manager with HashiCorp Vault (Database)

In Nessus Manager, you can integrate with HashiCorp Vault using database credentials. Complete the following steps to configure Nessus Manager with HashiCorp Vault for database credentials.

Enable Database Plugins in the scanner to display them in the output.

Requirements

Required User Role: Standard, Administrator, or System Administrator

  • Nessus Manager account
  • HashiCorp Vault account

Note: (Undefined variable: Integrations.HashiCorp Vault) provides options for both KV v1 and v2. However, Tenable only supports integration with KV v1.

To integrate Nessus Manager with HashiCorp Vault using database credentials:

  1. Log in to Nessus Manager.

  1. Click Scans.

    The My Scans page appears.

  2. Click + New Scan.

    The Scan Templates page appears.

  1. Select a scan template.

    The selected scan template Settings page appears.

  2. In the Name box, type a name for the scan.

  3. In the Targets box, type an IP address, hostname, or range of IP addresses.
  4. (Optional) Add a description, folder location, scanner location, and specify target groups.
  5. Click the Credentials tab.

    The Credentials options appear. By default, the Categories drop-down box displays Host.

  6. In the Categories drop-down box, select Database.

    The Database options appear below.

  7. In the Categories list, click Database.

    The Database options appear.

  8. In the Database section, click the Database Type drop-down box.

    The Database options appear.

  9. In the Database Type drop-down box, click your preferred database: PostgreSQL, DB2, MySQL, SQL Server, Oracle, or Sybase ASE.

    The selected Database options appear.

  10. In the Auth Type drop-down box, click Hashicorp.

    The HashiCorp Vault options appear.

  11. Configure the Database credentials.

    Option Description

    Required

    Hashicorp Vault host

    The Hashicorp Vault IP address or DNS address.

    Note: If your Hashicorp Vault installation is in a subdirectory, you must include the subdirectory path. For example, type IP address or hostname / subdirectory path.

    yes
    Hashicorp Vault port The port on which Hashicorp Vault listens. yes
    Authentication Type

    Specifies the authentication type for connecting to the instance: App Role or Certificates.

    If you select Certificates, additional options for Hashicorp Client Certificate and Hashicorp Client Certificate Private Key appear. Select the appropriate files for the client certificate and private key.

    yes
    Role ID The GUID provided by Hashicorp Vault when you configured your App Role. yes
    Role Secret ID

    The GUID generated by Hashicorp Vault when you configured your App Role.

    yes
    Authentication URL

    The URL Nessus Manager uses to access Hashicorp Vault.

    yes

    Namespace The name of a specified team in a multi-team environment. no
    Vault Type

    The HashiCorp Vault version: KV1, KV2, or AD. For additional information about HashiCorp Vault versions, see the HashiCorp Vault documentation.

    yes
    KV1 Engine URL (KV1) The URL HashiCorp Vault uses to access the KV1 engine. yes, if you select KV1 Vault Type
    KV2 Engine URL (KV2) The URL HashiCorp Vault uses to access the KV2 engine. yes, if you select KV2Vault Type
    AD Engine URL (AD) The URL HashiCorp Vault uses to access the active directory engine. yes, if you select AD for Vault Type
    Username Source (KV1 and KV2) A drop-down box to specify whether the username is input manually or pulled from Hashicorp Vault. yes
    Username Key (KV1 and KV2) The name in Hashicorp Vault that usernames are stored under. yes
    Password Key (KV1 and KV2) The key in Hashicorp Vault that passwords are stored under. yes
    Secret Name (KV1, KV2, and AD) The key secret you want to retrieve values for. yes
    Use SSL If enabled, Nessus Manager uses SSL through IIS for secure communications. You must configure SSL through IIS in Hashicorp Vault before enabling this option. no
    Verify SSL Certificate If enabled, Nessus Manager validates the SSL certificate. You must configure SSL through IIS in Hashicorp Vault before enabling this option. no
    Database Port The port on which Nessus Manager communicates with the database. yes
    Auth Type The authentication method for the database credentials.

    Oracle values include:

    • SYSDBA
    • SYSOPER
    • NORMAL
    yes
    Service Type (Oracle databases only) Valid values include: SID and SERVICE_NAME. yes
    Service (Oracle database only) A specific field for the configuration for the database. yes
  12. Click Save.