Retrieve JAMF software update plans from your MDM console for tag-based endpoints
This Automox Worklet™ queries your JAMF API to retrieve managed software update plans assigned to endpoints based on a configurable tag. The Worklet uses the WDK command-line interface to communicate securely with your JAMF instance, authenticating with stored API credentials and returning plan details in structured format.
During the evaluation phase, the Worklet checks whether software update plans exist for tagged endpoints. If plans are found, it flags the endpoint for remediation. The remediation phase retrieves and outputs the full plan details, making them available for logging, reporting, or further automation.
Tracking software update plan assignments across your macOS fleet is essential for compliance and patch management governance. This Worklet automates the discovery of which endpoints have which plans, giving your IT operations team visibility without manual console queries.
By integrating JAMF data into your Automox workflow, you can report on plan coverage, identify endpoints missing critical update plans, and coordinate patch deployment across both Automox and JAMF. This reduces configuration drift and maintains consistent update policies across your organization.
Evaluation phase: The Worklet calls the WDK `mdm jamf plans` command with your configured tag (default: JAMF). The WDK authenticates to your JAMF API using stored credentials and checks whether any software update plans are associated with endpoints matching that tag. If the API returns zero plans, evaluation succeeds and no remediation is needed. If one or more plans exist, evaluation fails, triggering remediation.
Remediation phase: The Worklet executes the same WDK command to retrieve the complete list of software update plans. The plan data is output to standard output, where it can be captured for logging, reporting, or passed to downstream tools. If the API call fails, the error is logged to standard error and the Worklet exits gracefully.
macOS endpoints (Server or Workstation)
WDK version with JAMF MDM support installed on the endpoint
JAMF API credentials stored as organization secrets: AX_JAMF_CLIENT_ID, AX_JAMF_CLIENT_SECRET, AX_JAMF_BASE_URL
Automox credentials stored as organization secrets: AX_AUTOMOX_API_KEY, AX_AUTOMOX_ORG_UUID
JAMF API client must have read permissions for computers and managed software updates
Worklet policy must be scoped to a single endpoint to avoid unintended behavior
PATCH_TAG parameter in the Worklet must match a tag assigned to your JAMF endpoints
After the Worklet runs remediation, the Activity Log contains the list of software update plans assigned to endpoints matching your configured tag. Each plan entry includes details such as plan name, scope, and target endpoints. This data can be captured for compliance reporting or piped to downstream monitoring and ticketing systems.
If no plans are found, remediation will output an empty result, indicating your tagged endpoints have no update plans currently assigned. If the Worklet encounters API authentication errors or network issues, the error message will be logged so your team can troubleshoot connectivity or credential configuration.
Run this Worklet on a pilot macOS endpoint and review evaluation output for jamf list software plans.
Confirm Automox activity logs show successful completion and exit code 0.
Verify endpoint state using checks aligned to evaluation script logic, such as WDK, return, OTTOQ.
Validate remediation effects from script operations such as WDK, return, cleanup, then rerun evaluation for compliance.


By submitting this form you agree to our Master Services Agreement and Privacy Policy.
Already have an account? Log in
Consider Worklets your easy button
A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

AUTOMOX + WORKLETS™
Uncover new possibilities with simple, powerful automation.
By submitting this form you agree to our Master Services Agreement and Privacy Policy