Manually deploying patches

Use deployments to download and install Windows and Linux patches on a set of target computers. You can also use deployments to uninstall Windows patches. Deployments can run once, be ongoing to maintain operational hygiene for computers that come online after being offline, or be managed by end users with the End-User Self Service Client application.

Note: This topic includes information about confidence score. Confidence score is not available in Tanium Cloud for U.S. Government. For more information, see Patch feature availability in Tanium Cloud for U.S. Government.
Note:
  • Use ongoing deployments for general patch management and manual deployments for exigent circumstances.

  • Do not stagger deployments in an attempt to distribute the load on your network or Tanium. The more endpoints that are being patched simultaneously, the more efficient Tanium becomes with overall WAN usage. For bandwidth-constrained locations, you can implement site throttles. For more information, see Configure site throttles.

Tip: Tanium Automate implements install deployments in playbook steps. You can configure reusable playbooks with various steps and run a playbook multiple times to streamline and simplify your business processes. For more information on building a playbook, see Building playbooks. For more information on the available playbook steps, see Reference: Steps.

Before you begin

  • Organize the available patches into lists. For more information, see Create a patch list.

  • Create maintenance windows to define periods when patches can be deployed to endpoints. For more information, see Setting maintenance windows.

Tip: In Tanium Atlas, you can use the Windows and Linux Patch Health Overview gallery shortcut to view readiness scores across your fleet, or the Windows Pre-Patch Health Check gallery shortcut to assess Windows endpoint readiness before a patch cycle begins. For more information, see Templates Gallery.

Create a deployment template

You can create an install or uninstall deployment template. This template saves basic settings for a deployment that you can issue repeatedly.

  1. In Tanium Atlas, enter the following chat prompt: Create a patch deployment template.
  2. When Atlas asks for details, enter the following in the chat:
    • Name: A name for the template.
    • Operating system: The operating system of the endpoints the template applies to, either Windows or Linux.
    • Action: Whether the template installs or uninstalls patches.
    • Frequency: How deployments from the template run: ongoing with no end time, one-time with a specific start and end time, or self-service with end users managing the deployment in the Self Service Client application.
      Note: After patch installation starts, it continues even if you stop the deployment, the deployment ends, or the maintenance window closes.
      Note: After the deployment ends or the maintenance window closes, restarts do not occur and End-User Notification messages do not appear.
    • Content set: (Optional) The content set for the template. If you leave this out, Atlas uses your default content set.
    • Restart: (Optional) Whether to restart endpoints after patches install.
      Note: Windows endpoints restart when this option is configured, regardless of which patches are installed. Linux endpoints restart only when installing patches that require restart, such as Linux kernel updates.
    • Download immediately: (Optional) Whether endpoints download the patch content before the installation time.
      Note: Enter yes for future deployments. If you find that endpoints are not completing patch installations within the specified windows, schedule the deployments even further in advance.
    • Distribute over time: (Optional) The number of minutes over which to randomize the deployment start time on each endpoint. This option reduces concurrent consumption of shared compute resources in a virtual environment, network bandwidth, and repository server load when using the Repository Scan configuration technique.
      Note: Use a value that is at least two hours less than the length of the deployment window and any maintenance windows. If the value exceeds deployment and maintenance windows, some endpoints will not be able to run the deployment or will deploy the patches outside of the maintenance window.
    • Time zone: (Optional) Whether the deployment uses the local time on each endpoint.
    • Override maintenance windows: (Optional) Whether deployments from the template ignore maintenance window restrictions.
    • Override block lists: (Optional) Whether deployments from the template ignore block lists and include patches that are blocked.
    • End-user notifications: (Optional) Whether to warn users before the installation or after a restart. Atlas writes the message and timing. You can review them in the approval details and ask Atlas to change them. Notifications about restarts are for Windows endpoints only. For more information, see Endpoint restarts.
      Note: For endpoints with multiple users, notifications appear for the user with the lowest active session ID. For example, when two users are logged in at the same time, User1 gets the notification but User2 does not. If User1 logs off and User3 logs in, User2 gets the notification because User2 now has the lowest active session ID.
  3. When Atlas asks you to approve creating the template, review the details, and then choose Approve once.

Create a deployment to install patches

Note:
  • Use one-time deployments with a defined start and end time instead of continuously creating new deployments and manually stopping them after the patch window ends.

  • Avoid creating multiple deployments with the same patches to the same or overlapping endpoints.

  • Start with older patches first.

  1. In Tanium Atlas, enter the following chat prompt: Create a deployment to install patches.
  2. When Atlas asks for details, enter the following in the chat:
    • Name: A name for the deployment.
    • Operating system: The operating system of the endpoints to patch, either Windows or Linux.
    • Patches: The patches to install:
      • Windows: One or more patch lists, or specific patches.
        Note: Avoid choosing specific patches based on vulnerability reports. Instead, use dynamic, rule-based patch lists. These lists should be cumulative. For example, do not create any rules that prevent patches that are older than a specific date from being included in a patch list.
      • Linux: All updates or all security updates.
    • Target: The computer groups or computer names to patch.
    • Frequency: How the deployment runs: ongoing with no end time, one-time with a specific start and end time, or self-service with end users managing the deployment in the Self Service Client application.
      Note: After a patch deployment starts, it continues even if you stop the deployment, the deployment ends, or the maintenance window closes.
      Note: After the deployment ends or the maintenance window closes, restarts do not occur and End-User Notification messages do not appear.
    • Start time and end time: The period during which the deployment is effective.
      Important: Atlas can misread the time zone of a start or end time. Before you approve, check that the times in the details are the ones you intended.
    • Content set: (Optional) The content set for the deployment. If you leave this out, Atlas uses your default content set.
    • Restart: (Optional) Whether to restart endpoints after the deployment completes.
      Note: Windows endpoints restart when this option is configured, regardless of which patches are installed. Linux endpoints restart only when installing patches that require restart, such as Linux kernel updates.
    • Download immediately: (Optional) Whether files start downloading before the deployment start time and outside of maintenance windows.
      Note: For deployments that are set for the future, consider enabling the option to download outside of maintenance windows. If you find that endpoints are not completing patch installations within the specified windows, schedule the deployments even further in advance.
    • Distribute over time: (Optional) The number of minutes over which to randomize the deployment start time on each endpoint. This option reduces concurrent consumption of shared compute resources in a virtual environment, network bandwidth, and repository server load when using the Repository Scan configuration technique.
      Note: Use a value that is at least two hours less than the length of the deployment window and any maintenance windows. If the value exceeds deployment and maintenance windows, some endpoints will not be able to run the deployment or will deploy the patches outside of the maintenance window.
    • Override maintenance windows: (Optional) Whether the deployment ignores maintenance window restrictions.
    • Override block lists: (Optional) Whether the deployment ignores block lists and includes patches that are blocked.
    • End-user notifications: (Optional) Whether to warn users before the installation or after a restart. Atlas writes the message and timing. You can review them in the approval details and ask Atlas to change them. Notifications about restarts are for Windows endpoints only. For more information, see Endpoint restarts.
      Note: For endpoints with multiple users, notifications appear for the user with the lowest active session ID. For example, when two users are logged in at the same time, User1 gets the notification but User2 does not. If User1 logs off and User3 logs in, User2 gets the notification because User2 now has the lowest active session ID.
  3. When Atlas asks you to approve creating the deployment, review the details, and then choose Approve once.

Endpoint restarts

Atlas can trigger a restart of any system after updates have been installed. You can choose between the following options for the restart:

  • (Windows and Linux endpoints) Restart silently and immediately after deployment. This option is typically used for servers and production machines in conjunction with maintenance windows and change control processes.

  • (Windows endpoints) Create a post-deployment notification to notify the system user about the pending restart and give the system user the option to hide the notification for a specified amount of time.

Tip: End-user notifications can be added to existing deployments by stopping, reconfiguring, and reissuing the deployment.
Important: If your deployment is configured for a notification, but the endpoint does NOT have the End User Notifications Tools installed, the endpoint installs the updates, but does NOT restart. A status message is displayed in the Patch workbench about the missing tools.
Note: If no user is logged into an endpoint, the endpoint restarts immediately after a deployment completion even if the deployment is configured for a notification.

Windows: Create a deployment to uninstall patches

You can uninstall patches that appear in scan results. However, operating system limitations prevent some patches from being uninstalled.

  1. In Tanium Atlas, enter the following chat prompt: Create a deployment to uninstall patches.
  2. When Atlas asks for details, enter the following in the chat:
    • Name: A name for the deployment.
    • Operating system: Windows.
    • Patches: The patches to uninstall, such as their KB numbers or titles.
    • Target: The computer groups or computer names to uninstall the patches from.
    • Start time and end time: The period during which the deployment is effective.
      Important: Atlas can misread the time zone of a start or end time. Before you approve, check that the times in the details are the ones you intended.
    • Restart: (Optional) Whether to restart endpoints after the uninstall completes.

    The other settings to uninstall are similar to the options to install. For more information, see Create a deployment to install patches.

  3. When Atlas asks you to approve creating the deployment, review the details, and then choose Approve once.

Add targets to an existing deployment

You can add more targets to a deployment. For example, you can limit patch testing to a select computer group and then roll it out to more groups after it has been validated. All other deployment options remain the same and deployment results from the previous installation deployments are preserved.

  1. In Tanium Atlas, enter the following chat prompt: Add targets to a patch deployment.
  2. When Atlas asks for details, enter the following in the chat:
    • Deployment: The name or ID of the deployment.
    • Targets: The computer groups, by name or ID, or the computer names to add.
  3. When Atlas asks you to approve adding the targets, review the details, and then choose Approve once.
    Important: You can't remove targets from a deployment after you add them. To remove a target, stop the deployment and create a new deployment without that target.

Stop a deployment

You can stop a patch deployment. Stopping changes the deployment end time to now. It does not remove patches that have already completed installation.

  1. In Tanium Atlas, enter the following chat prompt: Stop a patch deployment.
  2. When Atlas asks which deployment to stop, enter the name or ID of the deployment.
  3. When Atlas asks you to approve stopping the deployment, review the details, and then choose Approve once.
    Important: You can't undo stopping a deployment. A stopped deployment can't be restarted.