Skip to content
All recipes

Find Macs whose FileVault recovery key isn't escrowed

Pull FileVault data for every Mac from Prism and list the ones whose recovery key isn't escrowed with Iru.

Open in Claude Open in ChatGPT
Product
Endpoint Management
Platforms
macOS
Effect
Read-only
Agent access
Iru MCP or the Iru API

Before you start

  • An Iru API token with MCP turned on and permissions that cover the calls below (recipe 1).

Prompt for your agent

Pull FileVault data for every Mac in Iru from Prism with GET /api/v1/prism/filevault. List the Macs whose recovery key isn't escrowed, with each Mac's name and serial number. Tell me which field and value you used to decide, since I want to check it.

Steps

  1. Pull the Prism FileVault category

    Prism collects FileVault data from every Mac every 15 minutes, including recovery key type, escrow status, whether the key needs regenerating and the next scheduled rotation.

    GET/api/v1/prism/filevault

    Source: Prism

  2. Keep the Macs without an escrowed key

    The docs don't name the API field for escrow status, so have the agent show you the field and value it filtered on.

    In the web app, open the FileVault category in Prism and use + Filter to show devices where the recovery key isn't escrowed.

    Source: Prism

  3. Export the list

    In Prism, select Export CSV, choose Current View to keep your filter, then select Start export.

    Source: Prism

  4. Escrow a new key on each Mac

    On each Mac, run sudo fdesetup changerecovery -personal in Terminal. Iru captures the new key if the FileVault Library Item has escrow on.

    Source: Configure FileVault

Common pitfalls

  • Prism data can be up to 15 minutes old.
  • The FileVault category grays out when you filter Prism to iOS devices.

FAQ

Which call lists FileVault status across the fleet?

GET /api/v1/prism/filevault returns FileVault information for macOS from Prism.

How current is the data?

Prism collects every 15 minutes, so a result can be up to 15 minutes old.

Which field shows whether the key is escrowed?

The API docs don't name the escrow field, so the prompt asks the agent to report the field and value it used. Check that field before you act on the list.

Can I get the same list without an agent?

In Prism, open the FileVault category and select Export CSV > Current View. The category is grayed out when Prism is filtered to iOS.

Next steps

Sources

Stay up to date

Iru's bi-weekly collection of articles, videos, and research to keep IT & Security teams ahead of the curve.