Technical Background

The Tanium Compliance and Configuration Management integration pulls endpoint data and compliance findings using GraphQL requests through Tanium Gateway, and pulls benchmarks and rules using Tanium Comply REST APIs. This helps the customer prioritize configuration compliance issues, drive remediation, and validate whether non-compliant configurations have been addressed.

Table 1. Extended OOB Tables

OOB TabLE

Extended Tables

Import Set Row

x_taniu_tanium_cc_tanium_cc_device_import

Import Set Row

x_taniu_tanium_cc_tanium_cc_policy_import

Import Set Row

x_taniu_tanium_cc_tanium_cc_test_import

Import Set Row

x_taniu_tanium_cc_tanium_cc_test_result_import

Vulnerability Integration

x_taniu_tanium_cc_tanium_cc_integrations

Security

Roles

Role

Description

x_taniu_tanium_cc.admin

This role provides a Tanium CC Integration menu for accessing data specific to the Tanium Compliance and Configuration Management integration. This role must be combined with appropriate roles from Compliance and Configuration Management and Vulnerability Management.

x_taniu_tanium_cc.user

This role provides a Tanium CC Integration menu for viewing the Tanium Policies, Tests and Test Results. This role must be combined with appropriate roles from Compliance and Configuration Management and Vulnerability Management.

x_taniu_tanium_cc.rest

This role provides a user with the ability to send test results into ServiceNow from Tanium using a scripted rest API.

The inbound scripted REST handler now uses GlideRecordSecure for record lookups driven by request parameters. Table and record ACLs are enforced for the calling user.

The app ships all the privilege records needed for access across scopes. A clean install on the Australia release family grants them automatically. No manual approval for scope access should be required.

Software Architecture

Components

The Tanium Compliance and Configuration Management integration is split into five main components. The first component imports the benchmark data from Tanium Comply. The second component imports the rules from those benchmarks. The third component imports compliance findings sent through Tanium Gateway. The fourth component accepts compliance findings pushed from Tanium Connect through a scripted REST endpoint. The fifth component imports CI data and updates the Last Scan date.

Component

Description

TaniumCCPolicyIntegration

Retrieves the Tanium Compliance Benchmarks and stores them within the Configuration Compliance Policy table

TaniumCCTestIntegration

Retrieves the Tanium Compliance Rules and stores them within the Configuration Compliance Test table

TaniumCCTestResultIntegration

Retrieves the Tanium Compliance Findings through Tanium Gateway and stores them within the Configuration Compliance Test Result table

TaniumCCScriptedRestIntegration

Receives Compliance Findings pushed from Tanium Connect through a scripted REST endpoint. Expected values on test results are only available through this path

TaniumCCDeviceIntegration

Retrieves endpoint data from all Tanium devices through Tanium Gateway, stores them within the Discovered Item table, and updates the Last configuration compliance scan field

For more information about the processing workflows used by each component, see Integration Workflows.

Tanium CC integrations

The four pull integrations in this application are where the Tanium Comply benchmarks, rules, and Compliance Findings are imported into ServiceNow using the Vulnerability Management plugin framework provided by ServiceNow. The data pulled from Tanium is paged and each page of results is stored in an attachment which is later processed via a set of data sources attached to the scheduled job. The data source imports the contents of the attachment and then runs a transform map on the data to move it into the required tables. The transform map is modeled after the ServiceNow NVD plugin to be as efficient as possible for large amounts of data.

Script Includes

  • TaniumCCDeviceIntegration: Code used to import Tanium Client into ServiceNow. This is the legacy REST path, kept for rollback purposes.

  • TaniumCCDeviceIntegrationGQL: Code used to import Tanium endpoint data into ServiceNow through Tanium Gateway. This is the active device integration.

  • TaniumCCDeviceProcessor: Code used to transform the imported data from Tanium.

  • TaniumCCPolicyIntegration: Code used to import Tanium Comply benchmarks into ServiceNow.

  • TaniumCCPolicyProcessor: Code used to transform the imported data from Tanium Comply.

  • TaniumCCRestUtil: Utility code required to send REST messages to Tanium.

  • TaniumCCScriptedRestIntegration: Code that accepts compliance findings pushed into ServiceNow from Tanium Connect.

  • TaniumCCTestIntegration: Code used to import Tanium Comply rules into ServiceNow.

  • TaniumCCTestProcessor: Code used to transform the imported data from Tanium Comply.

  • TaniumCCTestResultIntegration: Code used to import Tanium Comply compliance findings into ServiceNow.

  • TaniumCCTestResultProcessor: Code used to transform the imported data from Tanium Comply.

  • TaniumCCUtil: Utility code required during the integration import process.

CI Lookup Rules

Tanium CC ships two lookup rule sets used to match imported devices to Configuration Items in the CMDB.

  1. Standard field match. This rule runs first and matches the Name or Serial Number using exact case.

  2. Scripted fallback rule. This rule matches the Name or Serial Number regardless of case. Some integrations normalize CMDB data to a single case. This rule only runs if the standard rule did not already find a match.

You can disable the scripted fallback if not needed for your environment.

Matching corrections are reapplied automatically on later imports. This feature ships enabled on the integration and on all lookup rules, so devices that previously matched the wrong Configuration Item are corrected when something triggers the reapply lookup rules action.

Tables

Tables

Fields

Tanium CC Device Import
  • host_name: String holding the Hostname

  • ip_address: String holding the IP Address

  • computer_id: String holding the Tanium Computer ID

  • last_registration: String holding the last registration time of the Tanium Client

Tanium CC Host Attribute
  • name: String holding the Hostname

  • id: String holding the Tanium Computer ID

  • ip_address: String holding the IP Address

  • mac_address: String holding the MAC Address

  • fqdn: String holding the FQDN

  • serial_number: String holding the serial number

Tanium CC Policy Import
  • source_id: String holding the benchmark id

  • source_created: String holding the date when the benchmark was created

  • source_updated: String holding the date when the benchmark was last updated

  • short_description: String holding the title of the benchmark

  • version: String holding the version of the benchmark •

  • description: String holding the description of the benchmark

Tanium CC Test Import
  • benchmark_id: String holding the id of the benchmark where the rule is used

  • rule_id: String holding the id of the rule

  • created_at: String holding the date when the rule was created

  • updated_at: String holding the date when the rules was last updated

  • short_description: String holding the title of the rule

  • description: String holding the description of the rule

  • remediation: String holding the information on how to fix the configuration

  • severity: String holding the severity of the rule

Tanium CC Test Result Import
  • DNS Name: String holding the FQDN of the endpoint tested

  • Hostname: String holding the hostname of the endpoint tested

  • IP Address: String holding the IP address of the endpoint tested

  • Serial Number: String holding the serial number of the endpoint tested

  • checkID: String holding the identifier for the benchmark/profile/rule

  • ruleID: String holding the OVAL id

  • category: String holding the test result category

  • state: String holding the result of the test

  • Expected States: String holding the expected state for the test

  • Actual Values: String holding the actual values returned by the test

Tanium CC Integrations
  • Connection Status: Boolean to show if ServiceNow can connect with Tanium.

Expected States populate only when results are sent through the scripted REST push or import path. The Comply GraphQL API does not expose them.

Integration Workflows

This section outlines the processing and workflows of the Tanium Compliance and Configuration Management integration.

Figure 1. CC Workflow
CC-Workflow