Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jamf Pro API + refactoring #33

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

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