Deploying actions and playbooks in Console and Interact

After you issue a question, analyze the question results, and determine which endpoints require changes, you can deploy actions to those endpoints. For example, you can deploy an action that restricts access to certain directories on endpoints. You can also deploy a series of actions as steps in a Tanium Automate playbook. For example, if question results indicate that some endpoints have non-approved software installed, you can run a playbook that uninstalls the software and performs related cleanup activities. You can run a playbook multiple times to streamline and simplify your business processes.

Important:

Do not deploy an action unless you completely understand its scope, impact on individual endpoints, and impact on the environment given the number of targeted endpoints. Review the Action best practices before deploying.

Be sure that your organization has authorized you to perform the action. Some organizations require a second administrator to review and approve actions. For more information, see Managing action approval.

Note:

For the user role permissions required to deploy actions, see Deploy actions. Automate Playbook execute permission is required to run playbooks. For more information, see Automate user role requirements.

Tanium provides predefined roles, content (such as packages), computer groups, action groups, and deployment plans for deploying actions. If you need to customize your environment to optimize action deployment, see Action deployment overview.

For information about viewing, running, or creating a playbook, and the available playbook steps, see Tanium™ Automate.

Tip: Disable or delete a simple (non-ring-based) action to stop deploying it, as described in Manage scheduled actions. To stop or pause an adaptive (ring-based) action, see Stop, pause, or resume deployments.

Select an action or playbook initiation method

In Tanium Console or Interact, select a method to initiate action deployment based on whether the actions are new or existing.

To deploy an action with predefined settings through Tanium Reporting or Tanium Guide, see Deploy a predefined action.

To run an existing playbook through Console or Interact, see Initiate an existing playbook.

Initiate a new action

Initiate a new action based on:

  • Endpoint data (question results): Issue a dynamic question (see Issue a free-form question) or a saved question (see Issue a saved question). From the Question Results page, select up to 100 rows for the endpoints that require the action, click Deploy Action, and go to Configure action settings.

  • Client connection status: Go to Administration > Configuration > Client Status, select the Tanium Clients (up to 100) to which you want to deploy actions, click Deploy Action, and go to Configure action settings.

  • Specific packages: Go to Administration > Content > Packages, select a package, click Deploy Action, and go to Configure action settings.

Initiate an existing action

Perform the following steps and then go to Configure action settings.

  1. Go to the Administration > Actions page for the actions that you want to deploy:
    • To deploy scheduled or unscheduled actions that were previously deployed, go to Administration > Actions > Action History.
    • To immediately deploy scheduled actions that are configured with a future start date, go to Administration > Actions > Scheduled Actions.
    Note: After an action is created or edited, a user might update the files or settings of the associated package. Before you redeploy an action, you can check the status of, and optionally update, package files. For more information, see Re-download package files. When you redeploy or edit an action, the workflow includes an option for updating the deployment package to use its latest settings.
  2. Select one or more actions and perform one of the following steps:
    • To redeploy a single action, or to re-issue multiple actions that each require a different start time or distribution period, click Reissue and skip to Configure action settings.
    • To redeploy multiple actions with the same start time and distribution period, select More > Bulk Reissue, specify the time standard (Local Time / UTC), Start At, and Distribute Over values (see Action schedule settings), click Confirm, and skip to Review action status. This option is for a one-time deployment only. If you select multiple recurring actions, the Tanium Server creates copies of the actions with their Schedule Type set to One Time Deployment.

Initiate an existing playbook

  1. Issue a dynamic question (see Issue a free-form question) or a saved question (see Issue a saved question).
  2. When the Question Results page shows the results, select up to 100 rows for the endpoints that require the playbook.
  3. Click Start a Playbook. The Select a Playbook dialog provides the following options for finding specific playbooks and assessing whether they are appropriate for the target endpoints:
    • Enter a text string that matches all or part of a playbook name in the Filter items Filter by name field to find a specific playbook.
    • Expand Expand the Limiting Group to see the syntax of the targeting question. Click the endpoint count Endpoint to issue the question and see the results in a new browser tab.
    • Expand Expand a playbook to see its steps.
  4. Click Review Playbook in the row for the playbook that you want, review the playbook settings to ensure they match your expectations, and click Start.

For information about viewing, running, or creating a playbook, see Tanium™ Automate.

Deploy a predefined action

In just a few steps, you can quickly deploy an adaptive (ring-based) action with predefined settings if you initiate the action from a report or a dashboard in Tanium Reporting. You can also deploy an action from an emerging-issue dashboard that Tanium Guardian provides through Tanium Guide. You perform the predefined action workflow through the Adaptive Action dialog, which has the following prerequisites:

  • Adaptive actions: The predefined action workflow requires a deployment plan assignment, and therefore the workflow does not apply to simple (non-ring-based) actions.

  • Permissions: You must sign in using a user account or persona with role permissions that enable access to at least one deployment plan. For more information, see Manage deployment plans.

  • Tanium Automate: Automate must be installed. For more information, see Managing Tanium solutions.

  • Package: The Adaptive Action dialog is available only for actions with packages that are not parameterized.

If the preceding prerequisites are not met, the Action Deployment page appears instead of the Adaptive Action dialog and you must Configure action settings as for a custom action.

Perform the following steps to deploy a predefined action:

  1. Initiate action deployment from one of the following sources:
    Tip: Dashboards show an action button with the icon Adaptive action for predefined actions and without any icon for custom actions.
  2. Review the settings in the Adaptive Action dialog and select a deployment plan if none is selected or you need to change the default selection. The settings in the dialog match corresponding settings in the Action Deployment page (see Configure action settings), with the following exceptions.
    Table 1. Adaptive Action dialog settings

    Setting

    Description

    Deployment Name

    This field corresponds to the action Name, which defaults to the name of the Deployment Package .

    Deployment Plan

    A plan is selected automatically if the package matches the Preferred for Deployment Type setting of only one deployment plan, but you can manually select a different plan. If the field displays None Selected, you must manually select a plan. You can select a plan or see the current selection in the Select Plan dropdown list. Only the Preferred Plans in the list (if any) are intended for the type of package that is associated with the current action.

    Total Eligible Endpoints

    This field shows a count of all the endpoints that are targeted for the action based on the Targeting Criteria in the action settings and the Assigned Endpoints in the deployment plan. Click the count to view question results that list the endpoints by Computer Name. The Interact Question Results page shows the list in a new browser tab. For an explanation of all the factors that affect how the Tanium Server determines eligible endpoints, see Endpoint targeting.

    Question Criteria

    This field corresponds to the Target Question in the action Targeting Criteria.

  3. If no setting edits are necessary, click Deploy and go to the next step. If edits are necessary, click Edit and Configure action settings to deploy a custom action instead of a predefined action.
  4. If the number of Estimated clients affected exceeds the configured threshold (the default is 100), enter the estimated number and click Confirm. The Tanium Server enforces this confirmation step to ensure that you understand the impact that an action will have on your network.
    Tip: To change the threshold that controls whether Console prompts users for the Estimated clients affected, edit the Prompt Estimate Threshold setting as described in Review and edit global settings for actions.
  5. (Optional) Monitor the progress of the action. For more information, see Review action status.

Configure action settings

After you open the Action Deployment Action Deployment dialog, configure the action settings. If you are deploying multiple actions, use the Previous Previous and Next Next arrows to navigate the actions.

Note: If an existing action has Start At and Re-issue every values and you clear them instead of specifying new values, those settings revert to the values that existed before you cleared them.
  1. Perform one of the following steps to open the Action Deployment Action Deployment dialog:
  2. Select a time standard for the action scheduling settings:
    • Local Time (default) is local to the system that you use to access Console.
    • UTC is Coordinated Universal Time.
  3. Select a Deployment Package Deployment Package. You might have to configure additional settings based on your selection:
    • Parameterized package: Configure any package parameters. For more information, see Example: Parameterized packages.

    • Updated package: If you are re-issuing or editing an action and the package settings changed after the action was last issued or saved, see Update action packages.

  4. Configure the basic Action Details Action Details.
    • Name: The name defaults to Deploy <deployment package> but you can overwrite the value with whatever name you want to use for identifying the action in Console and Interact pages.
    • Description (optional): Enter a description that helps other users understand the purpose of the action.

    The read-only Expiration Period appears if you are editing or reissuing the action. It indicates when the action expires, which means Tanium Clients can no longer run the associated package command. The expiration timer resets for each deployment of a recurring action but does not change the Deployment Schedule Deployment Schedule. The value is the larger result of the following calculations:

  5. Configure the Deployment Schedule Deployment Schedule.
    Table 2. Action schedule settings

    Setting

    Description

    Schedule Type

    Select one of the following options:

    • One Time Deployment: Deploy the action only once. This option is required for adaptive actions and optional for simple actions.

    • Recurring Deployment: Schedule the action to deploy at intervals (Re-issue every) over a specified period (from the Start At to End At date-times). This option is required for policy actions and is available only for simple actions.

    Re-issue every

    This setting appears only if you set the Schedule Type to Recurring Deployment. Recurring deployments are available only for simple actions, not adaptive actions. Specify a number and unit: Minutes, Hours, Days. The Re-issue every interval must exceed the action Expiration Period. For more information about the use cases for recurring deployments, see Scheduled actions.

    Start At

    By default, actions that do not require approval deploy immediately after you click Deploy Action at the bottom of the Action Deployment page. To override the default behavior, set a Start At date/time. For example, you might want deployment to start during a maintenance window for the targeted endpoints. Future start dates are available only for simple actions, not adaptive actions.

    Note: If you set a Distribute Over value, it delays the start time of the action beyond the Start At value.

    For information about how action approval affects the start time, see Approval impact on action timing.

    End Time

    This setting appears only if you set the Schedule Type to Recurring Deployment. Configure the setting if you do not want to re-deploy the action indefinitely. For example, you might want to stop deployment before the end of a maintenance window for the targeted endpoints.

    Note: Specify an End At date-time unless you are sure that you want to re-deploy the action indefinitely. If you are not sure, configuring the schedule to end in six months is better than running indefinitely.

    Distribute Over

    The Tanium Server distributes actions to endpoints in batches. The Distribute Over option randomizes the distribution over the specified period to prevent spikes in network traffic or other resource consumption. For more information, see Conserving resources through action distribution.

    You can set a Distribute Over value only for simple actions, not adaptive actions.

  6. Configure the Targeting Criteria Targeting Criteria, click Show Preview to Continue, and review the list of target endpoints.

    If you initiated action deployment from the Question Results page, the Target Question is based on the rows that you selected on that page. The action targets all endpoints that match the question. The question updates automatically when you change other Targeting Criteria. For a recurring action, only the endpoints that match the latest results of the Target Question perform the action.

    Action targeting
    Note:

    Interact applies Boolean AND logic if you add both a manual list of endpoints and computer groups.

    If you Enable Ring Deployment, the Targeting Criteria apply as a filter to the endpoint assignments in a deployment plan. For more information, see Endpoint targeting.

    Table 3. Action targeting settings

    Setting

    Description

    Action Group

    Select the action group that you want to target. For more information, see Targeting actions through action groups.

    Add Computer Groups (optional)

    Select one or more computer groups and click Save. For more information, see Controlling endpoint management rights through computer groups.

    Add Manual List (optional)

    Enter the computer names (case insensitive) or IP addresses of up to 100 managed endpoints and click Save. Use a new line or comma to separate each endpoint.

    Add Filter Question (optional)

    Add a filter to the from clause of the Target Question and click Save. For more information, see Filters in from clause.

  7. (Adaptive actions only) Select Enable Ring Deployment and select a Deployment Plan Deployment Plan. This option is available only for an adaptive action that meets the following conditions:
    • The action is new.
    • The Schedule Type is One Time Deployment.
    • The action is scheduled to deploy immediately, not with a future Start At date.
    • The action does not have a Distribute Over value.
    Note: For more information about adaptive actions, see Ring-based deployment.

    Perform the following tasks to select and (optionally) review a deployment plan:

    • Select a plan

      Select the deployment plan in the Select Plan dropdown list. If only one deployment plan specifies a Preferred for Deployment Type that matches the action deployment type, that plan is the default selection. For more information, see Deployment types. You can select a different plan than the default. The dropdown list shows the Tanium icon Tanium-managed for Tanium-managed plans.

    • Review ring details

      By default, each ring section is collapsed and shows only the wait time Wait time, number of progression Criteria Progression criteria, and target endpoint count Target endpoints. You can Expand Expand a ring or Expand All rings to show additional ring settings, such as assigned endpoints and progression criteria. The Not Applicable icon Not Applicable indicates criteria that do not apply to the current deployment type.

      Tip: For each ring, you can click the count Target endpoints of target endpoints to view a list of the endpoints. The Interact Question Results page shows the list in a new browser tab.
    • Review deferred endpoints

      If the deployment plan specifies Deferred endpoints, you also can Expand Expand the Deferred Endpoints section to see the filter groups that are deferred to the last ring.

    Tip:

    To view the entire deployment plan configuration in a new browser tab, click Show Plan Details. Optionally, you can then edit the plan settings. For more information, see:

  8. Click Deploy Action to deploy a new action or reissue an action. Click Save Action if you are editing an action.
  9. If the number of Estimated clients affected exceeds the configured threshold (the default is 100), enter the estimated number and click Confirm. The Tanium Server enforces this confirmation step to ensure that you understand the impact that an action will have on your network.
    Tip: To change the threshold that controls whether Console prompts users for the Estimated clients affected, edit the Prompt Estimate Threshold setting as described in Review and edit global settings for actions.

If the action deploys immediately, a page opens automatically to show the action status. If the action requires approval or has a future start date/time, you can view its status after deployment starts in the Action History page or Deployment Details page. For more information, see Review action status.

Review action status

  1. If the action does not require approval and deployment starts immediately, skip to the next step. Otherwise, go to Administration > Actions > Scheduled Actions and confirm the action is listed.

    Perform the next step after:

    1. A user approves the action, if approval is required. For more information, see Approve pending actions.

    2. Deployment starts, if it is scheduled for a future date/time.

  2. Perform one of the following steps based on the type of action:

    • Adaptive action: The Deployment Details page opens automatically. For more information, see Analyze and manage a single deployment.

    • Simple action: If the action did not require approval and deployment started immediately, the Action Status page opens automatically. Otherwise, you can manually open the Action Status page from the Action History page after the action is approved and starts deploying. For more information, see View status for simple actions.

Note: To troubleshoot action deployment issues, see Monitor actions.