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.
Note: The AWS, Microsoft Azure, Microsoft Intune, and Google compute sources, as well as Google Chromebook sources, are currently beta features.
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:
Table 1. Asset reconciliation keys
Source
Key used to match for reconciliation
AWS
cloud_instance_id
Google Cloud
cloud_instance_id
Import API
Selected when you create the source: computer_id, computer_name, serial_number, cloud_instance_id, system_uuid
Microsoft Azure
cloud_instance_id
Microsoft Intune
computer_name and serial_number
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.
Note: Reconciliation is not supported for Google Chromebook sources because the Tanium Client cannot be installed on Chromebooks.
Note: For more information about how Asset deduplicates assets supplied from Tanium Data Service, see Sources.
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.
Note: Depending on the amount of data, an import might take longer than the configured import schedule. If an import is scheduled to run while the previous import is still running, the new import is canceled so the previous import can finish.
Configure the Tanium source
The Tanium source is configured by default, and you cannot delete the Tanium source.
From the Main menu, go to Modules > Asset > Inventory Management > Sources.
In the Actions column in the row for the Tanium source, click Edit .
Configure the log level settings for the Asset import process.
Configure the schedule. The schedule determines how often asset data is imported from Tanium Data Service into the Asset database.
This database provides data for offline assets. You can create a standard interval or a cron schedule. For example, you might create one of the following intervals based on your environment size:
Less than 50,000 devices: every 1-2 hours.
Less than 250,000 devices: every 4 hours.
Greater than 500,000 devices: contact Tanium Support to configure the import schedule. For more information, see Contact Tanium Support.
For more information about the cron syntax, see Disable sources.
Click Update to save your changes.
Wait at least two import cycles for attributes to appear in Asset. During this time, Asset registers the sensor with Tanium Data Service. Tanium Data Service then gathers results from endpoints after which Asset retrieves those results from Tanium Data Service.
What to do next
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 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.
From the Main menu, go to Modules > Asset > Inventory Management > Sources.
Click Create Source.
Specify a Name for the source.
In the Provider field, select Amazon Web Services (AWS).
In the Type field, select Compute Source.
Set the Log Level.
In the Access Key ID field, specify the AWS access key ID part of the access key that you created.
In the Secret Access Key field, specify the AWS secret access key part of the access key that you created.
In the Assume IAM Role field, specify the IAM role that you created to use for the connection.
Select a Default Region.
(Optional) Select AWS Organization if you want this source to span your entire AWS organization, rather than individual accounts. If you select this option, specify the Role to assume on child accounts.
Click Verify Connection to confirm that the connection is valid. This step is required to save the source.
(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.
(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.
Configure the schedule.
The schedule determines how often to import asset data from the AWS data into the Asset database.
This database provides data for offline assets. You can create a standard interval or a cron schedule. For example, you might create one of the following intervals based on your environment size:
Less than 50,000 devices: every 1-2 hours.
Less than 250,000 devices: every 4 hours.
Greater than 500,000 devices: contact Tanium Support to configure the import schedule. For more information, see Contact Tanium Support.
Tip: Fields in the AWS source automatically map to the corresponding fields in the Asset database. After you create the source, you can edit the source to view the default field mappings.
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.
Important: Be sure to record the value of the client secret that you add in the Microsoft Entra admin center. The value only appears when you add the secret and does not appear again.
Note: Microsoft Entra ID was previously known as Microsoft Azure Active Directory or Microsoft Azure AD.
In the Application (client) ID field, specify the Microsoft Azure client ID that you created.
Provide the value of the Client Secret that you generated in the Microsoft Entra admin center.
Important: Be sure to provide the value of the client secret, and not the ID. The value only appears when you add the secret in the Microsoft Entra admin center and does not appear again. For more information, see Microsoft Entra documentation: Add a client secret.
Click Verify Connection to confirm that the connection is valid. This step is required to save the source.
(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.
(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.
Configure the schedule.
The schedule determines how often to import asset data from the Microsoft Azure source into the Asset database.
This database provides data for offline assets. You can create a standard interval or a cron schedule. For example, you might create one of the following intervals based on your environment size:
Less than 50,000 devices: every 1-2 hours.
Less than 250,000 devices: every 4 hours.
Greater than 500,000 devices: contact Tanium Support to configure the import schedule. For more information, see Contact Tanium Support.
Tip: Fields in the Microsoft Azure source automatically map to the corresponding fields in the Asset database. After you create the source, you can edit the source to view the default field mappings.
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.
Important: If you use column types (like 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.
From the Main menu, go to Modules > Asset > Inventory Management > Sources.
Click Create Source.
In the Provider field, select External Database. Note the Type field is now disabled.
Configure source settings, including a name for the data source, the log level, and the server name. (Optional) If your database server has Transport Layer Security (TLS) configured, perform the following:
Ensure Use TLS is selected.
To validate the certificate from the database source, keep Validate Server's TLS Certificate selected (recommended).
Click Add Certificate, verify the certificate details are correct, and then click Add.
Enter the user name and password for the database connection, and then click Get Schemas to choose the database and schema.
Asset connects to the database and gets the database and schema information.
Configure source mappings. Source mappings uniquely identify the assets in your source data and define how the columns in your source table relate to the Asset database. For an attribute to be available as a reference for mapping, it must only return a single row of value. You can add multiple source mappings from your database source. All the mappings must match for the data to be imported into the Asset database.
Click Add Mapping. Choose a source table.
Create identification rules. The columns associated with the selected source table are loaded into the Source Columns field.
Choose a destination attribute. Choose a column in the Asset database. You can create multiple identification rules as necessary.
Tip: Make sure the source mappings are correct before you continue to the next step. Source mappings are not editable after you save the profile.
Configure the import schedule. The schedule determines how often to import asset data from the external database into the Asset database. You can create a standard interval or a cron schedule.
For more information about the cron syntax, see Disable sources.
Click Create.
To modify the source, go to Inventory Management > Sources, 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.
Important: A maximum of 20,000 asset updates are performed for each 100 database source records during the load process. You might need to run an import several times to update all the data.
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 a Google Cloud service account to use for authentication
(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.
Configure the schedule.
The schedule determines how often to import asset data from the source into the Asset database.
This database provides data for offline assets. You can create a standard interval or a cron schedule. For example, you might create one of the following intervals based on your environment size:
Less than 50,000 devices: every 1-2 hours.
Less than 250,000 devices: every 4 hours.
Greater than 500,000 devices: contact Tanium Support to configure the import schedule. For more information, see Contact Tanium Support.
Tip: Fields in the Google Chromebook source automatically map to the corresponding fields in the Asset database. After you create the source, you can edit the source to view the default field mappings.
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.
(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.
(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.
Configure the schedule.
The schedule determines how often to import asset data from Google Cloud into the Asset database.
This database provides data for offline assets. You can create a standard interval or a cron schedule. For example, you might create one of the following intervals based on your environment size:
Less than 50,000 devices: every 1-2 hours.
Less than 250,000 devices: every 4 hours.
Greater than 500,000 devices: contact Tanium Support to configure the import schedule. For more information, see Contact Tanium Support.
Tip: Fields in the Google Cloud source automatically map to the corresponding fields in the Asset database. After you create the source, you can edit the source to view the default field mappings.
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 Asset overview.
Note: There are two types of Import API sources, a Standard version and a Legacy version. The legacy version is deprecated. This task guides you through how to set up the standard version of the Import API source. For questions about the legacy version of the Import API source, Contact Tanium Support.
Tip: Field mapping is automatically determined for standard versions of the Import API source. For the legacy version, you must manually define field mappings. For more information about how to add additional field mapping to legacy versions of Import API sources, see Map additional fields for a source.
Create the Import API source
From the Main menu, go to Modules > Asset > Inventory Management > Sources.
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.
(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.
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.
Record the Application (client) ID and Directory (tenant) ID.
Add a client secret.
Go to Certificates & secrets, open the Client secrets tab, and click New client secret. Enter a description and expiration for the secret and then click Add.
After you add the client secret, record the Value for the client secret and save it to a secure location.
Important: You cannot see the client secret value again after you leave this page.
Add the DeviceManagementManagedDevices permission to the application registration.
From the left-hand navigation menu, go to API permissions.
Click Add a permission.
Select Microsoft Graph > Application Permissions.
Search for DeviceManagementManagedDevices.
Select the DeviceManagementManagedDevices.ReadAll permission and then click Add Permissions.
The configured API permissions appear with the added DeviceManagementManagedDevices permission.
Click Grant admin consent for <your_tenant>. A message appears to confirm that admin consent is granted to the permissions.
(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.
Important: Do not enable this without understanding potential third-party provider and integration costs and limitations. Enabling this includes additional data in an Asset view, which might result in additional bandwidth and storage use, monetary charges, and other related costs.
From the Main menu, go to Modules > Asset > Overview, 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.
In the Application (client) ID field, specify the Microsoft Azure client ID that you created.
Provide the Client Secret that you generated in the Microsoft Azure Portal.
Click Verify Connection to confirm that the connection is valid. This step is required to save the source.
(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.
(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.
Configure the schedule.
The schedule determines how often to import asset data from the Microsoft Intune data into the Asset database.
This database provides data for offline assets. You can create a standard interval or a cron schedule. For example, you might create one of the following intervals based on your environment size:
Less than 50,000 devices: every 1-2 hours.
Less than 250,000 devices: every 4 hours.
Greater than 500,000 devices: contact Tanium Support to configure the import schedule. For more information, see Contact Tanium Support.
Tip: Fields in the Microsoft Intune source automatically map to the corresponding fields in the Asset database. After you create the source, you can edit the source to view the default field mappings.
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 Modules > Asset > Inventory Management > Schedules.
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
From the Main menu, go to Modules > Asset > Inventory Management > Sources.
In the row of the source that you want to edit, click Edit .
Edit any fields as necessary. Fields that are not editable appear as disabled.
Note: Each external source contains a Source ID and Namespace. These fields are not editable.
The Namespace value is required for some mutations and queries in GraphQL APIs. For more information about Asset mutations and queries, see Reference: Gateway examples for Asset.
Use the Source ID value to filter reports by the source ID. For more information, see Create report filters.
When finished, click Update.
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 Modules > Asset > Inventory Management > Schedules.
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 Inventory Management > Schedules page. In the row of the source that you want to import on the Import Schedules tab, click Run Now .