Configuring attributes

You can configure the attributes that get populated as asset data. These attributes can come from Tanium or a configured source entity. In Asset, an entity is a group of similar attributes. Attributes become the columns that you can include in your reports.

Asset solution content

Asset includes solution content. Some of this solution content is similar to the content packs that are included with Tanium Core Platform. In most cases, the Asset version of the content adds attributes or improves the information beyond the existing sensor. The Asset custom content is hidden on the Administration > Content > Sensors page.

View and edit default asset attributes

By default, Asset imports the most common attributes from Tanium sensors.

Figure 1. Example Entities & Attributes page
Example Entities & Attributes page

To view the list of default attributes:

  1. From the Main menu, go to Modules > Asset > Inventory Management > Entities & Attributes.
  2. Optional: You can group the attributes by the table in the Asset database or the entity type (for Tanium attributes, the entity types match the sensor names).
  3. Optional: To sort a column, click the column header.
  4. Optional: To filter the list, use the Filter Items field.
  5. Optional: To customize the columns that appear and column order, click Customize Columns. For example, to view the column name returned from a sensor, select Source Attribute. You can add or remove columns, and then drag the columns to change the order.
  6. Optional: To copy a CSV version of the data listed in the table to the clipboard, click Copy.
  7. Optional: To edit an individual attribute, expand the section and click Edit edit2.

Normalized attributes

The Installed Applications table contains fields for Normalized Name and Normalized Vendor. Normalized values resolve variants on a vendor or software name. For example, the following vendor values: CompanyName, Inc., CompanyName Inc, and CompanyName LLC, are resolved to CompanyName for the Normalized Vendor column.

Normalization occurs after data load. If values are in the Name or Vendor columns, a normalized value is also calculated.

Configure additional Tanium entities and attributes

You can import attributes from Tanium sensor data. For example, you might choose to import additional critical configuration information from other Tanium products, solutions, or custom content.

Important considerations for attributes

  • Add sensors that return a single line when possible.

  • Before you add a new attribute, determine the storage method. Using the automatic evaluation of storage method sometimes results in a single-row sensor being seen as a multiple-row sensor, which is less efficient and can have unforeseen connotations when reporting.

  • Be aware that each attribute you add might increase the amount of time that is required to complete the import process. Each new attribute also adds columns and data to the Asset database.

  • Avoid adding attributes that change often, especially attributes that return a large amount of data.

  • Consider how frequently Asset inventories your environment. If the attribute data becomes stale before the next scheduled import, it might not be a beneficial attribute to add.

Important: If you add Asset attributes or create views with sensors that apply to Kubernetes clusters, the results include data from Tanium-managed clusters only.

Add attributes

Important: This task makes changes to the Asset database. Review and verify carefully.
  1. From the Main menu, go to Modules > Asset > Inventory Management > Entities & Attributes.
  2. Select Add Entitites & Attributes > Add Existing Entities & Attributes.
  3. Search for and select the sensors from which you want to add attributes.

    To view all Asset solution content, you can search for Asset in this sensor list.

    Example Add Atributes page
    Note: Data for Tanium attributes comes from sensors that are registered with Tanium Data Service. If a sensor returns results with high cardinality, Tanium Data Service automatically blocks the sensor from registration. As a result, attributes from blocked sensors do not appear as options in Asset. For more information about Tanium Data Service, see Managing Tanium Data Service.
  4. (Optional) To change the data type, display name, or storage method for an attribute, expand the section for the attribute and click Settings cog.
  5. Select the attributes that you want to import. Click Add.
  6. If you are adding an attribute from a parameterized sensor, indicate the values that you want to pass to the parameters.
    Example page that shows values to pass to parameters

    You can also choose how to store the data that gets returned in the database. If you set the storage method for data to be automatically evaluated at load time, this selection adds time to the load process. Click Next. Click Create and verify that the changes are correct.

  7. If you are not adding an attribute from a parameterized sensor, click Add Attribute.

After the database updates finish, you can see the new attribute in the main list of attributes in Pending state. The new attribute stays in pending state until the next time the Tanium source import job runs, and data gets populated in the database. When populated, the attribute displays in Ready state. You can add attributes that are in Ready state to custom reports.

Configure external attributes

If you are importing data into Tanium from an external data source, configure the import first. Configuring the source defines which database tables to import and how to correlate the data with the ci_item table in the Asset database. For more information, see Configuring sources.

You can import attributes from an external data source:

  1. From the Main menu, go to Modules > Asset > Inventory Management > Entities & Attributes.
  2. Select Add Entities & Attributes > Add Existing Entities & Attributes.
  3. In the Source section, select the data source that you configured. You can search for and select the field that you want to add as an attribute.
  4. Asset automatically converts values in the database based on the following type mapping:
    Table 1. Field mapping conversions for external entities

    SQL data type

    Asset data type

    BIGINT

    BIGINT

    DATE

    DATEONLY

    DATETIME, TIMESTAMP WITH TIME ZONE

    DATE

    BIT, BOOLEAN, TINYINT

    BOOLEAN

    STRING, CHARACTER VARYING (255), VARCHAR (255)

    STRING

    FLOAT, DOUBLE PRECISION

    FLOAT

    INT, INTEGER, SMALLINT

    INTEGER

    CHAR, NCHAR, NVARCHAR, TEXT, VARCHAR

    TEXT

  5. Click Create and verify that the changes are correct.
    Important: This step makes changes to the Asset database. Review and verify carefully.

After the database updates finish, you can see the new attribute in the main list of attributes in Pending state. The new attribute stays in pending state until the next time the External database job runs, and data gets populated in the database. When populated, the attribute displays in Ready state. You can add attributes that are in Ready state to custom reports.

Configure custom entities

You can add custom entities to the Asset database that you can update using the Asset API. Attributes in custom entities are also available to add to views in Asset and to reports through Tanium Reporting.

  1. From the Main menu, go to Modules > Asset > Inventory Management > Entities & Attributes.
  2. Select Add Entities & Attributes > Create Custom Entity.
  3. Specify a name for the entity.
  4. For the Storage Method, select Single row per endpoint if the incoming data is contained in a single row. Otherwise, select Multiple rows per endpoint.
  5. Add attributes to the entity.
    • To add one attribute that has the same name as the entity, specify a Data Type. You do not need to supply an Attribute Name; the attribute assumes the same name as the custom entity.
    • To add more than one attribute, click + Add Attribute. For each attribute, specify the Attribute Name, Data Type, and whether the attribute is enabled or disabled. Attributes in custom entities are available in both Asset and Tanium Data Service when enabled. When disabled, the attribute still appears in Tanium Data Service but is not available in Asset. You can add up to 10 attributes to a custom entity.
    • For more information about Asset data types, see Asset data types.
    Tip: To use an attribute as a key for a custom source, the custom entity must be set to Single row per endpoint and must only contain one attribute.
  6. Click Submit.
    Important: This step makes changes to the Asset database. Review and verify carefully.

Virtual sensor creation

When you create a custom entity, Asset registers the custom entity as a virtual sensor in Tanium Data Service. Use the Asset API to populate data for the custom entity in Tanium Data Service. Then, on the next load from the Tanium Data Service, Asset imports the data from the virtual sensor into the Asset database, and the custom entity is available for use in Asset. You can see the new attribute on the Entities & Attributes page. Custom entities are prefixed with Asset Custom: on both the Entities & Attributes page and through Tanium Data Service.

For more information about virtual sensors, see Virtual sensors.

Figure 2. Example Entities & Attributes page that shows the "Asset Custom:" prefix for custom entities
Example Entities & Attributes page that shows custom attributes
Note: To optimize resource consumption by Tanium Data Service, add only low cardinality attributes to custom entities. For more information, see Resource consumption for registered sensors.

View Asset data imports

The import asset data schedule is managed by Tanium Cloud and determines how often Asset pulls data from Tanium or an external data source to save in the Asset database. This database is used to provide information for offline assets.

View status of imports and exports

On the Asset Overview page in the Activity section, you can view a timeline of the recent imports and exports.

Figure 3. Example Activity section from the Asset Overview page
Example timeline of recent imports and exports
The timeline contains each job run, with one of the following statuses:
Icon Status

purple

Scheduled

green

Successful

red

Error
To view the Job Run History page for runs that finished successfully green or failed with an error red, click the status icon of the run on the timeline.
Tip: You can view the log for the latest import of each AWS, Microsoft Azure, Microsoft Intune, and Google compute source in Asset. For more information, see Monitor compute source import runs.

Set user permissions on computers

In addition to the Asset user roles that control access to Asset reports and settings as a whole, you can define more detailed permissions on computers that are based on individual attribute values. For example, you can create permissions that assign a user group permission to access information about only Windows or only macOS operating system assets. If a user belongs to multiple user groups that are granted permissions in Asset, all user groups that are assigned to the user must evaluate to true for the corresponding assets to be visible.

Before you begin, you must have a user group to which you want to assign the Asset permissions. For more information, see Managing user groups. For the users in this user group to access Asset, they also must have an Asset user role assigned. For more information, see User role requirements.

  1. From the Asset Overview page, click Settings cog, and then click the Permissions tab.
  2. Click Create Permission.
  3. In the User Groups list, select the user group to which you want to assign Asset permissions.
  4. Add a condition.

    This list of attributes is from the ci_item table of the Asset database. For example, to assign the selected user group permission to view only Windows assets, set the values to OS Platform contains Windows.

    Example Permissions tab that shows a Windows condition
  5. Click Apply check to create each condition.
  6. Click Create.

Delete attributes

To delete an attribute, you must disable the attribute, then remove references.

Note: When you disable an attribute, Tanium Data Service unregisters the underlying sensor if the sensor is not registered by another Tanium solution.
  1. Disable the attribute.
    1. From the Main menu, go to Modules > Asset > Inventory Management > Entities & Attributes.
    2. Expand the entity that contains the attribute and click Edit edit2 next to the attribute that you want to disable.
    3. Clear the Enabled setting. Click Save.
  2. Remove references to the attribute from all reports, views, permissions, and ServiceNow destinations.
    1. Click Delete trash next to the attribute that you want to remove.

      If the option to delete an attribute does not appear, make sure to disable the attribute, wait one minute, and then refresh the Entities & Attributes page.

    2. A list of known locations where the attribute is used appears. Click the link for each item and then edit the item to remove the use of the attribute.
    3. Click Refresh to list the remaining references.
  3. After you remove the references, type the name of the attribute to confirm its deletion. Click Delete Attribute.

The attribute is deleted from the Asset database on the next load of data from Tanium Data Service.

Note: When you delete the last attribute for an entity, including custom entities, Asset also deletes the entity.

Asset data types

Fields in the Asset database must be one of the following data types:

Table 2. Supported data types for Asset fields

Data type

Acceptable formats

Notes

bigint

Valid from -9223372036854775000 to 9223372036854775000

boolean

0/1, true/false, "true"/"false", and "yes"/"no"

datetime
  • ISO-8601 and RFC-2822

  • Windows Management Instrumentation (WMI)

  • Unix Millisecond Timestamp

Datetime values are converted to UTC via the MomentJS library.

decimal

Float, Integer, String

duration

BigInt

Stored in total milliseconds as a BigInt (valid from -9223372036854775000 to 9223372036854775000)

integer

Integer, String

  • Integer is valid from -2147483647 to 2147483647

  • String is valid from -2147483647 to 2147483647

ipAddress

String

size

Acceptable unit values include the following, grouped by unit and preceded by an integer value (for example, 500gb):

  • Byte: b

  • Kilobyte: kb

  • Megabyte: mb

  • Gigabyte: gb

  • Terabyte: tb

  • Petabyte: pb

  • Exabyte: eb

  • Zettabyte: zb

  • Yottabyte: yb

Stored In total bytes as a BigInt (valid from -9223372036854775000 to 9223372036854775000)

speed

Acceptable unit values include the following, grouped by unit and preceded by an integer value (for example, 100ghz):

  • Hertz: hz

  • Kilohertz: khz

  • Megahertz: mhz

  • Gigahertz: ghz

  • Terahertz: thz

  • Petahertz: phz

  • Exahertz: ehz

  • Zettahertz: zhz

  • Yottahertz: yhz

Stored In total hertz as a BigInt (valid from -9223372036854775000 to 9223372036854775000)

text

String