jamf-pro-sdk-python icon indicating copy to clipboard operation
jamf-pro-sdk-python copied to clipboard

A client library for the Jamf Pro APIs and webhooks.

Results 21 jamf-pro-sdk-python issues
Sort by recently updated
recently updated
newest added

Attempting to get a list of computers missing a Recovery lock password, target report was: "is not" Recovery Lock Enabled = Enabled "is" Recovery Lock Enabled = arm64 "member of"...

bug

I have taken some care.and checked it all. I hope the additions to `classic_api.py` are correct.

I wrote the methods for the `network_segment` endpoint.

This should be all that is required and not contain anything from network_segments

Currently, JSON responses are requested from the Classic API and can be parsed with the `.json()` method: ```py response = api.classic_api_request("GET", "accounts/userid/257") user_info = response.json() ``` However, there's no equivalent...

enhancement
feedback

Simple script: ``` from jamf_pro_sdk import JamfProClient, ApiClientCredentialsProvider url="https://test.jamfcloud.com" client_id="" client_secret="" client = JamfProClient( server="snyk.jamfcloud.com", credentials=ApiClientCredentialsProvider(client_id, client_secret) ) all_computers = client.pro_api.get_computer_inventory_v1() print(all_computers) ``` This results in: cannot import name 'ApiClientCredentialsProvider'...

enhancement

### Current The current behaviour is to put all the functions for all the pro endpoints into the `__init__.py` file. I realise this allows calls like ```python ifrom jamf_pro_sdk import...

feedback

### Steps to Reproduce ```python client.classic_api.update_static_computer_group_membership_by_id(1, computers_to_add=["1"]) ``` ### Expected Result The computer is added. The underlying code should be casting the string value to an integer. The Pydantic model...

bug

During the JNUC presentation a question was raised about SDK compatibility with different versions of Jamf Pro as APIs are added, deprecated, and removed. This proposal outlines an approach to...

enhancement
feedback

### Proposal When using the `classic_api_request` and `pro_api_request` methods on the client directly users have to take the response and cast it to an SDK model themselves. ```python resp =...

enhancement