Configuring sources
Sources define how Asset gets data. By default, the source data in Asset comes from Tanium, populated from sensor data stored in Tanium Data Service. You can augment Asset inventory data with external data from custom sources or data pushed to Asset by Gateway through an Import API source. By importing data that is typically not available on an endpoint into the Asset data store, you can enable filtering and reporting on information such as department, cost center, building, and location.
Asset reconciliation
Asset reconciliation compares assets in cloud sources with existing Tanium-managed assets during the import process. If two assets have 1:1 matching reconciliation keys, the assets are merged and the asset is deleted from the cloud source. Only custom entities can be merged. Attributes associated with Tanium sensors are not overwritten. These keys are matched to identify an asset for reconciliation:
|
Source |
Key used to match for reconciliation |
|---|---|
|
AWS |
cloud_instance_id |
|
Google Cloud |
cloud_instance_id |
|
Import API |
Selected when you create the source: |
|
Microsoft Azure |
cloud_instance_id |
|
Microsoft Intune |
|
If a reconciled asset from a cloud source is not seen for 30 days, Tanium Data Service purges the asset. Asset keeps the asset in the Asset database for a few minutes beyond that but then purges the asset if still not seen. If the asset appears again in the cloud source, Asset adds the asset to the Asset database but does not reconcile and merge the asset into the Tanium source until the asset is seen by Tanium Data Service again.
About the Tanium source
The Tanium source imports data that has been collected by sensors through Tanium Data Service into the Asset database. In Tanium Cloud environments, the Tanium source is configured by default and you cannot delete or edit the Tanium source. Use the data collected by the Tanium source to configure attributes in Asset.
By default, Asset imports asset data from Tanium Data Service into the Asset database every ten minutes. Once added, you can add attributes collected from Tanium sensors into Asset. For more information, see Configuring attributes.
Create an AWS source
Create an AWS source to pull data from an AWS EC2 instance into Asset on a schedule.
Create an AWS Access Key and IAM role
-
Use the AWS Console, CLI, or API to create an AWS access key. For more information, see AWS Identity and Access Management documentation: Managing access keys for IAM users.
-
Create or identify an existing IAM role to use for the connection. For more information, see AWS Identity and Access Management documentation: Creating a role to delegate permissions to an IAM user. If you want to create one source for all accounts in your AWS organization using the This account is an AWS Organization option for the source, you must also specify a child role to assume when accessing child accounts. This role must have the appropriate permissions to access those accounts.
-
Attach the following policy to the IAM role in AWS. This policy limits the access of the user to the minimum requirements for Asset. For more information, see AWS docs: Create and Attach Your First Customer Managed Policy.
JSON{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:DescribeInstances", "ec2:DescribeRegions", "ssm:DescribeInstanceInformation", "organizations:ListAccounts" ], "Resource": "*" } ] }
Create the AWS source
Create a Microsoft Azure source
Create a Microsoft Azure source to pull data into Asset on a schedule.
Create a Microsoft Azure client ID and secret
In the Microsoft Azure portal, create an application registration. Note the associated Application (client) ID and add a client secret to use for authentication. Add the Reader role to the service principal object that was created when you registered the application.
For more information, see the following articles:
Create the Microsoft Azure source
Create a Google Chromebook source
Create a Google Chromebook source to pull data into Asset on a schedule.
Create a Google Cloud service account to use for authentication
For more information about how to create a Google Cloud service account to use for authentication, see Google Cloud documentation: Creating a service account.
For more information about Google Cloud service accounts, see Google Cloud documentation: Understanding service accounts.
Create the Google Chromebook source
Create a Google Cloud source
Create a Google Cloud source to pull data into Asset on a schedule.
Configure the Google Cloud source
Use the following steps to create a project, add a service account, and then create a private key.
Create the Google Cloud source
Create an Import API source
When you create an Import API source, data is pushed to Asset using Tanium Gateway, rather than Asset periodically pulling data from a source. For more information about Gateway, see Tanium Gateway User Guide: Overview.
Create the Import API source
- From the Main menu, go to .
- Click Create Source.
- Specify a Name for the source.
- In the Provider field, select Import API.
- In the Type field, select Standard.
- Set the Log Level.
- Select the source keys to use as unique identifiers for assets from this source. Any keys are combined with AND operators to determine uniqueness for an endpoint.
- (Optional) Enable reconciliation if you want to merge assets in this source with matching Tanium-managed assets during the import process. For more information, see Asset reconciliation.
- Select the keys to match for reconciliation:
computer_id,computer_name,serial_number,cloud_instance_id,system_uuid. - Select any entities to merge data into an asset for reconciliation. Asset uses source keys to find 1:1 matching assets in the Tanium source.
- Select the keys to match for reconciliation:
- (Optional) In the Data Retention section, configure when to purge stale assets from this source. The minimum value is 7 days, maximum is 180 days. Default is 30 days.
- Click Create to save your changes.
Example workflow
The following example represents a typical workflow using an Import API source:
-
Create an Import API source in Asset.
-
Pass the JSON data with the assets that you want to push to Asset using a Gateway mutation request. For more information, see the following mutations in Reference: Gateway examples for Asset:
-
Verify the results by checking Asset to confirm that the assets are available. For more information, see Building reports.
Create a Microsoft Intune source
Create a Microsoft Intune source to pull data into Asset on a schedule.
Interaction between Asset and Tanium Connector for Microsoft Intune
The Asset custom source for Microsoft Intune ingests data for both mobile devices and other device types from a configured Microsoft Intune instance on a configured schedule. The Tanium Connector for Microsoft Intune ingests data for only mobile devices from a configured Microsoft Intune instance.
If you configure both the Tanium Connector for Microsoft Intune and the Asset custom source for Microsoft Intune:
-
The Tanium Connector for Microsoft Intune synchronizes only mobile device data from Microsoft Intune into Tanium Core Platform.
-
The Asset custom source for Microsoft Intune synchronizes data for both mobile devices and other device types from Microsoft Intune into Asset.
-
If you configure the source to perform asset reconciliation, devices must match on both reconciliation keys (
computer_nameandserial_number) to be reconciled. -
Asset reconciliation first checks against the Tanium source in Asset, and then checks against endpoints ingested by the Tanium Connector for Microsoft Intune.
Note: In this scenario, you cannot configure asset reconciliation to check against only the Tanium source in Asset. -
If a device managed using Tanium Client or Tanium Connector for Microsoft Intune matches the Tanium source in Asset, the data is merged, and then the data ingested from the Asset custom source for Microsoft Intune is removed.
-
-
The Tanium source in Asset synchronizes all Microsoft Intune mobile device data from Tanium Core Platform into Asset.
-
Because the synchronization schedules might not overlap, you might see different update times for devices managed using Tanium Connector for Microsoft Intune versus devices managed using Tanium Client.
If you configure only the Asset custom source for Microsoft Intune:
-
The Asset custom source synchronizes data for both mobile devices and other device types from Microsoft Intune into Asset.
-
If you configure the source to perform asset reconciliation, devices must match on both reconciliation keys (
computer_nameandserial_number) to be reconciled. -
Asset reconciliation checks against the Tanium source in Asset.
-
If a device managed using Tanium Client matches a Microsoft Intune device, the data is merged, and then the data ingested from the Asset custom source for Microsoft Intune is removed.
-
-
Tanium Core Platform does not ingest Microsoft Intune device data.
If you configure only the Tanium Connector for Microsoft Intune:
-
The Tanium Connector for Microsoft Intune synchronizes only mobile device data from Microsoft Intune into Tanium Core Platform.
-
The Microsoft Intune-Mobile Device source in Asset ingests Microsoft Intune device data.
-
Tanium Core Platform does not ingest Microsoft Intune data for other device types.
If you configure neither the Asset custom source for Microsoft Intune nor the Tanium Connector for Microsoft Intune, neither Tanium Core Platform nor Asset ingests Microsoft Intune device data.
Create a Microsoft Azure client ID and secret
In the Microsoft Azure portal, create an application registration, configure the application permissions, and then create an Microsoft Azure client ID and secret for Asset to use for authentication.
For more information, see Microsoft Entra documentation: Quickstart: Register an application with the Microsoft identity platform.
(Optional) Include Microsoft Intune devices in Asset views
By default, Tanium Asset views do not include devices managed using Tanium Connector for Microsoft Intune. If you want to include these devices, configure Asset to include devices managed using Tanium Connector for Microsoft Intune.
- From the Main menu, go to , and then click Settings
.
- From the Advanced tab, in the Tanium Entity Providers section, click to enable Microsoft Intune-Mobile Device in addition to any other third-party providers that you want to enable.
- Click Save.
Create the Microsoft Intune source
To modify the source, go to , and click Edit . If the source ingests data through the Tanium Connector for Microsoft Intune, you cannot edit or delete the source.
Monitor compute source import runs
You can view logs for the latest runs of each source from the Schedules page.
Edit source
Disable sources
Data imports for a source run on a configured schedule by default. You can disable this schedule to resolve issues or to run the import manually.
- From the Main menu, go to .
- In the row of the import schedule for the source that you want to disable, click Edit
.
- Clear the Run this connection on a defined schedule setting, and then click Update.
- If you want to manually run an import, go to the page. In the row of the source that you want to import on the Import Schedules tab, click Run Now
.