Things to Watch Out For, When Adding Attributes in Tanium Asset

In Tanium Asset, Attributes are simply data elements provided by Tanium Sensors. Any Sensor in Tanium is a potential data source for Attributes. This includes Sensors that are part of the core platform, module Sensors, and custom developed Sensors. Attributes are the most basic data points that collectively describe an IT environment. By default, Asset imports more than 65 Attributes from Tanium Sensors, but additional ones can be added depending on user needs.  Collecting the right Attributes from your IT environment is critical to achieve accurate and complete visibility, so it is important to know the right way to choose Sensors to import as Attributes into your Asset database. Choosing the wrong Sensors can result in noisy or stale data, or even cause network impact and Tanium performance degradation. Also, it is much easier to add Attributes than it is to remove them from Asset, so it’s important to be selective.

Entities and Attributes

An Entity is what we call a Sensor that’s been added to the Asset module. Entities are made up of Attributes.

An Attribute is a single data point about an endpoint, equivalent to a single column from a Sensor result. Attributes belong to Entities. An Entity can have one or more Attributes. There are two kinds of entities:

  • simple

  • reference entities.

A simple Entity contains no more than one result (row) from any computer. For example, all computers have one Computer Name and one Serial Number. Both Computer Name and Serial Number are simple entities.

Reference entities contain multiple results (rows) from any computer. For example, both Installed Software and Network Adapters are reference entities.

So when importing a Tanium Sensor into Asset to become an Entity, it’s important to know whether that Entity is simple or reference. Attributes from simple entities are generally preferable to those of reference entities, because they stack better and allow for easier filtering when reporting, and return a more manageable-sized data set. But with either type, understanding the quantity and quality of data that will be retrieved is paramount. 

Before adding a new Attribute to Asset

Here are some tips on ensuring that you are adding the right Attributes to your Tanium Asset database. Careful consideration can save you time and frustration.

Do a review of data returned by a Sensor before converting it into an Asset Entity.

  • Ask a question in Interact, using the Sensor you believe will provide the data you want in Asset.

  • Review the results to ensure they are what you expect. Pay particular attention to outliers. 

Should the Sensor return one row or more from an endpoint? The number of rows returned per endpoint affects how the Sensor is added to Asset, and therefore affects how you can filter and report on the Attribute data. As a rule of thumb, best practice is to mainly use Sensors that only return one row per endpoint.

Avoid adding Attributes that change often, or that return a large amount of data if possible. 

Consider how frequently Asset inventories your environment. If the Attribute data you intend to add goes stale before the next scheduled import, it is not likely a good candidate to add as an Asset Attribute.

Information that’s ephemeral or needed more frequently might be better gathered through Interact or via saved question.

An Asset report cannot contain more than one reference Entity.

Yet another reason that simple entities should be used in Asset whenever possible.

For further information on Asset Attributes, read this article: Configuring attributes (tanium.com).