Automatically deploying patches

Note: Patch automatic deployment configuration is supported for Windows endpoints only.
Important: If you enabled configuration approvals, automatic deployments are not supported. To use automatic deployments, you need to disable approvals. For more information, see Managing approvals.

A patch automatic deployment configuration defines the patch criteria (rules), patching cadence (schedule), and endpoint targets for a recurring patch deployment. Instead of manually creating individual deployments every time a new patch becomes available, you can configure a patch automatic deployment configuration. Patch evaluates the configuration on a recurring basis and creates new deployments automatically per the user-defined schedule.

For example, you can create an automation to deploy patches that have a severity level of Important to Windows endpoints every Sunday.

Overview

A patch automatic deployment configuration consists of the following items:

  • Targeting criteria: The endpoints to patch.

  • Patching cadence: The recurrence pattern that controls when to automatically create a deployment.

  • Patching criteria: The rules that define the patches to consider for deployment.

  • Deployment plan: The strategy for how the deployment progresses through rings.

  • Notification settings: The notification messages to send to endpoints.

Tip: Create multiple configurations when you want to specify different general deployment settings, target different endpoints, or use different ring deployment plans.

How patch automation works

When you first create a patch automatic deployment configuration, the system automatically creates a patch list with the same name and the first automatic deployment.

Patch lists

A patch list defines which patches are eligible for deployment. The patch criteria determine which patches to include in that patch list. Over time, new patch list versions are created as additional patches become available that match the criteria.

Automatic deployments

The first automatic deployment deploys the initial patch list. On each subsequent recurrence, if there are changes to the patches on the patch list since the last deployment, then Tanium Patch creates a new deployment.

Each deployment contains a specific version of the patch list to ensure that the set of patches remains consistent as the deployment progresses through the rings of a deployment plan. Only endpoints that are included in both the patch automatic deployment configuration and in the deployment plan receive the deployment.

Before you begin

  • Create a ring deployment plan. For more information, see Create a deployment plan.

    Note: To limit the chance of a user deleting a ring deployment plan, assign the ring deployment plan to a content set with limited access.
  • Review the timing factors and maintenance window considerations for ring deployments. For more information, see Deployment timing factors and maintenance windows.

  • Ensure that endpoints have Endpoint Toolset version 2.32, which is required for automatic deployments. To identify endpoints that need a toolset update, see Verify endpoint tools.

  • Ensure that you have the Patch Automatic Deployment Configuration Operator role.

Create a patch automatic deployment configuration

Create a configuration that automatically creates a patch deployment when the patching criteria are met.

  1. From the Main menu, go to Modules > Patch > Deployment Automation > Automatic Deployment Configurations and click Create Automatic Deployment Configuration.
  2. Complete the Deployment Parameters section.
    • Name: Enter a unique name for the configuration.
    • Content Set: Select the content set to which this configuration is available. Deployments created from this automatic deployment configuration use this content set.
    • (Optional) Deployment Template: Select a template to apply the settings defined in the template.
  3. In the Targets section, select any of the following targeting methods and complete the fields as needed.
    • Computer Groups: Select computer groups to target. If you make multiple selections, the computer groups are joined by an OR operator. You can only target computer groups that are assigned to your user, user group, or persona. For more information, see Assign computer groups.

    • Question Criteria: Add Tanium question filters as a target. If you add multiple questions, the questions are joined by an OR operator. You must also click Set Limiting Group to limit the targeting conditions. If you select multiple limiting groups, the limiting groups are joined by an OR operator.

      Important:

      When you combine both Computer Group and Question Criteria targets, the following logic is used:

      (Limiting Group A OR Limiting Group B) AND (Computer Group OR Question)

      Consider the following example:

      • Computer Group = All Laptops

      • Question = Tanium Client IP Address starts with 192.168.1

      • Limiting Group = All Windows 10, All Windows 11

      With these conditions, the configuration targets All Windows 10 and All Windows 11 devices that are either laptops or have an IP address starting with 192.168.1.

      Tip:

      To target specific computer names, use the following filter builder and separate names by using the pipe (|) character. Tanium recommends targeting fewer than 100 computer names.

      Computer Name matches "^(computername1|computername2)$"

      Computer names must be a fully qualified domain name that exactly matches the name registered with Tanium.

  4. Review the Advanced Deployment Options section and make changes as needed.
    • Download all package files immediately: Download the patch content as soon as it is available and ignore maintenance windows.
    • Override Maintenance Windows: Allow deployments to run outside of maintenance windows. This setting is visible only if you have the Patch Deployment Override Maintenance Window Write permission.
    • Override Block Lists: Include patches that are blocked. This setting is visible only if you have the Patch Deployment Override Block Lists Write permission.
    • Restart after Operation: Restart the endpoint automatically after deployment completes.
    • Hide from Self Service Client: Hide this deployment from the Self Service Client application, including the Activity and History sections.
    • Make Available before Start Time: Allow the end user to start this deployment in the Self Service Client application before the scheduled date and outside of maintenance windows.
  5. In the Patching Cadence section, define the recurrence settings.
    • Recur: Define the recurrence interval.

    • Deployment Time Zone: Select a time zone to use for the deployment schedule. The auto-deployment is scheduled for around midnight (00:00) on the day of recurrence.

      For example, recur every 1 week, on Tuesday, following UTC-4 means an auto-deployment is scheduled to be created every Tuesday around midnight ET. The exact time depends on a job that runs approximately once every hour to create the deployment.

    • Enable Distribute Over Time: Randomize the deployment start time on each endpoint by an amount of time up to the value that you configure. This option reduces network bandwidth and concurrent consumption of shared compute resources in a virtual environment.

      Note: Specify a Distribute Over Time value that is at least two hours less than the length of any maintenance windows. If the value exceeds maintenance windows, some endpoints will not be able to run the deployment or will deploy the patches outside of the maintenance window.
  6. In the Deployment Plan field, select the ring deployment plan to use for all deployments created from this automatic deployment configuration. Review the deployment plan type, number of rings, and progression criteria. For more details, click Plan Details.

    The Patching Cadence specifies when a deployment starts in ring 1. The ring deployment plan specifies how the deployment progresses through the subsequent rings. Endpoints must be targeted in both the automatic deployment configuration and the ring deployment plan to be included in a deployment. For more information, including how Patch actions work with ring criteria, see Managing deployment plans for ring deployments and Ring-based deployment.

  7. In the User Notification section, add messages to display to users on the endpoint. Post-notifications appear after the deployment completes.
  8. In the Patch Criteria section, define the rules that determine which patches this configuration deploys.
    1. Click Add Rule and enter a name for the rule.
    2. Add one or more conditions. Conditions define the attributes that a patch must match to be included.
    3. To target additional sets of patches, click Add Rule and add conditions. The configuration deploys patches that match any one of the defined rules.
  9. (Optional) To trigger exception-based deployments outside of the regular cadence, click Enable Override in the Patching Schedule Override section.
    1. In the Override Criteria field, define the rules that trigger an override.
    2. For When Override Criteria is met, select an action and configure the schedule.

      Action

      Schedule option

      Description

      Notify only Notify immediately

      Sends an Override Available notification to the Needs Attention tab immediately when the override criteria are met. A user must manually deploy the patches.

      Notify following schedule

      Sends the notification on a defined schedule. Use this option to reduce notification frequency.

      Trigger deployment Deploy immediately

      Automatically creates a deployment immediately when the override criteria are met, without sending a notification.

      Deploy following schedule

      Automatically creates a deployment on a defined schedule when the override criteria are met.

    3. For Schedule Content, select which patches to include in the override deployment.
      • Deploy all available patches: Include all available patches from the patch list.

      • Deploy only patches that triggered the override: Deploy only the patches that match the override criteria.

    4. In the Deployment Plan field, select the ring deployment plan to use for deployments created from this override.
    5. In the Deployment Limit field, enter the maximum number of deployments this configuration can create due to the override criteria. If the limit is reached, Patch does not create additional deployments until an existing active deployment completes, is stopped, or is superseded.
  10. Click Save.

Results

After you create the automatic deployment configuration, Patch creates the initial deployment within an hour. Then, at each scheduled interval, Patch creates new auto-deployments if there are new or updated patches that meet the criteria.

Review all automatic deployment configuration activity

You can review the status and other details of deployments created from automatic deployment configurations for at least the last 30 days. If necessary, refresh the page to see the latest status.

Note: You can also review an automatic deployment on the Deployments page. On the Deployments page, automatic deployments are prepended with Auto Deployment - <ADC_Name>, or for overrides, Auto Deployment - Override - <ADC_Name>. For more information, see Manually deploying patches.
  1. From the Main menu, go to Modules > Patch > Deployment Automation > Activity.

  2. In the All Activity table, view the deployments.

  3. To filter the rows based on configuration type or status, click the corresponding toggle. The table contains the following columns.

    • Name: The name of the deployment.

      • For active deployments, the name uses the pattern Auto Deployment - <configuration_name> - <active_deployment_date>.

      • For pending deployments, the name shows Scheduled Auto Deployment - <configuration_name> - Pending.

    • Configuration: The patch automatic deployment configuration that triggered the deployment.

    • Patches: The number of patches in the deployment.

    • Type: The method by which the deployment was created.

      • Normal cadence means the deployment was created from the regular patching schedule.

      • Schedule Override means the deployment was created because the override criteria was met.

    • Status: The status of the deployment.

      • Active: The deployment is progressing through the rings of the deployment plan.

      • Completed: The deployment has successfully progressed through all the rings of the deployment plan.

      • Pending: The deployment is waiting for the next patching cadence to arrive.

      • Stopped: The deployment was manually stopped.

      • Superseded: The deployment was replaced by a newer deployment with newer patches for the same targets.

    • Action: For active deployments, you can manually stop the deployment. For pending deployments, you can manually start the deployment.

  4. To review an active deployment, click the deployment name. For more information, see Manually deploying patches.

  5. To review a pending deployment, expand the row to see the scheduled deployment date, the deployment plan, and the patches included.

  6. To review the configuration that created the deployment, click the configuration name in the Configuration column.

Review automatic deployments that need attention

The Patch workbench provides notifications in the Needs Attention tab for automatic deployment configurations that need review.

  1. From the Main menu, go to Modules > Patch > Deployment Automation.

  2. Select the Needs Attention tab.

  3. Review the issues and take action as needed.

    • Override Available: One or more patches meet the override criteria, and the automatic deployment configuration was configured to Notify Only. To deploy the patches, click Deploy Now in the Actions column.

    • No Deployment Plan: The automatic deployment configuration does not currently have a valid ring-based deployment plan associated with it. The previously assigned deployment plan was deleted. Assign a new deployment plan to the automatic deployment configuration.

    • Ring Deployment Issue: The deployment cannot progress to the next ring because the ring progression criteria have not been met. Review the ring deployment to assess the deployment plan status. Manually start the deployment in the next ring if desired.

Skip the wait interval during deployment

In a deployment plan, the Wait interval is a required setting for each ring except for the last ring. You can skip a wait interval that is pending or in progress in one or more rings during deployment. Skipping the wait is useful if the deployment resolves an urgent incident for which speed is a higher priority than providing Tanium Clients more time to measure the impacts. If you skip the wait, the Ring progression criteria evaluation starts. You can revert to applying the wait for a ring as long as the progression criteria evaluation has not started.

  1. From the Main menu, go to Modules > Patch > Deployments and click the Name of a deployment that includes a deployment plan.
  2. Go to the Deployment Plan section, select the ring where you want to skip the wait, and perform one of the following steps based on the Wait <interval> state.
    • If the wait is Pending. select Skip in the Progression Status section. As long as the wait is still pending, you can revert to applying the wait by clearing Skip.
    • If the wait is In progress, click Skip the Wait in the message banner, review the information about the wait interval, and click Skip the Wait again.

For auditing purposes, the Wait <interval> field on the Deployment Details page records the event with the message: Skipped by <user name> on <date> at <time>.

Edit a patch automatic deployment configuration

Edit configurations to change settings, such as patching cadence or patch criteria.

  1. From the Main menu, go to Modules > Patch > Deployment Automation > Automatic Deployment Configurations.
  2. For the automatic deployment configuration that you want to modify, click Edit.
  3. Update the settings and then click Save.

Pause or resume a patch automatic deployment configuration

Pause a configuration to temporarily stop Tanium Patch from automatically creating deployments. Pausing does not stop Active deployments but does stop Pending auto deployments from starting.

When you resume a configuration, Pending auto deployments continue as scheduled. If the original pending deployment scheduled date has passed, the deployment starts at the next hourly job that evaluates configurations.

  1. From the Main menu, go to Modules > Patch > Deployment Automation > Automatic Deployment Configurations.
  2. For the automatic deployment configuration that you want to pause, click Pause. The automatic deployment configuration is no longer evaluated.
  3. To resume a paused configuration, click Resume.

Delete a patch automatic deployment configuration

Delete a configuration to permanently remove the configuration and stop all future automated deployments. Existing deployments (Active or Pending) are not affected.

  1. From the Main menu, go to Modules > Patch > Deployment Automation > Automatic Deployment Configurations.
  2. For the automatic deployment configuration that you want to delete, click Delete.