Take Fleet actions (transfer team, lock) automatically when a host meets a condition
- @noahtalerman: Fleet fell behind on new request triage. To get back on track, on 2026-11-06 all issues older than 5 days (like this one) were put to the side. If this is something you want Fleet to revisit, please add back the
:productlabel to put it into the queue for new request triage.
- [ ] Unpacked: TODO: Product Designer checks this box when the request goes through "Unpacking the why": https://fleetdm.com/handbook/product-design#unpacking-the-why
- [x] Gong snippet: [gong snippet ] (https://us-65885.app.gong.io/call?id=2489076676686132343&highlights=%5B%7B%22type%22%3A%22SHARE%22%2C%22from%22%3A0%2C%22to%22%3A482%7D%5D)
Interpretation (optional)
What the customer is asking for
The customer proposed a native automation capability inside Fleet's UI. It would use if-this-then-that logic, where osquery results or host attributes trigger Fleet platform actions, such as:
- Moving hosts between teams automatically
- Locking or quarantining hosts based on behavior or location
- Pushing OS updates or applying compliance restrictions
Use cases driving the request
- Stale hosts: Move any host that hasn't checked in for 30+ days into a "stale" team.
- Current workaround: a custom Lambda function that calls the Fleet API.
- Labels alone don't solve this, because dynamic labels aren't applied to offline hosts.
- CVE noise: Stale hosts inflate CVE counts, because their last-reported software inventory still shows vulnerable versions.
- Quarantine: Flag hosts that check in from unexpected IP addresses or countries.
- Example: a host checks in from Hong Kong with no travel exception. Fleet moves it to a quarantine team until it checks in from an approved location.
- Platform routing: Auto-assign hosts to the correct team (Windows, macOS, iOS) at enrollment or when they drift.
What Fleet is missing
The customer can already change host behavior through osquery and scripts. They can't change the Fleet platform itself (team assignment, lock) without going through the API. Building a one-off Lambda for each use case works, but it doesn't scale.
Ideal workflow
The admin defines a rule in Fleet (trigger: query result, label, last-seen time, or a host attribute such as IP or geolocation; action: transfer team, lock, run script, or enforce OS update). Fleet evaluates the rule and takes the action natively, with no external infrastructure. Other Fleet customers with the same needs would benefit too.
Related
- #45898 (label-driven team assignment) covers the platform-routing use case above.
Hosts drift from their path rules catch them, move them back home fleet tends itself now