The purpose of this script is to run an arbitrary number of required software policies or worklets against a list of devices exported from the Devices page in the Automox console. This script allows you to apply policies against a device, separate from its group designation in Automox.
To run this script, reference the step-by-step process and code located here in the original posting on the Automox community.
IMPORTANT NOTE: These API scripts DO NOT include any of the guardrails included when you run similar operations through the console. Be aware that the script executes the policies without checking the policy state on that device, or running the evaluation code in a worklet. It executes the policy with no evaluation checks and no notifications. There are no checks to validate the OS version or to reboot after a patching policy if necessary.
Tips for Running this Automox Script
Before deploying this script to the production environment, we suggest testing this on a few devices to confirm its accuracy. If you have any questions, please contact our support team for technical assistance at support@automox.com.
About Automox Automated Patch Management
Facing growing threats and a rapidly expanding attack surface, understaffed and alert-fatigued organizations need more efficient ways to eliminate their exposure to vulnerabilities. Automox is a modern cyber hygiene platform that closes aperture of attack by more than 80% with just half the effort of traditional solutions.
Cloud-native and globally available, Automox enforces OS & third-party patch management, security configurations, and custom scripting across Windows, Mac, and Linux from a single intuitive console. IT and SecOps can quickly gain control and share visibility of on-prem, remote and virtual endpoints without the need to deploy costly infrastructure.
Experience modern, cloud-native patch management today with a 15-day free trial of Automox and start recapturing more than half the time you're currently spending on managing your attack surface. Automox dramatically reduces corporate risk while raising operational efficiency to deliver best-in-class security outcomes, faster and with fewer resources.