Tanium API Gateway
runZero integrates with Tanium by importing data from the Tanium API Gateway. This integration allows you to sync data about your endpoints from Tanium to provide better visibility over your network.
Getting started with Tanium
To set up an integration with Tanium, you’ll need to:
- Generate an API token with the necessary permissions.
- Configure the Tanium credential in runZero.
- Choose whether to configure the integration as a scan probe or connector task.
- Activate the integration to pull your data into runZero.
Step 1: Generate an API key in Tanium Dashboard
- Log in to Tanium and navigate to Administration > Roles.
- Create a role with the necessary permissions:
- Search for the Gateway User role.
- Select it and click the Clone button that appears to create a copy of this role.
- On the Clone Role screen, enable Platform Content Permissions > Sensor > Read and add these Content Sets (via the n+ button beside the green check):
- Base
- Comply Reporting
- Core AD Query Content
- Core Content
- Reserved
- Tanium Data Service
- Save the role.
- Navigate to Administration > Personas and click New Persona to create a persona using the role you just created:
- Name the persona.
- Under Manage Roles, search for and apply your new role.
- Under Computer Groups, add the groups you need, or check Unrestricted Management Rights to allow access to all Computer Groups.
- Assign a user or service account which has the permissions granted to the persona.
- Save the persona.
- Navigate to Administration > API Tokens and click New API Token.
- Enter a name and select a TTL.
- Select the persona you just created from the dropdown (you may need to refresh the page for it to appear).
- Enter IP addresses to allow requests from:
- If you will run the integration via an Explorer or Scanner, enter the IP addresses or ranges of your host(s);
- Otherwise, enter
0.0.0.0/0
.
- Save the API token.
Step 2: Add the Tanium API token to runZero
- Go to the Credentials page in runZero.
- Choose Tanium API Token from the list of credential types.
- Provide a name for the credential, like
Tanium
. - Provide the following information:
- Tanium API URL - Your Tanium API Gateway URL. The full URL will be something like
https://<customername>-api.cloud.tanium.com/plugin/products/gateway/graphql
. If the path (/plugin/products/gateway/graphql
) is omitted, it will be added automatically when the API is called. - Tanium API token - The API token (including the
token-
prefix) created in step 1.
- Tanium API URL - Your Tanium API Gateway URL. The full URL will be something like
- If you want other organizations to be able to use this credential, select the
Make this a global credential
option. Otherwise, you can configure access on a per-organization basis. - Verify and save the credential.
You’re now ready to set up and activate the connection to bring in data from Tanium.
Step 3: Choose how to configure the Tanium integration
The Tanium integration can be configured as either a scan probe or a connector task. Scan probes gather data from integrations during scan tasks. Connector tasks run independently from either the cloud or one of your Explorers, only performing the integration sync.
Step 4: Set up and activate the integration to sync data
After you add your Tanium credential, you’ll need to sync your data from Tanium.
Step 4a: Configure the Tanium integration as a connector task
A connection requires you to specify a schedule and choose a site. The schedule determines when the sync occurs, and the site determines where any new Tanium-only assets are created.
- Activate a connection to Tanium. You can access all available third-party connections from the integrations page, your inventory, or the tasks page.
- Choose the credentials you added earlier. If you don’t see the credentials listed, make sure the credentials have access to the organization you are currently in.
- Optionally provide a list of computer groups to include in the import. The list must be comma-separated. We will only import data for the computer groups specified.
- Enter a name for the task, like
Tanium Sync
(optional). - Choose the Explorer to perform this connector task from (optional).
- Choose the site you want to add your assets to. All newly discovered assets will be stored in this site.
- Enter a description for the task (optional).
- If you want to exclude assets that have not been scanned by runZero from your integration import, switch the Exclude unknown assets toggle to
Yes
. By default, the integration will include assets that have not been scanned by runZero. - Schedule the sync. A sync can be set to run on a recurring schedule or run once. The schedule will start on the date and time you have set.
- Activate the connection when you are done. The sync will run on the defined schedule. You can always check the Scheduled tasks to see when the next sync will occur.
Step 4b: Configure the Tanium integration as a scan probe
You can run the Tanium integration as a scan probe so that the runZero Explorer will pull your Tanium assets into the runZero Console.
In a new or existing scan configuration:
- Ensure that the
TANIUM
option is set toYes
in theProbes and SNMP
tab and change any of the default options if needed. - Set the correct
TANIUM
credential toYes
in theCredentials
tab.
Step 5: View Tanium assets
After a successful sync, you can go to your inventory to view your Tanium assets. These assets will have a Tanium icon listed in the Source column.
To filter by Tanium assets, consider running the following queries:
- View all Tanium assets:
source:Tanium
Click into each asset to see its individual attributes. runZero will show you the attributes gathered from Tanium.