Jamf
Overview
The Jamf connector enables your AI Colleagues to integrate with your organization's Jamf Pro platform, facilitating automated Apple device management, inventory tracking, and endpoint visibility workflows.
Jamf Pro is an Apple device management solution that allows organizations to manage and secure their entire fleet of macOS computers and iOS/iPadOS mobile devices. The Jamf connector allows Leena AI to automate device inventory queries, user lookups, application management, and endpoint operations seamlessly.
API Details
Leena AI integrates with Jamf Pro via REST APIs (Classic API and Jamf Pro API).
Documentation link: https://developer.jamf.com/jamf-pro/docs/jamf-pro-api-overview
Setup
The Jamf connector uses OAuth 2.0 authentication with the client credentials grant type.
Prerequisites
Before setting up the Jamf connector, ensure you have:
- Administrator access to your Jamf Pro instance
- Access to Jamf Pro Settings > System > API Roles and Clients
- Ability to create API Roles and API Clients in Jamf Pro
- Access to your Leena AI workspace with connector management permissions
Get credentials
Here is how to create API credentials in Jamf Pro:
- Log in to your Jamf Pro instance (e.g., https://yourcompany.jamfcloud.com)
- Navigate to API Roles and Clients:
- Click on Settings in the top-right corner
- Go to System > API Roles and Clients
- Create an API Role:
- Click on the API Roles tab
- Click + New to create a new role
- Enter a Display Name (e.g., "Leena AI Integration")
- Select all required privileges for the actions you want to perform:
- Read Computers
- Read Mobile Devices
- Read Users
- Read Mac Applications
- Click Save
- Create an API Client:
- Click on the API Clients tab
- Click + New to create a new client
- Enter a Display Name (e.g., "Leena AI Connector")
- Select the API Role you created in the previous step
- Set Access Token Lifetime as needed (default is 30 minutes)
- Click Save
- Enable and Generate Client Secret:
- Open the API Client you just created
- Click Enable API Client to activate it
- Click Generate Client Secret
- Copy the Client ID and Client Secret immediately (the secret is shown only once)
- Store these credentials securely in a password manager
Add connection
Here is how to add a connection on Leena AI:
- Log in to your Leena AI workspace
- Navigate to Settings > Integrations
- Search for "Jamf" and select it from the list to add its new connector
- Start configuring the connector
- Auth Type: Select "OAuth 2.0 Client Credentials"
- Jamf Instance URL: Your Jamf Pro URL (e.g., https://yourcompany.jamfcloud.com)
- Client ID: The API Client ID from Jamf Pro
- Client Secret: The Client Secret generated in Jamf Pro
- Complete Configuration and Save
- Click Connect to test the connection
- Verify the connection is successful
- Save the connector configuration
Actions
The following actions are supported for the Jamf connector:
List Users
Retrieves a list of all users from Jamf Pro. This action can be leveraged by Leena AI Orchestrator/Agent to get a complete list of users registered in the Jamf Pro instance. Here are some common use cases:
- User Directory: Get a complete list of all users in Jamf Pro
- Onboarding Verification: Verify user accounts exist in the system
- Reporting: Generate user inventory reports
- Audit: Review all registered users for compliance
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
This action does not require any input parameters.
Response
The action returns a list of users, each containing:
- User ID
- User Name
- Full Name
- Email Address
Get user detail by ID
Retrieves detailed information about a specific user from Jamf Pro using their unique user ID. The Agent can leverage this action to fetch comprehensive user details for security investigations, helpdesk support, or compliance audits.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
| Name | Description |
|---|---|
| User | The unique identifier (ID) of the user in Jamf Pro |
Response
Upon successful retrieval, the action returns the user details including:
- User ID
- User Name
- Full Name
- Email Address
- Phone Number
- Position
- Department
- Building
- Room
- Linked computers and devices
Get user detail by email
Retrieves detailed information about a specific user from Jamf Pro using their email address. This action is useful for quickly looking up user information when only the email is known.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
| Name | Description |
|---|---|
| User | The email address of the user to retrieve |
Here is a sample JSON input:
{
"email": "[email protected]"
}Response
Upon successful retrieval, the action returns the user details including:
- User ID
- User Name
- Full Name
- Email Address
- Phone Number
- Position
- Department
- Associated devices
Get computer basic information
Retrieves basic identifying information about a computer from Jamf Pro. This action fetches the General subset of computer data, providing essential information for device identification and inventory purposes.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
| Name | Description |
|---|---|
| Computer | The unique identifier (ID) of the computer in Jamf Pro |
Response
The action returns basic computer information including:
- Computer ID
- Computer Name
- MAC Address
- Serial Number
- UDID
- Last Check-in Time
- Platform
- Model
Search computer with mac id
Searches for a computer in Jamf Pro using its MAC address. This action is useful for identifying devices during network troubleshooting or security incident investigations.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
| Name | Description |
|---|---|
| MAC Address | The MAC address of the computer to search for |
Here is a sample JSON input:
{
"macId": "AA:BB:CC:DD:EE:FF"
}Response
Upon successful search, the action returns the computer details including:
- Computer ID
- Computer Name
- Serial Number
- MAC Address
- Model
- Operating System
- Last Check-in
Get computer by serial number
Retrieves complete computer information from Jamf Pro using the device's serial number. This action provides comprehensive device data for asset management, security investigations, and support requests.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
| Name | Description |
|---|---|
| Serial Number | The serial number of the computer to retrieve |
Here is a sample JSON input:
{
"serialNumber": "C02X1234ABCD"
}Response
Upon successful retrieval, the action returns complete computer information including:
- General information
- Hardware specifications
- Operating system details
- Network configuration
- Storage information
- Security status
- Installed software
- Configuration profiles
Find subset of data using serial number
Retrieves specific subsets of computer data from Jamf Pro using the device's serial number. This action allows targeted retrieval of only the data categories needed, improving efficiency for automated workflows.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
| Name | Description |
|---|---|
| Serial Number | The serial number of the computer to retrieve data for |
| Subset | The data categories to retrieve (multiple selection) |
Subset Options
| Value | Description |
|---|---|
| General | Basic computer identification and status |
| Location | Physical location information |
| Purchasing | Purchase and warranty details |
| Peripherals | Connected peripheral devices |
| Hardware | Hardware specifications and details |
| Certificates | Installed certificates |
| Software | Installed applications and software |
| ExtensionAttributes | Custom extension attribute values |
| GroupsAccounts | Group memberships and local accounts |
| IphoneBuddy | iPhone buddy pairing information |
| ConfigurationProfiles | Applied configuration profiles |
Here is a sample JSON input:
{
"serialNumber": "C02X1234ABCD",
"subset": ["General", "Hardware", "Software"]
}Response
The action returns the requested data subsets for the computer, with each subset containing its relevant information based on the selection.
Get subset of data for user device
Retrieves specific subsets of mobile device data from Jamf Pro. This action allows targeted retrieval of iOS/iPadOS device information for security assessments, compliance checks, and device management workflows.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
| Name | Description |
|---|---|
| Mobile Device | The unique identifier (ID) of the mobile device in Jamf Pro |
| Subset | The data categories to retrieve (multiple selection) |
Subset Options
| Value | Description |
|---|---|
| General | Basic device identification and status |
| Location | Physical location information |
| Purchasing | Purchase and warranty details |
| Applications | Installed applications |
| Security | Security settings and status |
| Network | Network configuration and status |
| Certificates | Installed certificates |
| ConfigurationProfiles | Applied configuration profiles |
| ProvisioningProfiles | Installed provisioning profiles |
| MobileDeviceGroups | Group memberships |
Here is a sample JSON input:
{
"id": "12345",
"subset": ["General", "Security", "Applications"]
}Response
The action returns the requested data subsets for the mobile device, with each subset containing its relevant information based on the selection.
Get user device information
Retrieves device information for all computers associated with a specific user, identified by their email address. This action is essential for helpdesk support, security investigations, and offboarding workflows where you need to identify all devices assigned to a user.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
| Name | Description |
|---|---|
| User | The email address of the user |
| Data Subset | The data categories to retrieve (multiple selection) |
Data Subset Options
| Value | Description |
|---|---|
| General | Basic computer identification and status |
| Location | Physical location information |
| Purchasing | Purchase and warranty details |
| Peripherals | Connected peripheral devices |
| Hardware | Hardware specifications and details |
| Certificates | Installed certificates |
| Software | Installed applications and software |
| ExtensionAttributes | Custom extension attribute values |
| GroupsAccounts | Group memberships and local accounts |
| IphoneBuddy | iPhone buddy pairing information |
| ConfigurationProfiles | Applied configuration profiles |
Here is a sample JSON input:
{
"email": "[email protected]",
"subset": ["General", "Hardware", "Software"]
}Response
The action returns the requested data subsets for all computers linked to the user, each containing:
- Computer identification information
- Selected subset data for each associated device
Get List of computer appliactions (JAMF Managed)
Retrieves a list of all application deployments managed through Jamf Pro's App Installers feature. This action provides visibility into software distribution and deployment status across the managed device fleet.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
This action does not require any input parameters.
Response
The action returns a list of App Installer deployments including:
- Total count of deployments
- Deployment ID
- Application name
- Version information
- Deployment status
- Target scope
Get list of application (Apple Managed)
Retrieves a list of all Mac applications managed through Apple's Volume Purchase Program (VPP) or Apple Business Manager. This action provides visibility into Apple-managed application licenses and assignments.
Input Parameters
Here are the input parameters required to set up this action:
Mandatory
This action does not require any input parameters.
Response
The action returns a list of Apple-managed applications including:
- Application ID
- Application name
- Bundle identifier
- Version
- License information
Updated 1 day ago
