Installation and Configuration
This section assists with the preparation of the customer's instance in order to enable Tanium Compliance and Configuration integration components to function properly.
Install
- Obtain the Tanium Compliance and Configuration Management integration application from the ServiceNow platform store.
- Follow the Guided Setup wizard to complete the installation.
Configure the integration
There are two options to set up the integration. You can either use the Guided Setup within the Tanium CC Integration menu, or follow these steps:
- Verify that a discovery source for CC-Tanium is available. Add the discovery source if it does not already exist.
- Sign in to ServiceNow. In the filter navigator, enter CI Class Manager. Click Open Hierarchy. In the Hierarchy, click Configuration Item. In the Configuration Item menu, click Attributes.
- Filter the list of attributes. In the table header, click Toggle Filters. Under Column label, type Discovery and press Enter.
- Click Discovery source.
- Click the Choices tab. In the table header, click Toggle Filters. Under Label, type CC-Tanium and press Enter. If a CC-Tanium item is listed, no further action is required.
- If a row with CC-Tanium is not in the list, click New. Type CC-Tanium (case sensitive) for the Label and Value fields, and then click Submit.
- Setup users with correct roles:
- 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.
- Add the role x_taniu_tanium_cc.rest.
- Setup scripted REST API user account
- Create a ServiceNow service account.
- Enable the Web Service Access only checkbox.
- Add the role x_taniu_tanium_cc.rest.
- Setup mid server (optional)
- Go to Mid Server > Capabilities.
- Select TaniumCC from the list.
- Edit the MID Servers and select the MID Servers that will be used to communicate with Tanium.
- Capture the IP addresses of these MID Servers for the Tanium API token that is required
- Setup Integration Instance Parameters
- Activate Tanium Integrations
Check Connection job
The Tanium CC - Check Connection scheduled job periodically verifies that the integration can reach Tanium.
-
Ships active by default.
-
Runs every 6 hours. An administrator can change the interval using the Repeat Interval setting for the job, also called run_period.
-
Writes a Boolean flag that shows connection status. It does not update any system properties.
-
This is a separate job from the weekly Tanium CC - Rotate API Token job. That job is unchanged in this release.
CI Handling Configuration Flags
|
Flag |
When enabled |
When disabled |
|---|---|---|
|
allow_ci_create |
Creates a new CMDB configuration item, and its source CI, for a device that has no existing CI |
Does not create CIs for unmatched devices. Those rows are ignored |
|
allow_ci_update |
Updates an existing matched CI with incoming data |
Leaves existing CIs unchanged. The row is reported as ignored, and no new or changed CI record is expected. This is the typical setting. |
|
allow_ci_disc_item_match |
Set to true to suppress Discovered Item matching. |
Set to false to enable Discovered Item matching, which creates or matches the Discovered Item record so findings link to it. This flag is set to false by default. |
Tanium Egress Rules
In order allow Tanium to send the connect job to ServiceNow you will also need to consult with Tanium to add ServiceNow to the connect whitelist.
Tanium User Account
The Tanium user account that will be used to connect will need to be part of the following roles within Tanium:
-
API Gateway User
-
Comply Operator
-
Interact Basic User
Creating API tokens for ServiceNow
API tokens for ServiceNow integrations
API authentication tokens enable users to secure sessions between ServiceNow integrations and your Tanium environment. One API token is required for each service account or persona that you use to work in a ServiceNow integration. After you create an API token in your Tanium instance, you can then enter the API token as a system property when configuring the integration in ServiceNow. Scheduled jobs in ServiceNow automatically rotate the tokens every seven days by default.
RBAC for API tokens
Consider the following factors when you select a service account or a persona to associate with a token:
-
Service account: A service account is a user account that no specific user owns. Using a service account instead of a persona gives you more visibility into who is making changes during a session. All users who use the service account must share its credentials. For more information, see Configure a service account.
-
Persona: Using a persona enables you to configure one set of RBAC controls (such as role and computer group assignments) that apply to all the users who are assigned to that persona. For more information, see Configure a persona.
Trusted IP addresses for API tokens
Each API token specifies trusted IP addresses for the ServiceNow environment that communicates with Tanium. Tokens can only authenticate traffic that originates from the defined IP ranges. To enhance security, restrict token access to only the IP address ranges that are associated with your ServiceNow environment.
Before you create an API token, determine the appropriate trusted IP addresses for your environment:
-
On-Premises: Record the IP addresses of the management, instrumentation, and discovery (MID) servers that faciliate communication between your ServiceNow instances and the Tanium environment.
-
Cloud: Record the Source address used for integrations into customer network with NO VPN ranges of your ServiceNow instance. This is a /29 IP address range. Because production environments span two data centers, customers must allow addresses from both /29 IP ranges to ensure reliable connectivity.
To identify the IP addresses in your ServiceNow instance, see the ServiceNow Support KB article Finding the IP address information for your instance.
Configure a service account
Associating an API token with a service account instead of a persona is a best practice, as described in RBAC for API tokens. If an account for the integration already exists, edit that account to assign the necessary roles. Otherwise, configure the assignments when you create a new account.
Perform the following steps to configure a service account. All the links in these steps are to the Tanium Console User Guide.
- In Tanium Console, create a service account for your ServiceNow integration if the account does not already exist. For the steps, see Create a user.
- Assign the following roles to the account. For the steps, see Manage role assignments for a user.
- Comply Operator
- Interact Basic User
- Gateway User
- Click Save to save the account configuration.
For more information about how to create and configure user accounts in Tanium Console, see Managing users.
Configure a persona
Associate a persona with an API token only if you do not use a service account, as described in RBAC for API tokens. If a persona for the integration already exists, edit that persona to assign the necessary roles and users. Otherwise, configure the assignments when you create a persona.
Perform the following steps to configure a persona. All the links in these steps are to the Tanium Console User Guide.
- In Tanium Console, create a persona if the persona for your ServiceNow integration does not already exist.
- Assign the following roles to the persona, as described in Manage role assignments for a persona:
- Comply Operator
- Interact Basic User
- Gateway User
- Assign users to the persona, as described in Manage user assignments for a persona.
- Click Save to save the persona configuration. If you created a new persona, you must perform a hard refresh on your browser tab before the persona becomes available to select for your current Tanium session.
Create API tokens
Review the prerequisites and best practices in API tokens for ServiceNow integrations before you create tokens. Then perform the following steps for each token.
Set up sensor harvesting
After you create the token, you must register several sensors with Tanium™ Data Service (TDS) to ensure that TDS periodically harvests the latest results for those sensors.
Create a Tanium Connect job for compliance findings
Create a Tanium Connect job to push the Tanium Comply Compliance Findings to ServiceNow:
- Sign in to Tanium Console as a user who has the role permissions to create connections. For more information, see User role requirements.
- From the Main menu, go to and click Create Connection.
- For the Connection:
- Click Save.
Test the configuration
- Sign in to the ServiceNow dashboard, go to the scheduled job Tanium CC – Check Connection, and run it. Wait for the job to finish before continuing.
- Go to and verify that each integration status is green.