Preparing Tanium CVE status data for ServiceNow

To send CVE status data from a Tanium instance to ServiceNow, you must create a sensor that pulls the data, enable the sensor to collect the data, and then create a report that includes the CVE status.

Create a sensor to pull CVE status

  1. In Tanium Console, go to Administration > Content > Sensors, and then click New Sensor.
  2. Configure the sensor with the following settings:
    1. Details section:
      • Name: Custom Comply – CVE Findings – Resolution Complete

      • Description: Returns the resolution date, days open and current status for all observed vulnerabilities that the endpoint has been vulnerable to within the last X days.

      • Content Set: Comply Reporting

    2. Settings section:
      • Category: Compliance

      • Result Type: Text

      • Max Sensor Age: 15 Minutes

      • Max String Age: Enable for 7 days

      • Max Strings: Deselected (disabled)

      • Ignore case in result values: Selected (enabled)

      • Hide this sensor from sensor lists and parse results: Deselected (disabled)

      • Split into multiple columns: Selected (enabled)

      • Use Delimiter: |

    3. Column Name table (this table appears after you select Split into multiple columns):
      • 1

        • Column Name: CVE

        • Result Type: Text

      • 2

        • Column Name: First Seen

        • Result Type: Date/Time (RFC822)

      • 3

        • Column Name: Last Seen

        • Result Type: Date/Time (RFC822)

      • 4

        • Column Name: Status

        • Result Type: Text

      • 5

        • Column Name: Days Open

        • Result Type: Numeric

      • 6

        • Column Name: Resolution - Date

        • Result Type: Date/Time (RFC822)

      • 7

        • Column Name: Type

        • Result Type: Text

    4. In the Implementation section, add the scripts found at Vulnerability Management Comply Orchestration with Tanium - Appendix (Login Required), or Contact Tanium Support for the supported operating systems scripts. You must add the script for each operating system to save the sensor. For each script, ensure you select the correct Query Type that is noted with each script.
    5. Click Save.

Register sensors for data collection

In Tanium, register Tanium Comply CVE findings sensors, including the sensor that you created in the previous section, with Tanium Data Service for collection. Among other benefits, when you register sensors with Tanium Data Service, the data becomes available for use in reports through Tanium Reporting. For more information about Tanium Data Service, see Managing Tanium Data Service (TDS).

  1. In Tanium Console, open the Main menu. Go to Modules > Interact > Overview, click Settings cog, and then go to the Registration and Collection tab.
  2. Use the filter to find the Custom Comply – CVE Findings – Resolution Complete sensor that you created.
  3. In the row for the Custom Comply – CVE Findings – Resolution Complete sensor, click Actions > Add. Enter 45 Days and click Apply.
  4. Check that the following sensors are in registered status circle-check-no-border:
    • Custom Comply – CVE Findings – Resolution Complete
    • Comply – CVE Findings
    • Comply – CVE Findings – First Found
    • Comply – CVE Findings – Last Found

    To register a sensor, click Actions > Add in the corresponding row.

Create a report for the CVE status

Configure a new report in Tanium Reporting so that the data can be augmented and used by Tanium Connect.

  1. In Tanium Console, go to Data > Reports, and then click Create Report.
  2. In the Available Columns list, search for and add the following columns:
    • Computer ID (within the Reserved category)
    • Computer Name (within the Reserved category)
    • Computer Serial Number (within the Hardware category)
    • Tanium Client IP Address (within the Tanium Diagnostics category)
    • Custom Comply – CVE Findings – Resolution Complete (within the Compliance category), which is the sensor that you created in Create a sensor to pull CVE status. If prompted, include the Exclude CVEs not seen in X days parameter.
  3. In the Selected Columns list, click Flatten unflattened next to the Custom Comply – CVE Findings – Resolution Complete column to flatten the data by the sensor you created.
    Figure 1. Flatten Custom Comply
    flatten_custom_comply
  4. Add a filter row. Expand Filters and click Add Row. Specify the following values:
    • Source: Custom Comply – CVE Findings – Resolution Complete
    • Column: Status
    • Operator: is equal to
    • Value: Resolved

    Click Apply check to view the filtered report.

  5. Save the report with a name. For example: CVE Status – 45 Days.

    Remember the report name to use when you create the connection to send data to ServiceNow.