Managing sensors for collecting endpoint data

Sensors overview

When you issue a question to retrieve information from endpoints, each sensor in the question includes a script that runs on the endpoints to compute the information. Tanium Clients return the information to the Tanium Server, which shows the information on the Interact Question Results page. For example, you can issue a question with the Running Applications sensor to view the name and version of each application that is running on endpoints.

Note: For more information about how Interact shows sensor results, see What is a sensor?.

You can also use sensors to define Dynamic membership of the endpoints in the following types of computer groups:

  • Computer management groups, which control user access to endpoints when issuing questions or deploying actions.

  • Filter groups, which you can use as filters in questions and question results.

The Tanium Server automatically imports Initial content that includes sensors for a wide range of common questions. Other Tanium solutions that you import might provide more sensors. If you cannot find a sensor that you need within Tanium-provided content, you can create custom sensors.

Note: For the role permissions required to manage sensors, see Manage sensors.

Sensor scripts

A sensor configuration includes settings, script content, and script parameters. Sensors use industry-standard scripting languages rather than proprietary coding syntax. When you create custom sensors, the best practice is to use the scripting engine that is available on the largest number of managed endpoints. On macOS and Linux endpoints, shell script generally provides the most comprehensive out-of-the-box coverage. You can develop sensors using any other scripting language that the operating system (OS) supports (such as PowerShell on Windows) if the associated scripting engine exists on endpoints. You can deploy and configure the engine on any endpoints where the engine is not present.

Important:

Windows endpoints require certain configurations to enable some Tanium sensors and packages that rely on Windows Management Instrumentation (WMI) queries, VBScript, and PowerShell. For more information, see Prepare for deployment to Windows endpoints.

When you choose a scripting engine for custom packages, note that Microsoft has announced the deprecation of VBScript. For more information, see Tanium Community article: VBScript Retirement in a future Windows Release (sign in required).

Parameterized sensors

A parameterized sensor requires input (parameter values) from users before the sensor can collect results from endpoints. When you issue a question or configure a computer group that uses a parameterized sensor, the Tanium Server creates an object called a temporary sensor, which contains the substituted parameter values and a link to the actual sensor. For more information, see:

Virtual sensors

Tanium solutions use virtual sensors to provide data for endpoints without running scripts on those endpoints. Virtual sensors are useful for exploring data that Tanium Clients cannot provide directly. You use reports in Tanium Reporting or other Tanium solutions to view virtual sensor data because the Interact Question Results page shows data only for non-virtual sensors. For example, Tanium Benchmark provides a report that uses the virtual sensor Tanium Risk Score to show risk metrics for endpoints. Benchmark derives the sensor data from multiple sources that do not exist on the endpoints.

Solutions might also generate virtual sensor data based on data from multiple non-virtual sensors. For example, Tanium Data Service (TDS) uses three non-virtual sensors to generate data for the virtual sensor Endpoint ID. Endpoint ID is a useful identifier for endpoints because its value is more likely to be unique and stable for each endpoint than the individual values of the three non-virtual sensors. For more information, see Endpoint identification sensors.

Virtual sensor creation and registration

Tanium solutions automatically create virtual sensors and register them with TDS. For example, Tanium Asset creates a corresponding virtual sensor when you add a custom entity, such as Custom Asset: Boot Time. A solution might also provide virtual sensors along with other content when you import the solution. For example, Tanium™ Criticality provides the Endpoint Criticality with Level sensor, which you can add to a report to view endpoint criticality levels and rules.

Virtual sensor limitations

Virtual sensors have the following limitations:

Table 1. Limitations of virtual sensors

Limitation

Description

Sensor management

All virtual sensors are predefined and you cannot perform the following management tasks on them:

  • Create, edit, delete, or view the configurations of virtual sensors. In Tanium Console, the Sensors page does not show virtual sensors.

  • Quarantine virtual sensors. In Console, the Quarantined Sensors page does not show virtual sensors.

  • Unregister virtual sensors or purge their results in TDS. In Interact, the Registration and Collection page does not list virtual sensors because they are not included in the questions that TDS periodically issues to collect updated sensor results from Tanium Clients. For more information, see Managing sensor results collection through TDS.

Questions

You cannot use Tanium Interact to issue questions with virtual sensors. This limitation also applies to the filtering questions that you configure in the targeting criteria of actions.

Computer groups

You cannot use virtual sensors to define endpoint membership in computer management groups and filter groups.

Solution-generated sensor attributes

Each sensor result provides one or more attributes (columns) of data that you can see on the Question Results page in Tanium Interact or in reports that Tanium Reporting and other solutions provide. In most cases, Tanium Clients run the sensor script to provide all the attribute data when you issue a question that uses the sensor. However, for certain sensors, Tanium solutions add attributes with data that Clients do not provide. These solution-generated attributes are useful for exploring data that is not available on endpoints.

You use reports in Tanium Reporting or other Tanium solutions to view sensors with solution-generated attributes. The Interact Question Results page shows data only for sensors with exclusively Client-provided attributes.

Example: Sensor with Comply-generated attributes

Tanium Data Service (TDS) periodically collects data from Tanium Clients for the Comply - Compliance Status sensor because Tanium Comply automatically registers that sensor with TDS. The Clients return values for all the sensor attributes, including the Check ID, which identifies compliance rules. Comply uses the Check ID values to find attributes related to compliance standards, benchmark profiles, and benchmark rules. The data for these additional attributes comes from compliance standards that are imported into Comply rather than from data that exists on Clients. Comply adds the attributes to a sensor named Comply - Compliance Findings Details, which is available for reports but not for Interact questions.

Limitations for sensors with solution-generated attributes

Sensors with solution-generated attributes have the same limitations as virtual sensors. For more information, see Virtual sensor limitations.

Sensor results caching and refreshing

Tanium Clients re-run sensors at a configurable frequency to update results. The frequency affects the accuracy of results and affects resource consumption on endpoints.

In a sensor configuration, the Max Sensor Age setting specifies the maximum time for which the Tanium Client can use a cached result for the sensor, instead of re-executing it for a fresh result, when answering questions. For example, the maximum age for the File Size sensor is 15 minutes by default. When a Client receives a question that executes the File Size sensor, it caches the result. Within the next 15 minutes, if the Client receives another question with the File Size sensor, it returns the cached result. After 15 minutes, if the Client receives a question with the File Size sensor, it re-executes the sensor script to return a fresh result.

To improve the accuracy of results, use shorter ages for sensors with values that change frequently, such as status and utilization sensors. To reduce unnecessary CPU usage on endpoints, use longer ages for sensors with values that typically do not change frequently, such as the chassis type or Active Directory domain membership.

Note: A lower Max Sensor Age increases CPU usage on endpoints. Therefore, lower ages are more appropriate for sensors that you use in dynamic questions than for sensors in saved questions that periodically reissue or in the endpoint membership questions of computer management groups and filter groups.
Note:

By default, the Max Sensor Age applies to all questions that use the sensor. To set a different age for the sensor in a specific question, see Maximum Data Age.

Client restarts do not cause a re-evaluation of the elapsed time for the Max Sensor Age.

Sensor data types

A sensor configuration specifies the data type for the values that the sensor returns. Choosing the correct type is required for the Tanium Server to properly evaluate results and sort them in results grids. For example, if you issue the question Get Uptime > "10 days", the Server evaluates the greater than (>) operation based on the Time Duration type of the Uptime sensor. This ensures that the Server returns results only for endpoints that rebooted more than 10 days ago. If that sensor used the Text result type instead, the Server would evaluate the operation alphabetically and return results such as 2 days.

Note:

For a Example: Multi-column sensors, set the Result Type to Text and then select a specific result type for each column. For example, the Tanium Client Dump Files sensor returns both Date/Time (WMI) and Integer result types.

Different sensors can return values in different units even if the sensors use the same result type. For example, the Tanium Client CPU sensor returns a percentage value while the CPU Speed Mhz sensor returns a megahertz value, even though both sensors use the Numeric result type.

The following table describes the sensor result types.

Table 2. Sensor result types

Type

Description

Text

An alphanumeric text string. For example, the Computer Name sensor returns a string such as workstation-1.company.com.

File Size

The size of the result, including both the number and units. For example, the Page File Details sensor returns size values for the page files on a Windows endpoint, such as 11264 MB for the Size On Disk.

Tip: To return size values without the associated units, select Integer as the result type. For instance, a sensor that returns file sizes and uses Integer as the result type displays only the number of bytes: 1048576 instead of 1 MB, as an example.

IP Address

One or more IPv4 and/or IPv6 addresses. For example, the Tanium Client IP Address sensor returns the IP address (such as 192.168.1.1) that a Tanium Client is using to communicate with the Tanium Server or Tanium Zone Server.

Version

The version of an operating system, file, application, or other component on an endpoint. For example, the NET Version sensor returns the full version numbers of all .NET installations, such as version 4.5.51641.

Numeric

A number that can have decimals and a positive or negative value. For example, the Tanium Client CPU sensor returns the percentage of CPU usage that the Tanium Client process currently uses on an endpoint, such as 1.4.

Tip: For sensors that return unsigned whole numbers, select the Integer result type instead.

Date/Time (RFC822)

A date-time string in RFC-822 format. For example, the OS Boot Time sensor returns the date and time when an endpoint operating system last booted.

Date/Time (WMI)

A date-time string in Windows Management Instrumentation (WMI) format. For example, the Tanium Client Dump Files sensor returns the date and time when a Tanium Client dump file was created on an endpoint, such as 2017-09-13T18:29:22.412Z.

Time Duration

A time range. For example, the Uptime sensor returns the number of days since the last reboot of an endpoint, such as 48 days or Less than 1 day. Results can include units other than days (such as 42 minutes or 8 hours) and can include multiple units (such as 2 years, 3 months, 18 days, 4 hours, 22 minutes and 3.67 seconds).

Integer

An unsigned whole number, which excludes decimal values and negative values. For example, the RAM Slots Unused sensor returns the number of empty, unused RAM slots, such as 2.

View sensor details

Viewing sensor attributes and runtime metrics can help you to determine if new sensors are necessary and to manage or troubleshoot existing sensors. For example, viewing the script that a sensor runs on endpoints can help you troubleshoot unexpected question results. A high High runtime indicator runtime indicates the sensor consumes more endpoint resources than most sensors typically do.

  1. From the Main menu, go to Administration > Content > Sensors.

    The Sensors grid displays columns for most of the sensor attributes that are described in Create a sensor.

  2. (Optional) To display attributes that the grid hides by default, click Customize Columns Customize columns and select the attributes.
  3. (Optional) Use the filters to find specific sensors:
    • Filter by script type: In the Script dropdown list, select a scripting engine to show only sensors that use that script type. To remove the filter, select Clear Selection in the dropdown list.
    • Filter by text: Enter a text string in the Filter items field to filter the grid by sensor Name, Category, or Description.
    • Filter by attribute: Expand Expand the Filters section, select a sensor attribute (such as Content Set assignment), select an operator (such as contains), enter a text string that contains all or part of the attribute value, and click Apply Apply. For each additional filter, click Add, select Add Row, and configure the filter. Boolean AND logic applies if you configure multiple filters.
  4. (Optional) Use the following controls to show additional information:
    • Show runtime: Select the Show Runtime checkbox to show runtime metrics for each sensor. For each sensor, the Runtime column contains an icon that indicates whether the sensor exceeded a runtime threshold. You can hover over the icon to show a tooltip with the runtime average in milliseconds. For more information, see Assessing question impacts on endpoints through sensor runtime indicators.
    • Show hidden sensors: Select the Show Hidden State checkbox to show hidden sensors and a Hidden State column, which indicates which sensors are configured as Visible or Hidden. For more information, see Hide this sensor from sensor lists and parse results.
  5. (Optional) To see all the attributes that are described in Create a sensor, click a sensor Name.

Clone a sensor

Cloning is useful when you need to:

  • Create a modified version of a predefined sensor from a Tanium content-only solution.

    Note: Do not modify a predefined sensor.
  • Create a new sensor with settings that differ only slightly from an existing sensor. This is often easier than creating a new sensor from scratch.

Review Custom content development and Sensor scripts before you clone a sensor.

Note: You cannot clone sensors that are configured for endpoints managed using Entity providers.

Perform the following steps to clone a sensor:

  1. From the Main menu, go to Administration > Content > Sensors.

  2. Use the search and column sorting features to find the sensor that you want to clone.

  3. Select the sensor and click Clone.

  4. Configure the settings as described in Create a sensor and click Save.

Create a sensor

Create a custom sensor for endpoint data collection scenarios that Tanium-defined sensors do not address. For example, you might create a sensor to collect information about a specific application installed on endpoints. As another example, you might create a sensor that is similar to an existing sensor except for the content set assignment to ensure that only certain users can use the sensor in questions.

Tip: Instead of creating a new sensor from scratch, cloning is usually easier if the sensor settings differ only slightly from an existing sensor. For more information, see Clone a sensor.

Review Custom content development and Sensor scripts before you perform the following steps to create a custom sensor.

  1. From the Main menu, go to Administration > Content > Sensors and click New Sensor.
  2. Configure the sensor Details.
    Table 3. Sensor details

    Detail

    Description

    Name

    Enter a name of up to 255 characters to identify the sensor wherever Tanium Console displays sensor lists. The name cannot have certain special characters and the best practice is to avoid reserved words. However, certain Tanium-defined sensors use reserved words in their names. For more information, see Use reserved words or characters.

    Important: If you change the sensor name, reconfigure content that references it. For example, update the sensor name in any saved questions that are configured with the previous name.

    Description

    Enter a description to help other users understand the purpose of the sensor. It might help to include examples of formatted results. The description appears in the Sensors page and in the Browse Sensors dialog of the Question Builder.

    Content Set

    Assign the sensor to a content set. The list is populated with all content sets for which you have Sensor write permission.

  3. Configure the sensor Settings.
    Table 4. Sensor settings

    Detail

    Description

    Category

    Select the sensor category, which you can use to filter the list of sensors on the Sensors page and in the Browse Sensors dialog of the Question Builder.

    Result Type

    Select the data type for the values that the sensor returns. Choosing the correct type is required for the Tanium Server to properly evaluate results and sort them in results grids. For more information, see Sensor data types.

    Max Sensor Age

    Enter the maximum time for which the Tanium Client can use a cached result for this sensor, instead of re-executing it for a fresh result, when answering questions. For more information, see Sensor results caching and refreshing.

    Max String Age

    To adjust the impact that results for the sensor have on Tanium Server disk space, select Enable and specify the maximum age that answer strings for the sensor can reach before the Server removes them. For more information, see Maximum string age.

    Max Strings

    To reduce the impact that question results have on Tanium Server disk space, select Enable and enter the maximum number of answer strings that the Server stores for this sensor before removing the oldest strings. For more information, see Maximum strings per sensor.

    Note: When limiting string growth, set the Max Strings Age instead of the Max Strings. For more information, see Reference: Manage sensor string growth. Contact Tanium Support before setting the Max Strings in extreme cases that might require a string count limit for individual sensors.

    Ignore case in result values

    Group and count result values regardless of differences in upper-case and lower-case characters.

    Note: By default, this setting applies to all questions that use the sensor. To control case sensitivity for the sensor in a specific question, see Case Sensitivity.

    Hide this sensor from sensor lists and parse results

    Select this option if you want sensor lists throughout Tanium Console to exclude the sensor.

    Split into multiple columns

    (Multi-column sensors only) If the sensor returns multiple results from each endpoint, display the results in multiple columns on the Question Results grid. For more information, see Configure settings for multi-column sensors.

    Important: When creating questions that filter multi-column sensors, single-column filtering works only if the sensor definition specifies column delimiters with a single character (such as |), not multiple characters (such as |:).
  4. Configure the Parameters if this is a parameterized sensor. For more information, see Example: Parameterized sensors.
  5. Configure the Scripts by performing the following steps for each target operating system (OS):
    1. Select the OS type and select Enable sensor for <OS> platform.
    2. Set the Query Type to the desired scripting engine.
    3. Enter the script text.
      Note: For a parameterized sensor, see Script for a parameterized sensor.
  6. Run a Sensor Results Preview. Previewing sensor results on a small number of non-critical endpoints enables you to test the sensor before making it available for user questions or for automatic sensor results collection through TDS. Previewing is a useful precaution in case the sensor script has flaws that might adversely affect endpoints.
    1. Click Select Groups to Preview.
    2. Select an existing computer group or click Create Ad Hoc Group. An ad-hoc group exists only for the sensor preview and does not appear elsewhere in Tanium Console. Use one of the following methods to define the ad-hoc group and then click Create Group.
      • Filter Bar: Define a filter using the same syntax as in the from clause of the Interact Ask a Question field. For more information, see Issue a free-form question.

      • Filter Builder: Define a filter using the same from computers with fields as in the Interact Question Builder. For more information, see Issue a question through the Question Builder.

      • Manual Group: Enter a list of computer names or IP addresses. Computer names must match the results that the Computer Name sensor returns. Short forms or alternative names do not work.

    3. Click Preview Sensor Results and review the results.
  7. Click Save to save the configuration.

Edit a sensor

Limitations and best practices for editing sensors

You can edit all the settings of all sensors except:

  • Tanium reserved sensors, which are core system sensors that include Computer Name, Action Statuses, Computer ID, and Download Statuses. For reserved sensors, edits are restricted to the Max String Age and Max Strings settings to prevent users from inadvertently compromising critical Tanium operations, such as action deployment, that depend on the sensors.

  • Sensors that are configured for endpoints managed using Entity providers. You cannot edit any attributes for these sensors.

  • Read-only sensors that are managed by Tanium. You can clone these sensors and edit the copy.

Note: As a best practice, do not edit predefined sensors that are provided through content-only solutions imported from Tanium. For more information, see Tip 4: Limit customizations to Tanium content. Contact Tanium Support if editing the Tanium-provided sensors is necessary. Alternatively, you can Clone a sensor that Tanium provided and edit the copy. You can also edit custom sensors that you created from scratch.

Edit the sensor configuration

Review Custom content development and Sensor scripts before you edit a sensor. Before you edit a parameterized sensor, see Parameterized sensors for information about the impact on saved questions and computer groups that use the sensor.

Tip: To change the content set assignment in bulk for multiple sensors that must belong to the same set, see Move sensors between content sets.
  1. From the Main menu, go to Administration > Content > Sensors.
  2. (Optional) Use the search and column sorting features to find the sensor that you want to edit.
  3. Click the sensor Name.
  4. Click Edit Mode, configure the settings described in Create a sensor, and click Save.

Move sensors between content sets

You can move sensors in bulk between content sets to accommodate RBAC changes in your organization. For example, you might want to move certain sensors to a content set that only highly privileged users can access.

  1. From the Main menu, go to Administration > Content > Sensors.
  2. Select the sensors and click Move to Content Set.
  3. Select a content set and click Confirm.

Export or import sensors

Export sensors

Export sensors as a file in the format required for your workflow:

  • CSV

    You can use any application that supports CSV format to display the same sensor attributes (columns) as the Console Sensors grid shows and then customize the display. For example, you can use Microsoft Excel to create charts based on sensor attributes.

  • JSON

    You can export multiple sensor configurations as a JSON file. Exporting configurations is useful if you want to import them into another Tanium environment. For example, you might test custom sensors in a lab environment to ensure that they work as intended before importing the sensors into your production environment. You must be assigned a role with the Export Content permission to export a JSON file. If you have Import Signed Content permission, you can then import the file into another Tanium Server. The Administrator reserved role has export and import permissions.

Perform the following steps to export sensors:

  1. From the Main menu, go to Administration > Content > Sensors.
  2. (Optional, CSV exports only) To add or remove attributes (columns) for the CSV file, click Customize Columns Customize Columns in the grid and select the attributes.
  3. Select rows in the grid to export only specific sensors. If you want to export all sensors, skip this step.
  4. Click Export Export.
  5. (Optional) Edit the default export File Name.
    Note: The file suffix (.csv or .json) changes automatically based on the Format selection.
  6. Select an Export Data option: All sensors in the grid or just the Selected sensors.
  7. Select the file Format:
    • List of Sensors - CSV

    • Sensor Definitions - JSON (requires Export Content permission)

  8. Click Export.

    The Tanium Server exports the file to the downloads folder on the system that you used to access Tanium Console.

Import content files

You must be assigned a role with Import Signed Content permission to import content files.

  1. (Non-Tanium-provided content only) Digitally sign the content file and ensure a public key is in place to validate the signature. For more information, see Authenticating content files.
    Note: You do not have to generate keys or signatures for Tanium-provided solutions. Tanium signs this content before making it available, and the associated public key is distributed to the Tanium Server key store during the Server installation process.

    If you plan to import a file that another user signed, you can first perform an integrity check on the file. For more information, see Verify content file signatures.

  2. From the Main menu, go to any of the following Administration pages:
    • Configuration > Solutions
    • Permissions > Filter Groups
    • Under Content, select Sensors, Packages, or Saved Questions
    • Under Actions, select Scheduled Actions, All Pending Approvals, or Actions I Can Approve
  3. Select an Import option based on the source of the content:
    • Import > Import Files: Perform one of the following steps to select one or more files:

      • Drag and drop files from your file explorer.

      • Click Browse for File, select the files, and click Open.

    • Import > Import URL: Enter the URL in the Import URL field, and click Import.

  4. For each file, expand Expand the File name, review the content to import, and select resolutions for any conflicts with existing content. For more information, see Resolve import conflicts.
  5. If you want to overwrite existing content set assignments for all imported objects with the default Tanium-defined assignments, select Include content set overwrite. By default, Include content set overwrite is cleared and the Tanium Server preserves the existing content set assignments.
  6. Click Begin Install.

Copy sensor configuration details

Copy information from the Sensors page to your clipboard to paste the information into a message, text file, or spreadsheet. Each row in the grid is a comma-separated value string in the content that you copy.

  1. From the Main menu, go to Administration > Content > Sensors.
  2. Perform one of the following steps:
    • Copy row information: Select one or more rows and click Copy Copy.
    • Copy cell information: Hover over the cell, click Options Options, and click Copy Copy.

Delete sensors

Important: Do not delete the predefined sensors that Tanium solutions provide. When you import solution updates, the update process restores any deleted predefined sensors.
Note: Instead of deleting custom sensors, instruct users not to use them.

Deleting a custom sensor might be warranted in certain scenarios. For example, Tanium users and solutions might not need the sensor anymore, the sensor might not behave as expected on endpoints, or another sensor might use fewer endpoint resources to collect the same data.

Perform the following steps before you delete a sensor:

  1. Determine if any content uses the sensor and assess the impact of removing or replacing the sensor. For example, a saved question or a report might use the sensor to collect data from endpoints.
  2. Decide which sensor is a suitable replacement or create a replacement if necessary. This step is required only if you must recreate or reconfigure the content that uses the sensor you plan to delete. For more information, see View sensor details and Create a sensor.
  3. Reconfigure or recreate scheduled content to remove dependencies on the sensor and replace it if necessary.

Perform the following steps to delete a sensor:

  1. From the Main menu, go to Administration > Content > Sensors.

  2. Select the sensor and click Delete Delete sensor.

Manage sensor quarantines

Important: Do not enable the enforcement of sensor quarantines without consulting Tanium Support. For more information, see Contact Tanium Support.

Overview of sensor quarantines

Enforcing sensor quarantines prevents sensors from running on an endpoint for the current question or action if those sensors exceeded the runtime timeout during a previous question or action. Quarantines are useful for limiting the impact on endpoint resources, such as CPU utilization, when questions and actions use excessively long-running sensors. The non-configurable timeout is set to one minute.

By default, quarantines are not enforced: after a sensor exceeds the one-minute timeout, the Tanium Client stops the sensor from running any longer and assigns it quarantined status but the sensor still runs for future questions or actions until it finishes or times out again. When quarantines are not enforced, the Client uses quarantined status just to record that the sensor timed out. After the Client assigns quarantine status, the status does not automatically revert to unquarantined if the sensor later finishes running for another question or action. You must manually Remove sensors from quarantine to change their status. Otherwise, the Quarantined Sensors page shows the cumulative results for any sensor that ever timed out on an endpoint since the initial Tanium Client installation.

The Tanium Client stops any sensor at the moment it exceeds the timeout regardless of whether you enable enforcement. Each Client quarantines sensors and enforces the quarantines independently. Consequently, a sensor might be quarantined on some endpoints and not on others. When a Client quarantines a sensor, Interact shows the following message in the Question Results grid: TSE-Error: Sensor evaluation timed out.

Important: The message TSE-Error: Sensor evaluation timed out means only that the Client could not finish executing the sensor within the one-minute timeout. If some Clients return this message while other do not for the same sensor, the cause is usually an issue on the endpoints where the quarantine occurs. For example, Clients might not finish running the sensor within the timeout if their host endpoints have insufficient resources or if interactions with anti-virus software on the endpoints cause unexpected delays.

When you issue a question that uses a sensor that is already quarantined and enforcement is enabled, the Question Results grid displays TSE-Error: The sensor is quarantined. The Tanium Client adds entries to the Client logs and sensor history logs when it quarantines a sensor or prevents an already quarantined sensor from running.

If temporary sensors exceed the one-minute timeout, the Tanium Client quarantines the original sensor as well as all current and future temporary sensors that are based on the original sensor. The Tanium Server creates a temporary sensor for questions that use parameterized sensors. For more information, see Questions with parameterized sensors.

Note: When enforcement is enabled, quarantined sensors do not run when you use them for targeting endpoints, even if the sensors are members of computer groups. However, quarantined sensors might skew the targeting of a question that has a vague from clause, such as from all machines with Is Windows not equals true. In this case, Windows endpoints on which the Is Windows sensor is quarantined would match the condition not equals true because their response would be TSE-Error: The sensor is quarantined rather than true. To avoid such outcomes, make the target clause as specific as possible and do not use negative matching conditions such as not equals true.

View quarantined sensors

To see the attributes of quarantined sensors:

  1. From the Main menu, go to Administration > Content > Quarantined Sensors.

    The Quarantined Sensors grid displays many of the sensor attributes that are described in Create a sensor.

  2. (Optional) To display attributes that the grid hides by default, click Customize Columns Customize columns and select the attributes.
  3. (Optional) Use the filters to find specific sensors:
    • Filter by text: To filter the grid by sensor Name or Description, enter a text string in the Filter by text field.
    • Filter by attributeExpand: Filter the grid by one or more attributes, such as the Content Set assignment. Expand the ExpandFilters section, click Add Row or Add Grouping (to group by Boolean operators), click Add Add, select an attribute and operator, enter a text string that contains all or part of the attribute value, and click Apply. After you finish specifying attributes, click Apply All to filter the grid.
  4. (Optional)  To view all the attributes that are described in Create a sensor, click a sensor Name.

Remove sensors from quarantine

You can use Tanium Console to unquarantine a sensor on some or all endpoints. After you unquarantine a sensor, the Tanium Client allows it to run for subsequent questions and actions, but will stop and quarantine the sensor again if it exceeds the timeout.

Note:

If you modify a sensor, Tanium Clients that receive its new definition will automatically unquarantine that sensor.

The Tanium Server cannot unquarantine sensors on endpoints that are offline. If you know that some endpoints might come online only at a later time, consider scheduling an action that uses the Un-Quarantine Sensor or Un-Quarantine Sensor (Non-Windows) package. For more information, see Deploying actions and playbooks in Console and Interact.

  1. From the Main menu, go to Administration > Content > Quarantined Sensors.
  2. Select the sensors and click Unquarantine.
  3. Select the Action Group that includes the endpoints where you want to unquarantine the sensors.
  4. Preview the affected endpoints and then click Unquarantine.

Enable or disable enforcement of quarantined sensors

After you enable quarantine enforcement, Tanium Clients do not answer questions that use quarantined sensors and those sensors do not run for actions. After you disable enforcement, Clients still quarantine sensors and log quarantine events, but do not prevent those sensors from running.

Note: Your user account must have a role with the Global Settings write permission to enable or disable quarantine enforcement. Users with the Administrator reserved role have this permission.

The first time you enable enforcement, you must add the EnableSensorQuarantine setting to the platform settings on the Tanium Server as follows. By default, enforcement is disabled and the setting does not appear in Tanium Console. After you add the setting, the Tanium Server applies it to all Tanium Clients.

  1. Access Tanium Console.

  2. From the Main menu, go to Administration > Configuration > Settings > Advanced Settings, and click Add Setting.

  3. Enter the following values and click Save.

    • Setting Type = Server

    • Platform Setting Name = EnableSensorQuarantine

    • Value Type = Numeric

    • Value = 1

Perform the following steps if you want to change the enforcement setting after adding it to the platform settings:

  1. From the Main menu, go to Administration > Configuration > Settings > Advanced Settings.

  2. In the Name column, click EnableSensorQuarantine, set the value to 1 to enable enforcement or 0 to disable enforcement, and click Save.

Export quarantined sensor details

You can export quarantined sensor details as a CSV file. When you open the file in an application that supports CSV format, it lists the sensors with the same attributes (columns) as the Console Quarantined Sensors grid displays. Displaying the grid in a CSV application is useful when you want to customize the display. For example, you can use Microsoft Excel to create charts based on sensor attributes.

Note: You can export the details of specific quarantined sensors if you are assigned a role with Sensor write permission on the content sets for those sensors. Users with the Administrator or Content Administrator reserved role can export the details of all quarantined sensors.
  1. From the Main menu, go to Administration > Content > Quarantined Sensors.
  2. (Optional) To add or remove attributes (columns) for the CSV file, click Customize Columns Customize Columns in the grid and select the attributes.
  3. Select rows in the grid to export only specific sensors. If you want to export all sensors, skip this step.
  4. Click Export Export.
  5. (Optional) Edit the default export File Name.
  6. To include grid column headers in the CSV file, select Include headers in export.

    Skip the Flatten rows option. It does not apply to quarantined sensors.

  7. Click Export.

    The Tanium Server exports the file to the downloads folder on the system that you used to access Tanium Console.

Copy quarantined sensor details

Copy information from the Quarantined Sensors page to your clipboard to paste the information into a message, text file, or spreadsheet. Each row in the grid is a comma-separated value string in the copy.

  1. From the Main menu, go to Administration > Content > Quarantined Sensors.
  2. Perform one of the following steps:
    • Copy row information: Select one or more rows and click Copy Copy.
    • Copy cell information: Hover over the cell, click Options Options, and click Copy Copy.

Manage sensor results collection

With Tanium Data Service (TDS), you can see the cached results that endpoints return for registered sensors. The Tanium Server automatically collects results from registered sensors by issuing questions to all managed endpoints. TDS and Tanium solutions automatically register certain sensors and you can manually register other sensors. By default, TDS caches the results from each endpoint for 30 days after the last successful collection. You can view the cached results for both online and offline endpoints in Interact, Tanium Reporting, and any solution that provides Reporting dashboards.

For more information, see Managing sensor results collection through TDS.