Improve Your Automated Patch Workflow: Preventing Server Patching
Special thanks to Tanium Patch SME Jarvis Davis for his contribution.
Being able to keep an entire enterprise worth of machines updated with the latest patches is an objective that our customers strive towards. This is not a simple task with any toolset. Even with the speed and scalability that Tanium offers, users need to be sure that groups of machines needing special treatment are addressed in the correct way.
Servers typically need to be approached with a different patch strategy than with end user machines, and so when setting up an automated patching workflow for those endpoints, our customers will build in logic to bypass servers.
Tanium Patch has four different methods for accomplishing this.
Blocking Maintenance Window
The best overall way in most scenarios is to require a maintenance window on systems you don't want to actually patch.
To do this, deploy a maintenance window that never occurs to the computer group you don't want to patch. This is done by creating a maintenance window where both the start and end dates are in the past (e.g. 1/1/1900), and it is set to not repeat. This will force them to only patch while in an active maintenance window.
All Patches Blacklist
Another option is to create a Blacklist that matches all patches and deploy it to that computer group. This will prevent them from installing patches, but it also means they will report no applicable patches when using the Patch List Applicability and Patch List Compliance sensors.
If you still need that data from the blacklisted systems, this is not a great option. If you do need patch applicability and compliance data from these systems, the following two options might be more appropriate.
Removing Systems From Action Group
You can remove the systems in question from the Patch Action group. To do so, first deploy a custom tag to them (e.g. BlockPatching). Then, create a computer group using the question filter Custom Tag Exists[<name of your tag>] *contains False. *Assign that as the only computer group to the Patch Action Group. This will prevent systems that have that tag from getting anything from Patch, including scan configurations.
Action Lock Systems
This will prevent them from executing almost all Tanium actions, including those that Patch sends. If you just need to temporarily stop them from patching during blackout windows, this may actually be the best option overall, since it also stops other changes Tanium actions would potentially make. This is accomplished by using Tanium Interact to create a question that identifies the systems you want to set the Action Lock on, and then choose to Deploy Action to them. Choose the Deployment Package named Tanium Client - Set Action Lock On. Later when you want to re-enable actions on those systems again, simply use the Tanium Client - Set Action Lock Off package.
For more information on Patching, check out the Tanium Patch user guide or reach out to your TAM.