Skip to content

Conversation

@KeplerKid
Copy link

Now uses the Jamf Pro API to:

  • GET categories
  • GET/PUT/POST scripts

Created file_contents to reduce code duplication.

Abstracted get_template to be used by both scripts and extension attributes.

Set the default of the limit parameter to 5 and capped it at 25.

@badstreff
Copy link
Owner

Wow! This looks really good, at first glance this all looks correct. It will take me some time to review everything. Some of what you've done here I've been meaning to but have not found the time.

Thanks!

@badstreff badstreff requested review from badstreff and bradschm June 18, 2020 19:49
@fveja
Copy link

fveja commented Feb 15, 2023

It seems this pull request removes the ability to create new scripts. If the ID is missing from the XML it does catch that, but never creates the script in Jamf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants