Configuring Service Graph Connector for Tanium

Configure Service Graph Connector for Tanium to pull data from Tanium into ServiceNow. Complete the steps in this topic after you have reviewed the Service Graph Connector for Tanium requirements and, if you are not using Tanium Integrations Gallery, created an API token.

Enable and configure the Service Graph Connector integration

In Tanium Console, use Tanium Integrations Gallery to enable the Service Graph Connector for Tanium integration and to define a ServiceNow instance configuration.

Important: If you want to enable multiple Tanium instances for the integration, ensure each instance meets the Service Graph Connector for Tanium requirements and then perform this task to configure each instance. When you configure ServiceNow, you need to have the connection settings for each server, including the host name, MID Server information, and the API token to use.
Note: This task requires Tanium Integrations Gallery. If you do not have access to Tanium Integrations Gallery or if you want to manually configure the integration in Tanium, see Reference: Manual configuration for Service Graph Connector for Tanium.

By default, the API token that is generated when you create a ServiceNow instance is valid for 30 days and is automatically rotated before the API token expires.

Note: Assign the Integration Operator - ServiceNow and ServiceNow Service Graph Connector system roles to your account to configure this integration.
  1. Sign in to Tanium Console.
  2. From the Main menu, go to Shared Services > Integrations Gallery.
  3. In the Integrations section, click Service Graph Connector for Tanium.
  4. Click Enable.

    The Create Service Graph Instance page opens.

  5. Select Create a new instance to create an Integration Instance to associate with this configuration.
    Note: If you have an existing integration instance that is not already associated with a ServiceNow instance configuration, you can select that existing instance instead.
  6. Enter an Instance Name, such as My Company - ServiceNow Production.
  7. Enter the ServiceNow URL of your ServiceNow instance.
  8. Enter an optional Description.
  9. Select a Content Set.
  10. Associate an Asset view with this integration instance to send data to ServiceNow:
    • Select Create a new view to create a new view with the required settings.
    • Select Assign an existing view and then select an Asset view.
  11. Enter your ServiceNow instance IP address in Trusted IP Addresses.
  12. Click Create. In the Configuration Details for the ServiceNow Console window, copy the Authentication Type token value and API Host Name and paste each value in a plain text editor.
    Important:

    The token value includes the token- prefix. You must copy the token value before you can close the Configuration Details window.

    You cannot copy the token value after the visibility timeout expires (five minutes).

    A persona is created for and associated with each generated API token. The persona name starts with ServiceNow, followed by the ServiceNow integration name.

  13. After you copy the Authentication Type and API Host Name values, click Close.

Install Service Graph Connector for Tanium

On your ServiceNow instance, install the Service Graph Connector for Tanium plugin.

  1. Sign in to ServiceNow.

    In the filter navigator, enter Plugins. Click System Definition > Plugins.

    Figure 1. Setting up Service Now Service
    Setting up ServiceNow Service
  2. From the Application Manager page, click Service Graph Connector for Tanium.
  3. Click Install.
  4. Review the installation details, ensure Install now is selected, and then click Install.
    Note: Installing the Service Graph Connector for Tanium plugin can take longer than 30 minutes.

(On-premises Tanium environments only) Set up a MID Server

If your ServiceNow instance uses a MID Server to connect to your on-premises Tanium environment, you must install and configure a MID Server.

For the steps to prepare for, install, and configure a MID Server, refer to the ServiceNow documentation.

Configure Service Graph Connector for Tanium

In your ServiceNow instance, use SGC Central in the CMDB workspace to configure the Service Graph Connector for Tanium plugin.

Important: Unless you are troubleshooting a configuration issue, use SGC Central to configure the connection. ServiceNow is deprecating the guided setup method of configuration. If you need to use guided setup instead, see Reference: Configure Service Graph Connector for Tanium using guided setup.
  1. Sign in to ServiceNow and go to Workspaces > CMDB Workspace.
  2. In the CMDB Workspace, go to the SGC Central tab.
  3. Click Create connection.
  4. From the Create connection dialog, select the Tanium connector type, and then click Create connection.
  5. Complete the prerequisites for the Tanium environment:
    1. In the Prerequisites stage of the playbook, ensure the Create custom view activity is selected.
    2. Ensure that you have created a custom Tanium Asset view on your Tanium instance.

      If you used Integration Gallery to configure Tanium in Enable and configure the Service Graph Connector integration, there is a step to create a view or use an existing view. To manually create a view, see Create a view in Tanium Asset.

    3. After you ensure the view exists, select I have created a custom view for this connection according to the instructions and click Continue.
  6. From the Select alias template step, click Token-based authentication and then click Continue.
  7. Enter the connection details and then test the connection:
    1. From the Create and test connection step, enter values for the fields.
      Table 1. Create and test connection form fields

      Field

      Description

      Connection name

      Name to identify the Tanium connection record.

      Host Name

      Base URL or IP address of your Tanium instance. For Tanium Server instances, this value is the URL of the Tanium Server. For Tanium Cloud instances, this value is the API access point for your instance, in the format <customerURL>-api.cloud.tanium.com.

      Token

      Specify the Tanium API token for the Asset API User. The token value includes the token- prefix. For example, token-d2da2c7067b12be6543212875c42115ab01234567e6d56789e987654aa. This field appears only if you selected Token-based authentication in the Select alias template activity. For the Tanium role requirements, see Tanium role requirements.

      Use MID Server

      If you require a MID Server, select Use MID Server and then select the MID Server to use.

    2. Select Create and test connection.
    3. After the connection test successfully completes, select Continue.
  8. From the Select view step, select the View that you created on your Tanium instance and then click Continue.
  9. Configure the import schedule to import data at regular intervals:
    1. In the Import schedules list, expand the parent scheduled data import and click the <Connection name> - SG-Tanium Usage import schedule.
    2. In the Configure import schedule dialog, select the Active check box, and then enter the run schedule and time details.
    3. (Optional) To run the import schedule immediately, click Execute Now, and then click Execute Now to confirm.
    4. Click Save.
    5. Repeat steps a-d for the Connection name - SG-Tanium Hardware and Software parent import schedule.
    6. Select Continue.
  10. The Confirm connection creation page appears, which completes the setup.

    Select View all connections to review the connection details. The configured connection appears in the Installed connections list.

Verify the success of the import set

After you configure and run the connection, verify the successful import of Tanium asset data.

  1. Sign in to ServiceNow.

    In the filter navigator, enter Concurrent. Click System Import Sets > Advanced > Concurrent Import Sets.

    Figure 2. Setting Up your SGC Integration 16
    Setting Up your SGC Integration_16
  2. Select the most recent concurrent import set for the SG-Tanium Hardware and Software data source.
    Figure 3. Setting Up your SGC Integration 17
    Setting Up your SGC Integration_17
  3. Open the Import Set.
    Figure 4. Setting Up your SGC Integration 18
    Setting Up your SGC Integration_18
  4. In the Import Set Runs tab, verify the State of the import run is Complete. After the run is complete, click the Import Set Rows tab.
    Note: Service Graph Connector imports data from Tanium endpoints in batches of 1000. The process to import data from Tanium endpoints into ServiceNow is approximately 100,000 endpoints per hour. The processing time of the data collected by ServiceNow from Tanium Asset depends on the configuration of your ServiceNow instance. For example, 100,000 endpoints can take several hours for ServiceNow to process and make available in the ServiceNow CMDB.
  5. Click to open an individual Tanium endpoint data set to view its contents.
    Figure 5. Setting Up your SGC Integration 20
    Setting Up your SGC Integration_20
  6. Confirm that you can see the data collected by Service Graph Connector from Tanium for a single endpoint.

Verify endpoints were successfully imported into ServiceNow

Verify that you can view endpoints imported by Service Graph Connector for Tanium in ServiceNow.

  1. Sign in to ServiceNow.

    In the filter navigator, enter Computer. Click Configuration > Base Items > Computers.

    Figure 6. Setting Up your SGC Integration 22
    Setting Up your SGC Integration_22
  2. If the Discovery source column does not appear in the table, click Personalized List cog, move Discovery source to the Selected list, and then click OK.
  3. Verify that you can see entries with a Discovery source of SG-Tanium. These are records that were either added or last updated by Service Graph Connector for Tanium.