Automatically email Macfolk their pending updates

Notifier is a Python Script to send emails to Mac users with pending updates (according to Jamf patch
management) using the Jamf API and SMTP!

How it works

  1. Grab API username and password the JAMFREPORTUSER and JAMFREPORTPASS environment variables.
  2. Get a bearer token from the Jamf server. This is used for all further authentication.
  3. Gets a list of all Patch Management titles on the Jamf server
  4. For each Patch Management title, get a list of every version
  5. Record the first version number, skip any computers on this version (they’re up to date!)
  6. Skip any computers with an Unknown version. Usually this means a version newer than what Jamf has an update for.
  7. Get a count of computers on each version
  8. If there’s exactly one computer, record the information in the

     

     

     

    To finish reading, please visit source site