Skip to main content

Jamf

Integrate Jamf and Jamf Protect with Torq to automate device management and security using built-in steps, triggers, and templates.

Updated over a week ago

Jamf is an Apple device management platform. Jamf Protect extends this by providing endpoint security specifically for Mac computers.

This guide covers Jamf and Jamf Protect integrations.

Torq enables quick and easy integration with Jamf, so you can automate anything and everything within moments. Torq's public Jamf steps include:

  • Add multiple computers to static computer group

  • List computer groups

  • Generate access token

  • Unlock user account

  • +50 more...

Torq's public Jamf Protect steps include:

  • List computers

  • Generate access token

  • Get computer by ID

  • Run GraphQL query

If you don't see a step you need, you can create your own in various ways, such as using the Send an HTTP Request step or Torq’s Step Builder, and share it across your organization.

To trigger a Torq workflow based on events sent from Jamf, look here.

To use Jamf steps in Torq workflows, look here.

To use Jamf Protect steps in Torq workflows, look here.

Use Jamf to Trigger Workflows in Torq

Step One: Create a Jamf Trigger Integration in Torq

  1. Navigate to Integration: Go to Build > Integrations > Triggers > Jamf and click Add Instance.

  2. Fill in the Details:

    1. Give the integration a unique and meaningful name.

    2. Under ACL Settings, click Add.

      • Add IP address and/or IP range, and provide the relevant IP details.

    3. Under Authentication Headers, click Add.

      • Set the name of the Authentication header to Authorization.

      • In the Secret field, enter the word Bearer followed by a space, and then type in your secret (for example, Bearer MySecret1!). This is the secret you will use in Jamf.

  3. Finalize: Click Add.

Step Two: Add the Webhook in Jamf

Each webhook can only have one event trigger. Create a new webhook for each event type, using the same Torq endpoint for each webhook.

  1. Log In: Log in to your Jamf profile.

  2. Navigate to Webhooks: Go to Settings > Global Management > Webhooks and click New.

  3. Fill in the Details:

    1. Display Name: Give the webhook a meaningful name.

    2. By default, the field is Enabled. To disable the webhook at any time, uncheck the box.

    3. Webhook URL: Paste the webhook URL (Torq endpoint) that you created in step one.

    4. Authentication Type: Choose Header Authentication, and then enter the Header metadata in JSON format, with the secret you used in Torq in step one (for example, MySecret1! ).

      { 
      "headers": {
      "Authorization": "Bearer MySecret1!"
      }
      }
  4. Connection Timeout: Enter the required timeout parameters.

  5. Content Type: Select the content type for the email format.

  6. Webhook Event: Select the event that will trigger the Torq workflow.

  7. Finalize: Click Save.

Now that you've successfully created a Jamf trigger, you can build your first Jamf-initiated workflow!

In Torq, go to Build > Workflows > Create a Workflow > New Blank Workflow, and select the trigger type: Integrations > Jamf. Find your new trigger, and automate away!

Use Jamf Steps in Torq

Create a Jamf Steps Integration in Torq

  1. Navigate to the Integration: Go to Build > Integrations > Steps > Jamf and click Add Instance.

  2. Fill in the Details: Give the integration a unique and meaningful name.

    1. In the Username field, enter the username for your Jamf profile.

    2. In the Password field, enter the password for your Jamf profile.

    3. In the Base URL field, paste the URL for your Jamf account base, for example https://company_name.jamfcloud.com.

  3. Finalize: Click Add.

Use Jamf Protect Steps in Torq

Step One: Generate a Jamf API Client

  1. Log In: Log in to your Jamf profile.

  2. Navigate to API Client: Go to Administrative > API Clients and click Create API Client.

  3. Create an API Client:

    1. Give your API Client a name.

    2. Use the dropdown menu to assign the permissions role to the API client.

  4. Finalize: Click Save.

  5. Save the API password: Copy the password and save it to use later in Torq. You will not be able to access it again once the window closes.

  6. Client ID: The Client ID is shown on the API Client Summary page when the API Password window closes.

Step Two: Create a Jamf Protect Steps Integration in Torq

  1. Navigate to the Integration: Go to Build > Integrations > Steps > Jamf Protect and click Add Instance.

  2. Fill in the Details: Give the integration a unique and meaningful name.

    1. In the Base URL field, paste the URL for your Jamf Protect account base, for example https://company_name.protect.jamfcloud.com.

    2. In the Client ID field, enter the Client ID associated with the API client you created in step one.

    3. In the API Client Password field, enter the password you copied in step one.

    4. Finalize: Click Add.

FAQs

Templates

Now that you've added your integrations, check out these specially crafted templates by Torq's security experts. Visit Torq's template library for more.

Torq Jamf Webinar

Did this answer your question?