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 an SQL Server database, custom sources, or data pushed to Asset by Gateway using 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 |
|
|
Google Cloud |
|
|
Import API |
Selected when you create the source: |
|
Microsoft Azure |
|
|
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. 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 hour. Once added, you can add attributes collected from Tanium sensors into Asset. For more information, see Configuring attributes.
Configure the Tanium source
The Tanium source is configured by default, and you cannot delete the Tanium source.
Add attributes 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
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.
Create the Microsoft Azure source
Create a database source
Enrich Asset inventory data with information from an external database. For example, you might have a database that has department or location information that you want to associate with the computers you are already tracking in Asset. To import this data, map columns from your SQL database to the Asset database.
When the data import runs, each row of your import table is evaluated against the data that is already in Asset. For example, if you create a mapping for your computer ID in the import table, that ID gets matched to the Computer ID column in Asset. If a match is found, the attributes that you configure to get imported from your source table are inserted into Asset. If you map an import column that has duplicate values in the table, only the last value is stored in Asset after the load has completed.
nchar) that pad values with spaces, your identity mappings on the database source might not work correctly. For example, a computer name like win1 might come through as win1 (with six spaces after it). These values do not match a value win1 in Asset.
To modify the source, go to , and click Edit . You can edit the name of the source, log level, server name, credentials, and the run schedule. Source mappings are not editable.
Add the attributes from your import table into Asset. For more information, see Configuring attributes.
Create a Google Chromebook source
Create a Google Chromebook source to pull data into Asset on a schedule.
Create the Google Chromebook source
For more information about Google Cloud service accounts, see Google Cloud documentation: Understanding service accounts.
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 a Microsoft Intune source
Create a Microsoft Intune 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, 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.
Include Intune-managed 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
Monitor compute source import runs
You can view logs for the latest runs of each source from the Schedules page.
-
From the Main menu, go to .
The Schedules page appears with the Import Schedules tab open.
-
Click Expand
next to the source that you want to monitor.
The Run History section appears and contains up to the last four runs for the source.
-
To view details for a log, click the value in the Start Time column.
Tip: Alternatively, to view the log for the most recent run, click the value in the Last Run column. If the value of the Last Run column is not clickable, either the source is not a compute source or there is no log available. -
Review the following sections on the Job Run History page:
Table 2. Available sections on the Job Run History page Section
Description
Run Results
Shows the start date for the latest run, the duration of the run, and the status.
Total Devices
(AWS organization accounts) Contains a donut chart that shows the number of devices in the run for each individual account.
Devices
(Non-AWS organization accounts) Contains a chart that shows the number of devices by region. Hover over the bar chart in any region to view the number of devices that were created, updated, or were reconciled in the run.
Devices By Account
(AWS organization accounts) Select an account to view a chart that shows the number of devices by region for the account.
Errors
Contains a log of errors encountered during the run in a JSON format. Errors appear in two sections: -
jobErrors: Contains any overall errors for the run, such as if import credentials have expired or if the role for the IAM provider is not valid.
-
batchErrors: Contains errors for individual assets.
-
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
.