Create API tokens for Tanium Exposure Management for ServiceNow
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 factor when you select a persona to associate with a token: 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.
Configure a persona
Associate a persona with an API token 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.
- 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.
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 How to find IP address and datacenter information for your instance.
Create API tokens
Review the prerequisites and best practices in Create API tokens for Tanium Exposure Management for ServiceNow before you create tokens. Then perform the following steps for each token.