Tracecat
Book a demo

Iru (Kandji) integration

Look up, erase, and annotate Apple devices managed in Iru.

Endpoint and MDM
22 actions
tools.iru
Also available as an MCP server. Connect agents to the Iru / Kandji MCP server.

How it works

Each Iru (Kandji) action is a YAML template or Python function in Tracecat's open-source registry, under tools.iru. Add an action as a step in a workflow, or give it to an agent as a tool.

Credentials

Add these in Tracecat before running the actions. How credentials work

  • Secret iru with IRU_API_TOKEN

Actions

Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.

  • Add device note

    Add a note to a device record.

  • Delete device

    Delete a device. Removes the device record, unenrolls the device from MDM, and causes the Iru agent to uninstall itself at next check-in. This cannot be undone.

  • Erase device

    Irreversibly erase a device. Optionally control platform-specific erase behavior.

  • Get Activation Lock bypass code

    Get a device's Activation Lock bypass code. Retrieval is recorded in the Iru audit log. Escrow the code before any destructive offboarding step.

  • Get device

    Get a device record by UUID.

  • Get device details

    Get detailed inventory information for a device.

  • Get FileVault recovery key

    Get a device's FileVault recovery key. Retrieval is recorded in the Iru audit log. Escrow the key before any destructive offboarding step.

  • Get recovery lock password

    Get a device's recovery lock password. Retrieval is recorded in the Iru audit log. Escrow the password before any destructive offboarding step.

  • List audit events

    List tenant audit events. Covers Blueprint and Library Item changes, access to sensitive data such as FileVault and recovery keys, device lifecycle events, and API token management.

  • List blueprints

    List Blueprints in the tenant.

  • List device activity

    List activity records for a device.

  • List device apps

    List applications installed on a device.

  • List device behavioral detections

    List EDR behavioral detection events for a single device. The v2 endpoint is device-scoped, so a device UUID is required and fleet-wide sweeps are not available. Threat state is read-only through the API.

  • List device commands

    List commands sent to a device. Status codes are 1 Pending, 2 Running, 3 Completed, 4 Failed, and 5 Not Now.

  • List device library items

    List Library Items assigned to a device.

  • List device parameters

    List management parameter (compliance check) results for a device.

  • List devices

    List devices in the tenant. Returns a bare JSON array rather than a paged envelope, and extra fields appear when Windows or Android management is enabled.

  • List threat details

    List malware and potentially unwanted program detections. Threat state is read-only through the API; there is no endpoint to release a detection from quarantine.

  • Lock device

    Lock a device. For macOS an unlock PIN is generated and returned in the response. On Apple silicon running macOS earlier than 11.5 this deactivates the Mac, and reactivation requires network access and a Secure Token administrator.

  • Query Prism inventory

    Query a fleet-wide Prism inventory category.

  • Send device action

    Send a device action that takes no request body. Lock and erase have dedicated actions because they accept request bodies.

  • Update device

    Update a device's assignment and metadata. There is no separate blueprint-assignment endpoint, so use this action to assign a Blueprint during onboarding.

Automate Iru (Kandji) with Tracecat

Open-source workflows and agents for security teams.