Skip to content

2023 demo M Advanced

Chris Lasell edited this page Aug 28, 2023 · 2 revisions

Hands On, Real-time Jamf APIs Using ruby-jss

Advanced ruby-jss

Previous           TOC           Next


  • We've only just scratched the surface of using ruby-jss

  • Here are some other things it can do, but are beyond this scope of this short demo

MDM commands

  • Send them to managed hardware
  • Check the current status of a command

Jamf Pro API

  • Use uniq features of the JPAPI such as
    • sorted and filterd 'all' lists
    • paged 'all' lists

Scoping

  • Every object that uses scoping treats it the same way(*) in ruby-jss

    • (*) as much as possible - there are a few bugs in the classic API regarding scopes; ruby-jss works around them as much as possible.
  • Targets, Limitations, and Exclusions can be edited as needed via a Scope object

Criteria

  • Complex criteria can be created for Smart Groups and Advanced Searchs

Multiple Connections

  • We've been using the 'default' connection in ruby-jss, which is good for lots of things

  • If needed, you can create independent, multiple connection objects stored in variables, and work with them simultaneously

    • to different servers, or different accounts on the same server

Server Clustering

  • If you have an on-prem installation with more than one Tomcat server, you can create one just for automation via the API
    • This reduces load on the nodes your clients talk to

Contribute!

  • ruby-jss is open-source software, and it doesn't implement the entire API

  • If you enjoy coding in ruby and would like to help expand ruby-jss, please do, I'm happy to help

Thank You!


Previous           TOC           Next

Clone this wiki locally