Configuring Live UI in ServiceNow

After you install the Tanium Live UI application, perform the following configuration tasks:

  1. Add endpoints to your ServiceNow instance.
  2. Collect information for Tanium SDK system properties.
  3. Configure Tanium SDK.
  4. Sync Tanium packages and sensors.
  5. Create quick access buttons for Tanium packages and sensors.
  6. Enable the Launch Tanium Live UI button.

The UI for your ServiceNow instance provides a Guided Setup to configure the Tanium Software Development Kit (SDK) application and for synchronizing Tanium data with the instance. In the Guided Setup, a navigation pane shows your progress through the setup as a percentage and shows a circle for each section. A check mark in the circle indicates you completed the section. Hover over a circle to see the section name. Click a circle to go to the section.

Figure 1. Navigation pane
Navigation pane

Add endpoints to your ServiceNow instance

Use the ServiceNow Service Graph Connector for Tanium (best practice) or use Tanium Asset destination for ServiceNow to add endpoints as configuration items (CIs) to your ServiceNow instance. The endpoints that you add must match the endpoints in your Tanium environment. The endpoints must be present in the instance before you can monitor and investigate them in Live UI.

Collect information for Tanium SDK system properties

Perform the following tasks before you configure system properties for Tanium SDK.

Determine the URLs for API Endpoints

Find the fully qualified domain name (FQDN) or IP address of your Tanium Server (on-premises environment) or of Tanium Cloud to determine the URLs for the following API endpoints:

  • Tanium API endpoint

    The API endpoint URL is the URL of the Tanium Server or Tanium Cloud but with /api/v2 appended to the end. For example, if the Tanium Server IP address is 10.0.1.255, the endpoint URL is https://10.0.1.255/api/v2. For Tanium Cloud, you must also append ‑api to the end of the subdomain. For example, if the FQDN is cloud‑example.cloud.tanium.com, the endpoint URL is https://cloud‑example‑api.cloud.tanium.com/api/v2.

  • Tanium module API endpoint

    The API endpoint URL is the URL of the Tanium Server or Tanium Cloud but with /plugin/products appended to the end. For example, if the Tanium Server IP address is 10.0.1.255, the endpoint URL is https://10.0.1.255/plugin/products. For Tanium Cloud, you must also append -api to the end of the subdomain. For example, if the FQDN is cloud‑example.cloud.tanium.com, the endpoint URL is https://cloud‑example‑api.cloud.tanium.com/plugin/products.

Determine the MID server name

Record the name (not the ServiceNow sys_id) of the management, instrumentation, and discovery (MID) server if your ServiceNow instance uses such a server for connecting to your Tanium environment. For more information about MID servers, see Infrastructure.

  1. Sign in to your ServiceNow instance.
  2. In the Main menu, click All, enter mid servers in the filter Filter field, and click MID Servers.

Determine the action group ID

Perform the steps in View action groups to view the ID of the Default - All Computers action group and then record the ID.

Configure Tanium SDK

Configure Tanium SDK to enable your ServiceNow instance to connect with your Tanium environment. Certain SDK system properties that you configure affect the behavior of Live UI.

Access the SDK guided setup

  1. Sign in to your ServiceNow instance.
    Note: If you are already signed in to the instance and just finished installing applications (such as Tanium SDK), perform a hard refresh of your current browser tab to show the new applications in the instance UI.
  2. In the Main menu, click Scope Scope, enter sdk in the filter Filter field, and select Tanium SDK.
  3. In the Main menu, click All, enter tanium sdk in the filter Filter field, and click Guided Setup.
  4. Perform the following tasks on the Tanium Integration Core Setup page:
    1. Set system properties
    2. Sync Tanium packages and sensors
    3. Run automated tests

Set system properties

Perform the following steps on the Tanium Integration Core Setup page. To access the page, see Access the SDK guided setup.

  1. Go to the Set System Properties section and click Get Started for a first-time setup or Edit for an existing setup.
  2. Configure the system properties that are required for your integration. The following table lists the properties that Live UI requires. Click Configure in the header of any system property to open the configuration page.
    Table 1. System properties

    System Property

    Description

    Tanium API Endpoint

    Enter the URL or IP address of the Tanium Server (on-premises environment) or of Tanium Cloud, with the API path prefix /api/v2 appended to the end. For more information, see Determine the URLs for API Endpoints.

    Tanium Module API Endpoint

    Enter the URL or IP address of the Tanium Server (on-premises environment) or of Tanium Cloud, with the API path prefix /plugin/products appended to the end. For more information, see Determine the URLs for API Endpoints.

    Note: When you use this property for an API call, the Tanium module name, API version, and API method name are automatically appended. For example, if the Tanium Server IP address is 10.0.1.255 and the module is Tanium™ Deploy, the value in an API call is https://10.0.1.255/plugin/products/deploy/v1/<api_method>.

    Tanium API Token

    Enter the API token that the integration uses for API requests. For more information, see Creating API tokens in ServiceNow.

    The ServiceNow scheduled job Get new API token - Tanium Integration Core rotates the Tanium SDK token every seven days, but the job is disabled by default. To enable the job:

    1. On the properties configuration page, click the scheduled job link to open the job settings in a new browser tab.

    2. Select Active and click Update.

    Note: Use the Tanium API Token property for authenticating instead of the Tanium Username/Password properties, which are deprecated.

    Default MID Server

    Enter the name (not the ServiceNow sys_id) of the MID server if your ServiceNow instance uses such a server for connecting to your Tanium environment. For more information, see Infrastructure.

    Identify Endpoint by Fields

    Choose whether the application uniquely identifies Tanium-managed endpoints in your environment using their FQDNs, serial numbers, or both. Your choice depends on whether FQDNs or serial numbers are unique for all the endpoints and have consistent values between your Tanium environment and ServiceNow CMDB. In a Tanium environment, you can see the values by issuing a question with the sensors Computer Name (for FQDNs) and Computer Serial Number. In a ServiceNow CMDB, the corresponding fields are fqdn and serial_number.

    Note: Serial numbers might not be unique for endpoints in an environment where some virtual machines are provisioned through cloning without being issued new serial numbers.
    • Serial number or FQDN (default)

      The application attempts to uniquely identify each endpoint using three methods in the following order. If any method successfully identifies an endpoint, the application skips the remaining methods for that endpoint:

      1. Check if any endpoint precisely matches both the serial number and FQDN.

      2. Check for any endpoint with a serial number that is consistent between your Tanium and ServiceNow environments.

      3. Check for any endpoint with an FQDN that is consistent between your Tanium and ServiceNow environments.

    • FQDN or serial number

      The application attempts to uniquely identify each endpoint using three methods in the following order. If any method successfully identifies an endpoint, the application skips the remaining methods for that endpoint:

      1. Check if any endpoint precisely matches both the serial number and FQDN.

      2. Check for any endpoint with an FQDN that is consistent between your Tanium and ServiceNow environments.

      3. Check for any endpoint with a serial number that is consistent between your Tanium and ServiceNow environments.

    • FQDN and serial number

      The application attempts to uniquely identify each endpoint by the combination of its FQDN and serial number. If the combination does not exactly match an endpoint, the endpoint is treated as unmanaged and inaccessible.

      Note: Use this option only if you cannot rely on the uniqueness or consistency of the serial numbers or FQDNs and you must be absolutely certain that you are targeting the correct endpoint.
    • Serial number

      The application attempts to uniquely identify each endpoint by serial number alone.

    • FQDN

      The application attempts to uniquely identify each endpoint by FQDN alone.

    "Default - All Computers" Action Group ID

    Enter the ID of the Default - All Computers action group. For the steps to view the ID, see View action groups.

    Default Deploy Duration

    Enter the default duration (in hours) for a deployment using the TaniumDeployUtil Script Include.

    Log Tanium Actions

    Select this option to maintain a log of Tanium actions that are performed through the default API interfaces of Tanium SDK. ServiceNow maintains logs in the Tanium Action History table (x_taniu_tan_core_tan_action_history).

    Performance Module Enabled

    Select this option if the Tanium™ Performance module is installed in your Tanium environment.

    Disable Max HTTP Timeout

    If you encounter issues when trying to establish direct connections with endpoints, consider disabling the glide.http.outbound.max_timeout.enabled system property by setting it to false. This applies to all HTTP transactions and removes the maximum HTTP timeout limit, which otherwise has a maximum value of 30 seconds. If the property does not exist, you might need to create it.

    Track Direct Connect Actions in Action History

    Select this option to record the actions that initiate direct endpoint connections through the Tanium™ Direct Connect shared service. ServiceNow records the actions in the Tanium Action History table [x_taniu_tan_core_tan_action_history].

  3. Click Save and close the dialog.
  4. Click Mark as Complete for each property that you configured.

Sync Tanium packages and sensors

In your ServiceNow instance, a scheduled script automatically synchronizes packages and sensors from your Tanium environment to the instance. Perform the following steps to run the script immediately for the first time.

  1. On the Tanium Integration Core Setup page, go to the Sync Tanium Packages and Sensors section, and click Get Started for a first-time synchronization or Edit for a repeat synchronization.
    Note: To access the page, see Access the SDK guided setup.
  2. Synchronize Tanium packages:
    1. In the Sync Tanium Action Packages section, click Configure to open the Sync Tanium Action Packages page.
    2. Select Active and click Update.
    3. Click Configure to reopen the Sync Tanium Action Packages page, and then click Execute Now.
    4. Return to the Tanium Integration Core Setup page and click Mark as Complete in the Sync Tanium Action Packages section.
  3. Synchronize Tanium sensors:
    1. In the Sync Tanium Sensors section, click Configure to open the Sync Tanium Sensors page.
    2. Select Active and click Update.
    3. Click Configure to reopen the Sync Tanium Sensors page, and then click Execute Now.
    4. Return to the Tanium Integration Core Setup page and click Mark as Complete in the Sync Tanium Sensors section.
  4. Synchronize Tanium Deploy packages:
    1. In the Sync Tanium Deploy Packages section, click Configure to open the Sync Tanium Deploy Packages page.
    2. Select Active and click Update.
    3. Click Configure to reopen the Sync Tanium Deploy Packages page, and then click Execute Now.
    4. Return to the Tanium Integration Core Setup page and click Mark as Complete in the Sync Tanium Deploy Packages section.

To use these packages and sensors during incident investigations, create quick access buttons in Live UI. For more information, see Create quick access buttons for Tanium packages and sensors.

Run automated tests

Perform the following steps to validate that you configured Tanium SDK successfully and that your ServiceNow instance can communicate with your Tanium environment. The tests use the ServiceNow Automated Test Framework (ATF) to test authentication, test integration with the Tanium Gateway shared service, and verify that the required system properties are configured. The tests detect issues such as a Tanium Server URI that is not valid or accessible, non-working credentials, a misconfigured MID server, RBAC permissions issues in the Tanium or ServiceNow environment, and access control list (ACL) permissions in the ServiceNow environment.

  1. On the Tanium Integration Core Setup page, go to the Run Automated Tests section.
    Note: To access the page, see Access the SDK guided setup.
  2. Click Get Started for a first-time test or Edit for a subsequent test, click Configure, and click Execute Now.
  3. Click Close if the Run Test Suite dialog shows no errors. Otherwise, click Go to Result to troubleshoot the errors.

    The Test Suite Result page shows a one-click fix option for issues that the ServiceNow instance can resolve automatically. Consult your ServiceNow administrator to resolve issues that the instance cannot resolve automatically.

Create quick access buttons for Tanium packages and sensors

Create quick access buttons in Live UI to streamline incident investigation and response using your Tanium action packages, sensors, and deploy packages. For example, create a Disk Free Space button that uses the corresponding sensor to check available disk space on an endpoint.

  1. In the Main menu, click All, and enter tanium in the filter Filter field.
  2. Depending on whether you want to create a button to access an action, sensor, or deploy package, perform one of the following actions:
    • Click Configured Actions > New.
    • Click Configured Sensors > New.
    • Click Deploy Software Packages > New.
  3. On the new record page, configure the following details:
    1. Enter a name for the button. This name appears in Live UI.
    2. Select the package or sensor you want to use.
    3. (Optional) Enter a description.
  4. Click Submit.

The quick access buttons appear after the CPU, RAM, and Disk metrics section in Live UI. The following image shows example quick access buttons:

Figure 2. Live UI with example quick access buttons
Live UI with example quick access buttons

Enable the Launch Tanium Live UI button

Note: Configuring these settings requires the ServiceNow administrator role.

Configure the Launch Tanium Live UI button to show on incident forms, change requests, and configuration items (CIs) in ServiceNow. For more information about these and other Live UI settings, see Reference: Settings in Live UI in ServiceNow.

  1. In the Main menu, click All, enter live ui in the filter Filter field, and click Settings.
  2. To show the button on incident forms, select Enable or disable showing the "Launch Tanium Live UI" UI Action (button) on the Incident form.
  3. To show the button on change requests, select Enable or disable showing the "Launch Tanium Live UI" UI Action (button) on the Change form.
  4. To show the button for configuration items, select Enable or disable showing the "Launch Tanium Live UI" UI Action (button) on the form for any table that extends (or is) cmdb_ci_computer.