Automatically deploying patches

Note: Patch automatic deployment configuration is supported for Windows endpoints only.

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. Atlas 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 Atlas 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.

Tanium managed patch automatic deployment configuration

Patch Management creates a Tanium managed patch automatic deployment configuration called [Tanium Managed] Windows Endpoints - Security Updates. This configuration is in a paused state so that no deployments start until you resume the configuration. Review the configuration before you resume it, because resuming it deploys updates to all Windows endpoints.

The configuration has the following settings:

  • Target: All Windows computer group
  • Deployment plan: Accelerated Phased Deployment
  • Patch criteria: Patches in the Critical Updates or Security Updates classification
  • Patching cadence: Weekly on Wednesday (UTC)
  • Notification: Pre-notification that endpoint users can postpone

You can pause and resume this configuration, but you cannot edit or delete the configuration. To use different settings, create your own patch automatic deployment configuration.

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 Delete a patch automatic deployment configuration.

  • 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. Atlas creates automatic deployment configurations for Windows endpoints only.

  1. In Tanium Atlas, enter the following chat prompt: Create an automatic deployment configuration.
  2. When Atlas asks for details, enter the following in the chat. Include any optional settings in the same message.
    1. Name: A unique name for the configuration.
    2. Content set: The content set to which the configuration is available. Deployments created from the configuration use this content set.
    3. Targets: The computer groups or question criteria to target.
      • You can only target computer groups that are assigned to your user, user group, or persona. For more information, see Assign computer groups.

      • If you describe a filter, such as a Tanium Client IP address that starts with a value, or specific computer names, Atlas creates a computer group for the filter and targets that group.

      • Multiple computer groups, questions, or limiting groups are each joined by an OR operator. If you target question criteria, you must also specify one or more limiting groups.

      Important:

      When you combine computer groups and question criteria, Atlas uses the following logic:

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

    4. Patching schedule: How often the configuration runs, and the time zone. For example, every week on Tuesday in UTC-4 creates a deployment every Tuesday around midnight ET. The exact time depends on a job that runs about once every hour.
    5. Deployment plan: The name or ID of the ring deployment plan to use for all deployments created from the configuration.

      The patching schedule specifies when a deployment starts in ring 1. The plan specifies how the deployment progresses through the subsequent rings. Endpoints must be targeted in both the configuration and the plan to be included in a deployment. For more information, see Managing deployment plans for ring deployments and Ring-based deployment.

      Important: You can't change the deployment plan after you create the configuration. To use a different plan, delete the configuration and create a new one.
    6. Patch criteria: One or more rules that determine which patches the configuration deploys. Give each rule a name and one or more conditions that a patch must match, such as severity or classification. To target additional sets of patches, add more rules. The configuration deploys patches that match any one of the rules.
    7. (Optional) Also specify any of the following in the same message:
      • Deployment template: The name of a deployment template. Atlas applies the settings defined in the template.

      • Distribute over time: The number of minutes over which to randomize the deployment start time on each endpoint. Use a value that is at least two hours less than the length of any maintenance window. If the value is longer, some endpoints can't run the deployment, or run the deployment outside of the maintenance window.

      • Advanced options:

        • Download 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.
        • Override block lists: Include patches that are blocked.
        • Restart: Restart the endpoint automatically after the deployment completes. Atlas accepts a restart without an end-user notification, so users get no warning before the restart.
        • Hide from Self Service: Hide the deployment from the Self Service Client, including the Activity and History sections.
        • Make available before start: Allow end users to start the deployment in the Self Service Client before the scheduled date and outside of maintenance windows.
      • User notification: A message to display to users on the endpoint after the deployment completes. Atlas can draft the message, and asks whether users can postpone the restart and how long the countdown lasts.

      • Schedule override: Triggers exception-based deployments outside of the regular schedule. Specify the following:

        • The criteria that trigger the override.
        • The action when the criteria are met:
          • Notify only: Sends an Override Available notification to the Needs Attention tab. A user must deploy the patches manually.
          • Trigger deployment: Creates a deployment automatically, without a notification.
        • When the action happens: immediately when the criteria are met, or on a defined schedule. A schedule on a notify-only override reduces notification frequency.
        • The patches to include: all available patches, or only the patches that triggered the override.
        • The deployment plan for the override.
        • The maximum number of deployments. If the limit is reached, Atlas doesn't create more deployments until an existing active deployment completes, is stopped, or is superseded.
  3. When Atlas asks you to approve creating the configuration, review the details, and then choose Approve once.
    Important: The configuration is active as soon as you approve it, and Atlas doesn't offer a paused state at creation.

Results

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

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. In Tanium Atlas, enter the following chat prompt: Skip the wait interval for a ring in a deployment.
  2. When Atlas asks for details, enter the name or ID of the ring deployment and the name or index of the ring.
  3. When Atlas asks you to approve the change, review the details, and then choose Approve once.
    Important: Atlas evaluates the ring's remaining progression criteria immediately, so the next ring can start sooner than planned. You can't revert the skip for a ring that is already in progress.

    As long as the wait is still pending, you can revert to applying the wait. Enter the following chat prompt, where <ring identifier> is the name or index of the ring and <deployment identifier> is the name or ID of the ring deployment, and then approve the request: Clear the skip of the wait for <ring identifier> in <deployment identifier>.

Edit a patch automatic deployment configuration

Edit a configuration to change settings, such as the patching schedule or patch criteria. You can't change the targets or the deployment plan of an existing configuration.

  1. In Tanium Atlas, enter the following chat prompt: Edit an automatic deployment configuration.
  2. When Atlas asks what to change, enter the name or ID of the configuration and the settings to update, such as the patching schedule, patch criteria, restart, or user notifications.
    Important: Changes to the patch criteria apply from the next scheduled run.
  3. When Atlas asks you to approve the change, review the details, and then choose Approve once.

Pause or resume a patch automatic deployment configuration

Pause a configuration to temporarily stop Atlas 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. In Tanium Atlas, enter the following chat prompt: Pause an automatic deployment configuration.
  2. When Atlas asks which configuration to pause, enter the name or ID of the configuration.
  3. When Atlas asks you to approve pausing the configuration, review the details, and then choose Approve once.
  4. To resume a paused configuration, enter the following chat prompt, where <configuration identifier> is the name or ID of the configuration: Resume the automatic deployment configuration <configuration identifier>. Then approve the request as in step 3.

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. In Tanium Atlas, enter the following chat prompt: Delete an automatic deployment configuration.
  2. When Atlas asks which configuration to delete, enter the name or ID of the configuration.
  3. When Atlas asks you to approve deleting the configuration, review the details, and then choose Approve once.
    Important: Deleting a configuration also removes the patch list that was created automatically for the configuration, unless a remaining run still uses that patch list. You can't undo the deletion.