> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/j/jamf-pro.md).

# Jamf Pro

Jamf Pro manages Apple devices. OctoXLabs reads the computer inventory with operating system, installed applications and services and adds the computers as devices.

## Use cases

* **Find Macs that Jamf Pro manages but your EDR does not cover.**

```
Adapters = jamf-pro AND NOT Adapters = falcon-crowdstrike
```

* **Review computers that Jamf Pro has not seen recently.**

```
Adapters = jamf-pro AND NOT LastSeen last now-30d/d
```

* **Check what one Jamf Pro connection collected.**

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                     | Port                               | Protocol |
| ------------------- | ------------------------------- | ---------------------------------- | -------- |
| OctoXLabs connector | Jamf Pro server (URL parameter) | Taken from the URL (443 for HTTPS) | HTTPS    |

### Required permissions

| Scope or role          | Permission    | Needed for                     |
| ---------------------- | ------------- | ------------------------------ |
| Jamf account privilege | Read Computer | Reading the computer inventory |

The baseline states that the account must have **Read Computer** privileges.

## Create credentials in Jamf Pro

{% stepper %}
{% step %}

### Choose or create an account

Use a Jamf Pro account that is dedicated to OctoXLabs.
{% endstep %}

{% step %}

### Grant the privilege

Give the account the **Read Computer** privilege.
{% endstep %}

{% step %}

### Note the server address

Note the URL of the server, for example `https://yourserver.jamfcloud.com/`.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type    | Default | Description                                                                          |
| ------------ | -------- | ------- | ------- | ------------------------------------------------------------------------------------ |
| URL          | Yes      | String  | None    | Address of Jamf Pro. The connector appends the API path directly to this value.      |
| Username     | Yes      | String  | None    | Account that connects to Jamf Pro.                                                   |
| Password     | Yes      | String  | None    | Password of the account.                                                             |
| Timeout      | No       | Integer | 30      | Seconds to wait for an API response.                                                 |
| Thread Count | No       | Integer | 32      | Parallel threads for page requests. Minimum 1, maximum 32.                           |
| Sleep Time   | No       | Integer | 0       | Delay in seconds between thread batches. Increase it when you see rate limit errors. |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                                               |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The server answered with an unexpected status. This is the shared REST connector error. | Check the credentials, privilege and URL.                         |
| Jamf Pro page request failed, skipping page: {error}           | One page request failed during discovery. This is logged as a warning.                  | Raise Sleep Time or lower Thread Count, then run discovery again. |

## Change history
