Automate overview

With Automate, use playbooks to simplify Tanium platform interactions into logical steps to solve key scenarios. Automate offers a mix of full automation and user-driven actions across Tanium solutions to streamline routine business processes for teams and improve productivity. With Automate, you can:

  • Create playbooks to run tasks across multiple Tanium solutions.

  • Build your own custom playbooks.

  • Easily deploy playbooks to run at scale.

  • Reuse playbooks for multiple workflow runs.

Note: Automate uses functionality contained in the Tanium™ Core Platform and other Tanium solutions. To use Automate to automate tasks in your environment, you should have a fundamental understanding of the Tanium Core Platform and be familiar with any solutions that you intend to use in your playbooks. For more information about the solutions that Automate supports, see Interoperability with other Tanium products.

Playbooks

Automate uses playbooks to automate workflows. A playbook is a series of sequential steps that progress automatically or manually to accomplish a goal. With Automate, you can build custom playbooks to accomplish your goals.

Steps

A step is a single action in a playbook that might be performed automatically or manually. When you create or edit a playbook, you can add, remove, and reorder steps in the playbook.

You must have sufficient permissions to a step to add that step to a playbook. This includes permissions to any solutions or content that are required by the step.

For more information about available steps and requirements, see Reference: Steps.

Step targeting

You can add steps to playbooks that target endpoints, such as the Deploy Action step. When you add the step, you can select the endpoints for the step to target based on:

  • endpoints that were targeted by the previous targeting step,

  • endpoints that successfully completed the previous targeting step, or

  • select different computer groups to target.

The previous targeting step does not need to immediately precede this step. The options to target endpoints from the previous targeting step are only available if there is a previous targeting step in the playbook.

Targeting scenarios

Consider the following example endpoints, belonging to the following computer groups:

Table 1. Example of endpoints and computer group membership

Endpoint host name

Computer group membership

1-WINDOWS-PHYSICAL
  • All Computers

  • All Windows Workstations

  • All Physical Machines

2-WINDOWS-VIRTUAL
  • All Computers

  • All Windows Workstations

  • All Virtual Machines

3-LINUX-PHYSICAL
  • All Computers

  • All Linux Workstations

  • All Physical Machines

4-LINUX-VIRTUAL
  • All Computers

  • All Linux Workstations

  • All Virtual Machines

5-MACOS-VIRTUAL
  • All Computers

  • All macOS Workstations

  • All Virtual Machines

Consider a playbook that has three steps:

  1. Deploy Action, targeting members of the All Computers computer group (1-WINDOWS-PHYSICAL, 2-WINDOWS-VIRTUAL, 3-LINUX-PHYSICAL, 4-LINUX-VIRTUAL, 5-MACOS-VIRTUAL)

  2. Wait, five minute duration

  3. Deploy Action, targeting described in the following examples

Step 1 does not have any additional targeting configured.

When the playbook runs, step 1 targets all five endpoints in the All Computers computer group. Of the endpoints, 1-WINDOWS-PHYSICAL and 4-LINUX-VIRTUAL successfully complete step 1.

The results of step 1 can then influence which endpoints are targeted by step 3, which is the next targeting step in this scenario. The following table shows the targeting options for step 3 and which endpoints will be targeted.

Note: The following table assumes all targeted endpoints are online for the entire workflow.
Table 2. Targeting options for step 3

Step 3 Deploy Action targeting

Targeting evaluation

Deploy Action to new target, targeting members of All Windows Workstations computer group, constrained by no additional action group

Target members of All Windows Workstations computer group:

  • 1-WINDOWS-PHYSICAL

  • 2-WINDOWS-VIRTUAL

Deploy Action to new target, targeting members of All Windows Workstations computer group, constrained by All Virtual Workstations action group

Target members of All Windows Workstations computer group and All Virtual Workstations action group:

  • 2-WINDOWS-VIRTUAL

Deploy Action to targets from previous step, constrained by no additional action group

Inherit targeting from Step 1 (the most recent prior step in the playbook that targeted endpoints), target members of All Computers computer group:

  • 1-WINDOWS-PHYSICAL

  • 2-WINDOWS-VIRTUAL

  • 3-LINUX-PHYSICAL

  • 4-LINUX-VIRTUAL

  • 5-MACOS-VIRTUAL

Deploy Action to targets from previous step, constrained by All Virtual Workstations action group

Inherit targeting from Step 1 (the most recent prior step in the playbook that targeted endpoints), target members of All Computers computer group that are also members of All Virtual Workstations action group:

  • 2-WINDOWS-VIRTUAL

  • 4-LINUX-VIRTUAL

  • 5-MACOS-VIRTUAL

Deploy Action to endpoints that completed the previous step successfully, constrained by no additional action group

Inherit targeting from Step 1, target members of All Computers computer group that also completed Step 1 successfully: 

  • 1-WINDOWS-PHYSICAL

  • 4-LINUX-VIRTUAL

Deploy Action to endpoints that completed the previous step successfully, constrained by All Virtual Workstations action group

Inherit targeting from Step 1, target members of All Computers computer group that also completed Step 1 successfully and are members of All Virtual Workstations action group:

  • 4-LINUX-VIRTUAL

Synchronous steps

Each step in a playbook that targets endpoints runs synchronously on all targeted endpoints. This means that to continue to the next step in a playbook, each targeted endpoint must complete the step, whether successful or not, within an evaluation time period based on the step type. Endpoints that do not respond or are otherwise unavailable during this evaluation time period (such as offline endpoints) complete the step as not successful. A step is considered complete when the evaluation period elapses, and no more endpoints are in a Pending state or a timeout occurs.

When a step completes, Automate evaluates the status of all targeted endpoints. If a threshold or conditional check is met, the playbook continues to the next step. Otherwise, the playbook stops. Subsequent steps can continue to target all previously targeted endpoints, target only endpoints that successfully completed the prior step, or provide custom targeting.

Playbook runs

After you create a playbook, you can run the playbook. When you run a playbook, Automate creates an instance of the playbook, otherwise called a playbook run. Playbooks are reusable; you can initiate multiple runs from the same playbook, and define different parameter values for each run. You can manually start a playbook run, or you can schedule the playbook run.

Note: If you schedule a playbook with parameters, you configure parameter values when you create the schedule. Every scheduled playbook run uses those defined parameter values.

Playbook run initiator

Any user with sufficient permissions can initiate playbook runs. A user does not need to create a playbook to run a playbook. Playbook runs use the computer management group permissions of the user who initiates the run to determine which endpoints to target. Thus, a playbook can target different endpoints depending on which user and persona starts the playbook run. Multiple users can each create a playbook run based on a playbook revision, and these playbook runs can run concurrently.

Scheduled runs use the computer management group permissions of the user and persona of the playbook schedule creator.

Important: Automate generates an API token associated with each user and active persona that initiates playbook runs, active for 7 days after creation date, to manage playbook runs. After a token expires, Automate rotates the API token for that user and active persona. These API tokens contain the note "System Use Only for Automate", and are not associated with trusted IP addresses because the API tokens are used for authentication and authorization only within the Tanium Core Platform. Do not delete these API tokens, as playbook runs might fail. If an API token is deleted, start or schedule playbooks that use that API token to generate a new API token associated with your user and active persona.

To initiate a run for a playbook, a user must have the following permissions:

  • Automate Playbook execute permission on the playbook content set

  • Permissions to any solutions used by the steps in the playbook

  • Permissions to any content used in the playbook, including content sets, sensors, and computer groups

  • Computer management group permissions for endpoints targeted by the playbook

Supported languages

You can select one of the languages in the following table for user interface (UI) text in the Automate workbench and Tanium documentation.

The language that you select for the workbench also sets the date and time format:

  • Dates: In the table, the letters dd, mm, and yyyy represent the digits for day, month, and year respectively.
  • Times: English (United States) times use the 12-hour clock in the format hh:mm:ss [AM|PM] <time zone>, where hh, mm, and ss represent the hour, minute, and second respectively. Other times use the 24-hour clock, where GMT-<#> indicates the offset from Greenwich Mean Time (GMT). For example, GMT-7 indicates a time zone that is 7 hours ahead of GMT.
Table 3. Supported languages with associated date and time formats
Language Locale code Date and time format
English (United States) en-US mm/dd/yyyy [AM|PM] <time zone>
French (France) fr-FR dd/mm/yyyy GMT-<#>
German (Germany) de-DE dd/mm/yyyy GMT-<#>
Japanese (Japan) ja-JP yyyy/mm/dd GMT-<#>
Korean (Korea, Republic of) ko-KR yyyy.mm.dd GMT-<#>
Spanish (Latin American) es-LA dd/mm/yyyy GMT-<#>

For information about language support, which types of text are translated, and the steps to select a language, see Reference: Language support.

Tanium Autonomous IT Platform in Automate

Tanium Autonomous IT Platform comprises a set of interrelated features across multiple Tanium solutions. The Autonomous IT Platform provides guided initial configuration for solutions, proactively collects intelligence about conditions in Tanium environments, provides guidance based on those conditions, and enables automated workflows to address issues. For more information, see Overview of Tanium Autonomous IT Platform. Tanium Automate provides the following Autonomous IT Platform features:

  • Playbooks: Playbooks contain a series of steps, each representing a single task, that run Tanium functionality automatically. You can create custom reusable playbooks and run the playbook on an ad-hoc basis or on a schedule. For more information, see Building playbooks and Reference: Steps.

Interoperability with other Tanium products

Connect

The Run a Tanium Connection step requires Tanium™ Connect to run a connection. For more information, see Reference: Steps.

For more information about Connect, see Tanium™ Automate.

Deploy

The Deploy Action step requires Tanium™ Deploy to deploy a specified package to target endpoints. The Deploy Software step requires Deploy to install, update, or remove software packages or bundles on target endpoints. For more information, see Reference: Steps.

For more information about Deploy, see Automate.

Email

Use Tanium™ Email to send playbook run email notifications.

For more information about configuring an email server profile, see Configure email server profile settings for Microsoft 365.

Gateway

Use Tanium™ Gateway to access the Automate API. For more information, see Reference: Gateway examples for Automate.

Patch

The Install Patch step requires Tanium™ Patch to deploy software to target endpoints. For more information, see Reference: Steps.

For more information about Tanium Patch and how to install patches, see Automate.

Reporting

You can target the endpoints in a playbook run directly from a report or the Explore Data page in Tanium™ Reporting.

For more information, see Deploy an action or run a playbook.

Threat Response and Quarantine

The Linux Quarantine and Windows Quarantine steps require Tanium™ Threat Response and Tanium™ IR Quarantine to quarantine endpoints from the network. The Remove Linux Quarantine and Remove Windows Quarantine steps require Tanium Threat Response and Tanium IR Quarantine to restore network connectivity to quarantined endpoints. For more information, see Reference: Steps.

For more information about Tanium Threat Response and quarantining endpoints, see Tanium™ Automate.