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.
-
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.
Before you begin
-
Organize the available patches into lists. See Create a patch list.
-
If you want to notify the end users of your endpoints about the restarts that occur after patch installations, install the Tanium End-User Notifications solution. For more information, see Installing End-User Notifications and Endpoint restarts.
-
Create maintenance windows to define periods when patches can be deployed to endpoints. For more information, see Setting maintenance windows.
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. You can either create a deployment template from the Deployment Templates menu item, or you can select an option when you create a deployment to save the options as a template.
Set the default deployment template
The default deployment template is applied when you create new deployments. Importing Patch with automatic configuration creates a default installation deployment template for each supported operating system. You can change the default installation template. After you create an uninstallation deployment template, you can set it as the default template.
- From the Main menu, go to > Deployment Templates.
- To set a default deployment template, select a deployment template and then click Set as Default.
- To remove the default designation, select a deployment template and then click Remove as Default.
Create a deployment to install patches
-
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.
To change the number of retries for each phase of a deployment, see Adjust the deployment retries.
Endpoint restarts
Patch 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.
Create a deployment to install patches on a single endpoint
You can quickly create a deployment to install patches on a single endpoint through the Endpoint Details page in Tanium Reporting. To create a deployment, you must have the Patch Deployment write permission.
- Open the Endpoint Details page for the endpoint that requires a deployment. See View endpoint details.
- Select the Endpoint Management tab.
- In the OS Patch Applicability section, select up to 50 patches, click Install, and complete the deployment.
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.
-
From the Main menu, go to > Deployments and then click .
-
(Optional) Click Apply Deployment Template to select an existing template upon which to base this deployment.
-
Review the Deployment Overview section and click Edit
to make changes as needed. Accept the default name or provide a name for the deployment, add an optional description, and select a content set. For more information, see Managing access to content through content sets.
-
In the Content to deploy section, expand the Add Patches Manually section and add one or more patches.
Note: The applicability count in the grid is for endpoints that do not have the patch installed. -
In the Endpoints to target section, add targeting criteria for endpoints.
Select 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.
Note: 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. It is recommended to target 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.
-
-
Review the readiness score for your endpoints. Click the score to drill-down into Interact. For more information, see Endpoint readiness score.
Note: The readiness score is created from cached data in Tanium Data Service (TDS). If you use the Question Criteria filter and use unregistered sensors in the question, first register the sensors and then continue with the deployment to see accurate readiness scores for targeted endpoints. For more information, see Register or unregister sensors for collection. If you use Computer Names, Patch calculates readiness scores from endpoints in the selected limiting group. -
In the Deployment Type and Schedule section, set the deployment schedule.
-
Deployment Type: Select a deployment frequency. You can select an ongoing deployment that does not have an end time, a one-time deployment with a specific start and end time, or a self service deployment to allow end users to manage 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. -
Deployment Time Zone: Designate the deployment time zone for the start and end times.
-
Start Time/End Time: Specify the period during which the deployment will be effective.
-
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 concurrent consumption of shared compute resources in a virtual environment, network bandwidth, WSUS server load when using WSUS scan configuration technique, and repository server load when using the Repository Scan scan configuration technique.
Note: Specify a Distribute Over Time 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.
-
-
Review the Deployment Settings section and click Edit
to make changes as needed.
-
Download Immediately: Download the patch content immediately, before the deployment start time.
Note: Select this option for future deployments. If you find that endpoints are not completing patch operations within the specified windows, schedule the deployments even further in advance.Tip: To schedule a download time, leave this option cleared and create a maintenance window after the start time for this deployment. With this configuration, endpoints begin downloading software at the start time for the deployment and begin running the downloaded software at the start time for the maintenance window. -
Override Maintenance Windows: Ignore maintenance window restrictions.
This setting is visible only if you have the Patch Deployment Override Maintenance Window Write permission.
-
Override Block Lists: Ignore block lists and include patches that are blocked.
This setting is visible only if you have the Patch Deployment Override Block Lists Write permission.
-
If you selected an ongoing or one-time deployment, configure the Self Service settings.
-
Hide from Self Service Client: Hide this deployment from the Self Service Client application
-
Make available before Start Time: Allow the end user to start this deployment in the Self Service Client application before the scheduled Start Time and outside of maintenance windows.
-
-
Restart: Select whether to restart the endpoint after 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.
-
-
(Windows endpoints only) Review the User Notifications section and click Edit
to make changes as needed.
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. -
(Optional) To create a new deployment template based on this template, click Save Settings as New Template, specify a name for the template, and then click Save. For more information, see Create a deployment template.
-
Click Preview to Continue.
-
Review the deployment details for the applicable patches, and then click Deploy.
Review deployment summary
You can get the deployment results by status, any error messages, and the deployment configuration details.
-
From the Main menu, go to > Deployments.
-
Select the Active, Inactive, or Self Service tab.
Expand the sections to see summary information about the deployment, such as targeted groups and schedule.
-
Click the deployment name. The Status section shows the status and substatus, links to deployment results, OS, online endpoints, information about the last time the status or initialization was updated, and any error messages.
-
Active deployments show the current Deployment Progress on Endpoints. For more information, see Reference: Patch status.
-
Inactive deployments show the Final Deployment Status on Endpoints. When a deployment becomes inactive, all deployment activity stops and the Status section shows the last reported status at that time. If you see endpoints under an in-progress status, such as Waiting, Downloading, or Installing, the deployment is not in progress.
-
-
In the Deployment Details area, expand the section you want to see, or click Expand All to expand all sections.
-
Content to deploy provides all the configuration information, including installation details, execution information, installation workflow and notifications, patch lists, patches, and confidence score.
-
Endpoints to target lists the targeted endpoints for the deployment, including the readiness scores. For more information, see Endpoint readiness score.
Note: The readiness score is created from cached data in Tanium Data Service (TDS). If you use the Question Criteria filter and use unregistered sensors in the question, first register the sensors and then continue with the deployment to see accurate readiness scores for targeted endpoints. For more information, see Register or unregister sensors for collection. If you use Computer Names, Patch calculates readiness scores from endpoints in the selected limiting group. -
Deployment type and schedule shows the deployment frequency, time zone, and schedule.
-
User notifications has the information about any end-user notifications associated with the deployment.
-
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.
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.
- From the Main menu, go to > Deployments.
- Click the deployment name and then click Stop.
- Go to the Inactive tab and click the deployment name to verify the status.
Reissue a deployment
You can restart a stopped deployment or reissue a one-time deployment. Reissuing a deployment creates a new deployment with the same configuration and targets.
- From the Main menu, go to > Deployments and then click Inactive.
- Click the deployment name and then click Reissue.
- (Optional) Make any necessary changes.
- Click Preview to Continue.
- Review the deployment details, and then click Deploy.
Delete old inactive deployments
You can delete stopped or ended deployments that are older than a specified interval to help improve the performance of the Patch workbench.
- From the Main menu, go to > Overview, click Settings
and then click Configuration Settings if needed.
- In the Inactive Deployment Removal Settings section, select Enable Inactive Deployments Removal.
- In the Inactive Deployment Removal Frequency field, enter the number of days and then click Save. The minimum is 30 days. The maximum and default is 180 days.
Adjust the deployment retries
You can change how many times Patch attempts a deployment status within a specified time period. For example, with the default of five retries and 24 hours, Patch tries to download patches five times before stopping for 24 hours. Patch then tries again five times in the next 24 hours, as long as there is an active or ongoing deployment and an active maintenance window.
- From the Main menu, go to > Overview, click Settings
and then click Configuration Settings if needed.
- In the Deployment Retry Settings section, select the number of retries from the Retry Limit dropdown list.
- In the Reset Frequency field, type in the number of hours and then click Save.
Reference: Patch status
Deployment status
The following is a list of all possible deployment status groups and the sub-statuses.
If there has been more than one attempt, the status might be appended with - Retry #, for example Downloading - Retry 2. For more information on retries, see Adjust the deployment retries.
|
Status group |
Sub-status |
|---|---|
|
Needs Attention |
|
|
Waiting |
|
|
Downloading |
|
|
Download Complete Waiting |
|
|
Installing |
|
|
Uninstalling |
|
|
Pending Restart |
|
|
Complete |
|
|
Not Applicable |
|
|
1 Windows endpoints return deployment statuses only for targeted endpoints. If a Windows endpoint returns the Not Applicable status, then the deployment is targeted to the endpoint and has no applicable patches. 2 Linux endpoints return the Not Applicable status when the deployment has no applicable patches for that endpoint. If a Linux endpoint returns the Not Targeted status, then the endpoint is not targeted by the deployment. 3 macOS endpoints return the Not Applicable status when the deployment has no applicable patches for that endpoint. If a macOS endpoint returns the Not Targeted status, then the endpoint is not targeted by the deployment. Patches that require a reboot will not install and will return the Pending Restart, Awaiting User Acceptance status until the end user restarts the endpoint. |
|
Enforcement status
|
Status group |
Sub-status |
|---|---|
|
Block lists and maintenance windows |
|
|
Scan configurations |
|