Creating connections to push data to Tanium Vulnerability Management for ServiceNow

You must create two connections in Tanium Connect to push vulnerability findings and CVE status to ServiceNow.

Before you begin

Before you create the connections, you must create a sensor and report that contains the Tanium data to send to ServiceNow. For more information, see Preparing Tanium CVE status data for ServiceNow.

Tip: Review your existing connection runs in Tanium and imports in ServiceNow to make sure that the schedules are staggered and do not cause interference with other data processes.

Create connection for vulnerability findings

Create a connection in Tanium Connect with an HTTP destination to push Tanium Comply vulnerability findings to ServiceNow.

  1. In Tanium Console, open the Main menu and go to Modules > Connect > Overview. Go to the Connections section and click Create Connection.
  2. In the General Information section, specify the following settings:
    • Name: SN – Vulnerability – <sn_instance>, replace <sn_instance> with your instance information
    • Description: This connection provides vulnerability findings to ServiceNow
  3. In the Configuration section, specify the following source settings:
    • Source: Tanium Comply (Findings)
    • Finding Type: Vulnerability
    • Filter by Report: Select a report only use if you want to filter the findings sent to ServiceNow by the report
    • Created With Version: Choose the default option
  4. In the Configuration section, specify the following destination settings to define the ServiceNow endpoint to which Tanium can send HTTP post requests:
    • Destination: HTTP

    • Destination Name: SN - <sn_instance>, replace <sn_instance> with your instance information

    • URL: https://<sn_instance>.service-now.com/api/x_taniu_tanium_vr/tanium_vr_vulnerability_findings?taniuminstance=<sn_instance>, replace <tanium_instance> with your instance information

    • Method: POST

    • Headers: Content-Type | application/json

    • Use Authentication: Basic Authentication

    • User Name: Enter the username of the ServiceNow service account. For more information about creating this account, see Create and assign roles for a service account.

    • Password: Enter the password for ServiceNow service account

    • Advanced: Expand Advanced, select Restrict data sent by batch size, and then configure the following settings:

      • Batch Size Unit: Bytes

      • Batch Size (Bytes): 9000000

      • Timeout: 30 (seconds)

    Note: If you want to configure this connection using a ServiceNow API key instead of Basic Authentication, see Reference: Header authentication setup for Tanium Vulnerability Management in ServiceNow.
  5. In the Configure Output section, create a filter to define the data sent from the connection to ServiceNow:
    Note: These steps include using a New Items filter in the connection. For more information about the New Items filter, see New Items.
    1. Expand Filters, click + Add Filter, and select New Items.
    2. Specify the following settings:
      • Persists the filter to disk between connection runs: Enable (selected)

      • Learning Period: 0 (days)

      • Schedule Filter Reset Days: Specify a cadence that works with your other connection schedules to send the full bulk upload

        Tip: Set the filter reset to occur on the weekend. For example, if the Connect job schedule is weekly starting on Monday, reset the filter every five days for weekly, and every 12 days for bi-weekly.
      • Continue Learning: Enable (selected)

    3. Expand Columns to select the column names to index. In the Available Items list, find the following columns and add them to the Selected Items list:
      • Actual Values

      • Affected Platforms

      • Affected Products

      • Computer ID

      • Computer Name

      • Computer Serial Number

      • Common Platform Enumerations

      • CVE

      • Detected Common Platform Enumerations

      • Detected Products

      • Expected States

      • First Found Date

      • Last Found Date (If your learning period is set to 0, the Last Found Date value is set to the last scan. If you remove this column, data is sent only if any of the other column values change.)

      • Last Scan Date

      • Remediation

      • Solution Links

      • Tanium Client IP Address

      Tip: There are multiple Columns sections on the page. Be sure to expand the Columns section that appears in the New Items filter section.
      Note: The Common Platform Enumerations, Detected Common Platform Enumerations, and Detected Products columns are only available in environments with Tanium Vulnerability Management for ServiceNow 1.7.0 or later, and Tanium Comply 2.33 or later.

      In previous versions, the Affected Products and Common Platform Enumerations columns contained Tanium Vulnerability Library (TVL) reference data in addition to vulnerable products found. In Tanium Comply 2.33 or later, vulnerable products and Common Platform Enumerations are contained in the Detected Products and Detected Common Platform Enumerations columns, while the Affected Products and Common Platform Enumerations columns contain TVL data. If no TVL data exists, then Affected Products contains the value of Detected Products. The data split provides more accurate routing, prioritization, and workflow automation.

      If you create a connection in an environment with Tanium Comply 2.32 or earlier, and then upgrade Tanium Comply to 2.33 or later, the connection does not change. To use the latest sensors, create a connection with these steps that include the Common Platform Enumerations, Detected Common Platform Enumerations, and Detected Products columns. After you create the connection, verify the Common Platform Enumerations, Detected Common Platform Enumerations, and Detected Products columns are populated. You might also see format changes in the exported data, such as date changes, values of [no results], and comma-delimited lists. After you successfully test the new connection, delete the old connection.

  6. Expand the Format subsection and specify the following settings to configure the output format:
    • Format: CSV
    • Include Headers: Enable (selected)
    • Detect Dynamic Data Exchange (DDE): Enable (selected)
  7. In the Columns subsection that appears in the Configure Output section, select the columns to send in the connection.
    1. Expand Columns and deselect the default column names.
      Tip: Click the checkbox next to Source to select all columns. Click the checkbox again to deselect all columns.
    2. Select the following columns:
      • Computer ID

      • Computer Name

      • Computer Serial Number

      • Common Platform Enumerations

      • CVE

      • Detected Common Platform Enumerations

      • Detected Products

      • First Found Date

      • Last Found Date

      • Last Scan Date

      • Solution Links

      • Remediation

      • Affected Products

      • Affected Platforms

      • Expected States

      • Actual Values

      • Tanium Client IP Address

  8. In the Schedule section, specify the following settings to define when the connection exports data to ServiceNow:
    • Enable Schedule: Enable (selected)
    • Schedule Type: Basic
    • Timezone: Local
    • Frequency: One run per day, every day
    • Time: 2:00:00 AM
    Tip: Adjust your settings as necessary to ensure that schedules are staggered and do not cause interference with other data processes.
  9. After you enter the details for the connection, click Save.
    CAUTION: If you click Run and Save to immediately run the connection, the large data set might interfere with other running connections or ServiceNow imports.

If needed, resolve any errors or missing information. After the connection creates successfully, the connection details appear.

Create connection to push CVE status

Create a connection in Tanium Connect to sync CVE status between Tanium and ServiceNow. For example, if a CVE is resolved in Tanium, the CVE can also be marked as resolved in ServiceNow.

  1. In Tanium Console, open the Main menu and go to Modules > Connect > Overview. Go to the Connections section and click Create Connection.
  2. In the General Information section, specify the following settings:
    • Name: SN – VR CVE Status – <sn_instance>, replace <sn_instance> with your instance information
    • Description: This connection provides CVE status data to ServiceNow
  3. In the Configuration section, specify the following source settings:
    • Source: Tanium Reporting (Source Data)
    • Report: CVE Status - 45 days (for information about this report, see Create a report for the CVE status)
    • Report View: Select a report only use if you want to filter the findings sent to ServiceNow by the report
    • Group Columns By Sensor: Disable (deselected)
  4. In the Configuration section, specify the following destination settings to define the ServiceNow endpoint to which Tanium can send HTTP post requests:
    • Destination: HTTP

    • Destination Name: SN - VR CVE Status - <sn_instance>, replace <sn_instance> with your instance information

    • URL: https://<sn_instance>.service-now.com/api/x_taniu_tanium_vr/tanium_vr_cve_status?taniuminstance=<tanium_instance>, replace <tanium_instance> with your instance information

    • Method: POST

    • Headers: Content-Type | application/json

    • Use Authentication: Basic Authentication

    • User Name: Enter the username of the ServiceNow service account. For more information about creating this account, see Create and assign roles for a service account.

    • Password: Enter the password for ServiceNow service account

    • Advanced: Expand Advanced, select Restrict data sent by batch size, and then configure the following settings:

      • Batch Size Unit: Bytes

      • Batch Size (Bytes): 9000000

      • Timeout: 30 (seconds)

  5. In the Configure Output section, create a filter to define the data sent from the connection to ServiceNow:
    Note: These steps include using a New Items filter in the connection. For more information about the New Items filter, see New Items.
    1. Expand Filters, click + Add Filter, and select New Items.
    2. Specify the following settings:
      • Persists the filter to disk between connection runs: Enable (selected)

      • Learning Period: 0 (days)

      • Schedule Filter Reset Days: Specify a cadence that works with your other connection schedules to send the full bulk upload

        Tip: Set the filter reset to occur on the weekend. For example, if the Connect job schedule is weekly starting on Monday, reset the filter every five days for weekly, and every 12 days for bi-weekly.
      • Continue Learning: Enable (selected)

      • Expand Columns to select the column name to index. In the Available Items list, find the following column and add it to the Selected Items list:

        • Resolution - Date

        Tip: There are multiple Columns sections on the page. Be sure to expand the Columns section that appears in the New Items filter section.
  6. In the Configure Output section, expand the Format subsection and specify the following settings to configure the output format:
    • Format: CSV
    • Include Headers: Enable (selected)
    • Detect Dynamic Data Exchange (DDE): Enable (selected)
  7. In the Configure Output section, expand the Columns subsection to select the column names to index. In the Available Items list, find the following columns and add them to the Selected Items list:
    • Computer ID
    • Computer Name
    • Computer Serial Number
    • CVE
    • Resolution - Date
    • Status
    • Tanium Client IP Address
  8. In the Schedule section, specify the following settings to define when the connection exports data to ServiceNow:
    • Enable Schedule: Enable (selected)
    • Schedule Type: Basic
    • Timezone: Local
    • Frequency: One run per day, every day
    • Time: 4:00:00 AM
    Tip: Adjust your settings as necessary to ensure that schedules are staggered and do not cause interference with other data processes.
  9. After you enter the details for the connection, click Save.
    CAUTION: If you click Run and Save to immediately run the connection, the large data set might interfere with other running connections or ServiceNow imports.

If needed, resolve any errors or missing information. After the connection creates successfully, the connection details appear.