Tracecat
Book a demo

Fleet integration

Query hosts, policies, software, vulnerabilities, and MDM state in Fleet.

Endpoint and MDM
51 actions
tools.fleetdm

How it works

Each Fleet action is a YAML template or Python function in Tracecat's open-source registry, under tools.fleetdm. 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 fleetdm with FLEETDM_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.

  • Count hosts

    Count hosts matching the given filters without returning host records.

  • Create global policy

    Create a global compliance policy from an osquery SQL check.

  • Create report

    Create a saved report (saved query) in Fleet.

  • Delete host

    Delete a host from Fleet by its numeric ID.

  • Get current user

    Get the authenticated Fleet user and its roles and accessible fleets.

  • Get disk encryption summary

    Get aggregate disk encryption (FileVault and BitLocker) status counts by OS.

  • Get fleet policy

    Get a fleet-level policy with its passing and failing host counts.

  • Get global policy

    Get a single global policy including its pass and fail host counts.

  • Get host

    Get full details for a single host by its numeric Fleet ID, including inventoried users and per-host policy responses.

  • Get host activities

    List the past activity audit trail for a single host.

  • Get host by identifier

    Get full details for a single host by hostname, UUID, or hardware serial, including inventoried users and per-host policy responses.

  • Get host configuration profiles

    Get the OS settings and configuration profiles applied to a host.

  • Get host encryption key

    Get a host's disk encryption recovery key (FileVault or BitLocker).

  • Get host MDM

    Get the MDM enrollment status and server URL for a host.

  • Get host report data

    Get a specific report's saved data for a single host.

  • Get host summary

    Get aggregate host counts grouped by status and platform.

  • Get label

    Get the specified label.

  • Get labels summary

    Get basic information for global and accessible fleet labels.

  • Get MDM command results

    Get the execution results and status for a previously enqueued MDM command.

  • Get OS settings summary

    Get aggregate OS settings status counts (verified, verifying, pending, failed).

  • Get report

    Get a single saved report (saved query) by its ID.

  • Get report data

    Get the most recent saved (scheduled) results for a report.

  • Get software title

    Get a single software title with its versions, vulnerabilities, and host counts.

  • Get software version

    Get a software version with its vulnerabilities and host counts.

  • Get vulnerability

    Get details for a single CVE including affected software, CVSS, EPSS, and CISA status.

  • List activities

    List the global audit log of actions performed in Fleet.

  • List configuration profiles

    List the MDM configuration profiles defined in Fleet.

  • List fleet policies

    List the compliance policies scoped to a single fleet (team).

  • List fleets

    List fleets (teams) used to scope hosts, policies, and queries.

  • List global policies

    List global compliance policies with their passing and failing host counts.

  • List host reports

    List the saved reports for a host, including when results were last fetched.

  • List host software

    List the software installed on a host along with detected vulnerabilities.

  • List hosts

    List and search hosts enrolled in Fleet with server-side filters.

  • List hosts by vulnerability

    List the hosts affected by a specific CVE.

  • List hosts in label

    List the hosts that are members of a given label.

  • List labels

    List all labels defined in Fleet, including built-in platform labels.

  • List MDM commands

    List MDM commands issued to a host, optionally filtered by request type and status.

  • List OS versions

    List operating system versions across hosts with detected vulnerabilities.

  • List policy hosts

    List the hosts that pass or fail a given policy.

  • List reports

    List the saved reports (saved queries) defined in Fleet.

  • List software titles

    List software titles across the fleet with host counts and detected vulnerabilities.

  • List software versions

    List software versions across the fleet with their associated CVEs.

  • List vulnerabilities

    List CVEs affecting software and operating systems across the fleet.

  • Live query host

    Run an ad-hoc osquery SQL statement live against a single host.

  • Lock host

    Lock a host via MDM so it cannot be used until unlocked.

  • Refetch host

    Flag a host to refresh its details and policy results on next check-in.

  • Run live report

    Run a saved report live against target hosts and return results synchronously.

  • Run MDM command

    Enqueue a raw Apple or Windows MDM command to run on hosts at next check-in.

  • Turn off MDM

    Turn off MDM for a host, unenrolling it from Fleet MDM management.

  • Unlock host

    Unlock a previously locked host, or retrieve its macOS unlock PIN.

  • Wipe host

    Remotely wipe a host via MDM, erasing its data.

Automate Fleet with Tracecat

Open-source workflows and agents for security teams.