Open device management
Find a file
Victor Lyuboslavsky 58563852f0
Bitlocker: do not decrypt already encrypted drive. (#43130)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #40809

**Orbit agent: key rotation replaces decrypt-then-re-encrypt:**
- When the disk is already encrypted, orbit now adds a new Fleet-managed
recovery key protector, removes old ones, and escrows the new key. The
disk is never decrypted.
- If key escrow fails, the rotated key is cached in memory and retried
on subsequent ticks without rotating again.
- Removes `DecryptVolume` and `decrypt()` (no longer called from
production code).

**Server: osquery query returns both protection_status and
conversion_status:**
- The `disk_encryption_windows` query now returns both columns instead
of just checking `protection_status = 1`. This lets the server correctly
identify a disk as encrypted via `conversion_status = 1` even when
`protection_status = 0`.
- New `directIngestDiskEncryptionWindows` function parses both values,
handles parse errors, and normalizes `protection_status = 2` (unknown)
to NULL.

**Server: new `bitlocker_protection_status` column and status logic:**
- Adds `bitlocker_protection_status` column to `host_disks` (DB
migration).
- When a disk is encrypted and key is escrowed but protection is off,
the host shows "Action required" with a detail message explaining the
issue, instead of misleadingly showing "Verified."
- `protection_status = 2` (unknown) and `NULL` (older orbit hosts) are
treated as protection on for backward compatibility.
- The `profiles_verified` and `profiles_verifying` branches in the
combined profiles+BitLocker summary now handle
`bitlocker_action_required`, counting those hosts as "pending".

Contributor docs updates: https://github.com/fleetdm/fleet/pull/43241
Public docs updates: https://github.com/fleetdm/fleet/pull/43243/changes

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

## Database migrations

- [x] Checked schema for all modified table for columns that will
auto-update timestamps during migration.

## fleetd/orbit/Fleet Desktop

- [x] Verified compatibility with the latest released version of Fleet
(see [Must
rule](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/workflows/fleetd-development-and-release-strategy.md))
- [x] If the change applies to only one platform, confirmed that
`runtime.GOOS` is used as needed to isolate changes
- [x] Verified that fleetd runs on macOS, Linux and Windows
- [x] Verified auto-update works from the released version of component
to the new version (see [tools/tuf/test](../tools/tuf/test/README.md))


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **Bug Fixes**
* Fixed Windows BitLocker encryption/decryption request loop on systems
with secondary drives and auto-unlock.

* **New Features**
* Added BitLocker recovery key rotation capability, allowing safe key
updates without full disk re-encryption.
* Enhanced BitLocker protection status tracking to correctly display
"Action required" when protection is disabled.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-04-09 18:33:03 -04:00
.claude Add cherry-pick skill (#43111) 2026-04-07 13:49:12 -03:00
.github Add test and deploy workflows for ee/fleet-agent-downloader (#43343) 2026-04-09 15:26:24 -05:00
.kilocode/skills Add cherry-pick kilocode skill (#42660) 2026-04-07 12:28:56 -05:00
.storybook 🤖 Switch InputField + InputFieldWithIcon JSX components to TS, add more test coverage, fix Storybook build (#43307) 2026-04-09 08:41:48 -05:00
.vscode Update VSCode Typescript version setting (#43131) 2026-04-07 11:27:10 -05:00
android Wait for CERT_INSTALL delegation to be available before attempting certificate enrollment (#43065) 2026-04-07 11:16:02 -05:00
articles Add missing $FLEET_VAR_SCEP_RENEWAL_ID to Okta Platform SSO guide (#42847) 2026-04-09 16:16:19 -04:00
assets Fix test-packaging.yml action (#42570) 2026-03-30 09:25:07 -03:00
changes Bitlocker: do not decrypt already encrypted drive. (#43130) 2026-04-09 18:33:03 -04:00
charts Adding changes for Fleet v4.83.0 (#41764) (#42819) 2026-04-01 12:00:18 -05:00
client Make orbit and Fleet Desktop not depend on server/service/ packages (#42231) 2026-03-26 10:59:42 -03:00
cmd Rename Apple Business Manager in UI (#42584) 2026-04-08 11:14:19 -06:00
docs Bitlocker: do not decrypt already encrypted drive. (#43130) 2026-04-09 18:33:03 -04:00
ee Update Fleet-maintained apps (#43380) 2026-04-09 17:29:48 -05:00
frontend simplify OS modal (#43252) 2026-04-09 16:30:15 -05:00
git-hooks Merge Android datastore into main Fleet datastore (#32233) 2025-08-25 11:41:28 -04:00
handbook Add bios for execs stub (#43370) 2026-04-09 15:51:49 -05:00
infrastructure Set osquery_policy_update_interval to 30m in dogfood (#42257) 2026-04-08 09:07:58 -05:00
it-and-security Add AWS VPN Client label, app, and patch policy (#43285) 2026-04-08 14:37:03 -05:00
orbit Bitlocker: do not decrypt already encrypted drive. (#43130) 2026-04-09 18:33:03 -04:00
pkg Clean up Gitops tests and add deprecation tests (#43039) 2026-04-08 11:57:03 -05:00
proposals Remove proposals (unused) (#26646) 2025-02-27 10:37:07 -06:00
schema Fix copy/paste on schema (#42643) 2026-03-30 10:23:37 -03:00
security Ignore CVEs on fleetdm/wix (#43226) 2026-04-08 17:48:42 -03:00
server Bitlocker: do not decrypt already encrypted drive. (#43130) 2026-04-09 18:33:03 -04:00
terraform Clean up "click here" and "here" link anchors - part 1 (#29731) 2025-06-04 13:54:34 -06:00
test/upgrade Bump supported MySQL versions (#40892) 2026-03-04 12:25:20 -06:00
third_party Updated go to 1.26.1 (#42027) 2026-03-19 07:01:00 -05:00
tools Improve security of fleet-mcp and update README (#43007) 2026-04-09 09:37:43 -05:00
website Remove six case studies from customers page and social proof handbook (#43352) 2026-04-09 14:14:22 -05:00
.coderabbit.yaml Turn on CodeRabbit auto-review, exclude docs changes (#43304) 2026-04-09 14:12:54 -05:00
.custom-gcl.yml Add setboolcheck linter: flag map[T]bool used as sets (#42631) 2026-03-31 16:26:24 -05:00
.dockerignore Added support to read jwt and mysql password from a file (#141) 2021-01-04 07:58:43 -08:00
.eslintignore Allow ESCAPE in LIKE clauses to be valid SQL (#31222) 2025-07-25 10:13:55 -05:00
.eslintrc.js update storybook to 8.4.7 (#25451) 2025-01-20 16:17:33 +00:00
.gitattributes Windows friendly changes after walking through getting started guide (#1441) 2021-07-21 20:49:44 -04:00
.gitignore Website: add package-lock.json (#43001) 2026-04-06 17:45:44 -05:00
.gitpod.yml Add gitpod yml (#2915) 2021-11-19 10:03:56 -03:00
.golangci-incremental.yml Claude, use math/rand/v2 instead of math/rand (#42861) 2026-04-02 13:20:43 -05:00
.golangci.yml Update golangci-lint from 2.7.1 to 2.11.3 (#42066) 2026-03-19 11:19:42 -05:00
.goreleaser-snapshot.yml Cleanup docker publish (#42693) 2026-04-03 10:40:56 -05:00
.goreleaser.yml Fix tagging of fleetdm/fleet and fleetdm/fleetctl when releasing (#28251) 2025-04-16 15:48:47 -03:00
.npmignore Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
.pre-commit-config.yaml Update golangci-lint from 2.7.1 to 2.11.3 (#42066) 2026-03-19 11:19:42 -05:00
.prettierignore Allow ESCAPE in LIKE clauses to be valid SQL (#31222) 2025-07-25 10:13:55 -05:00
.prettierrc.json add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
.yarnrc New yarn configuration: Sets installing a dependency to a specific semantic versioning instead of latest stable (#17938) 2024-03-29 10:39:20 -04:00
43273-fix-policy-stats-wipe Fix issue with GitOps incorrectly wiping policy stats (#43282) 2026-04-08 17:03:08 -05:00
babel.config.json Fleet Frontend: Create integration tests QuerySidePanel.tests.tsx (#12179) 2023-06-07 12:01:59 -04:00
CHANGELOG.md Adding changes for Fleet v4.83.0 (#41764) (#42819) 2026-04-01 12:00:18 -05:00
CODE_OF_CONDUCT.md Remove @fleetdm.com emails from fleetdm/fleet repo (#882) 2021-05-27 17:19:14 -04:00
codecov.yml Added dedicated Go test workflow for activity bounded context (#40653) 2026-02-27 07:53:57 -06:00
CODEOWNERS Add @lukeheath as code owner for /docs/solutions (#42256) 2026-03-23 12:22:11 -05:00
docker-compose-redis-cluster.yml Bind docker ports to 127.0.0.1 (#42232) 2026-03-23 12:30:23 -05:00
docker-compose.yml Set MySQL binary logs expiration to save disk space in dev (#43024) 2026-04-06 08:57:23 -05:00
Dockerfile-desktop-linux Make orbit and Fleet Desktop not depend on server/service/ packages (#42231) 2026-03-26 10:59:42 -03:00
go.mod Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.81.0 to 1.97.3 (#43204) 2026-04-08 14:55:33 -03:00
go.sum Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.81.0 to 1.97.3 (#43204) 2026-04-08 14:55:33 -03:00
kilo.md Add kilo.md with AI agent coding guidelines (#42939) 2026-04-03 11:57:02 -05:00
LICENSE Update LICENSE (#10) 2020-11-04 19:57:51 -06:00
Makefile Add -s -w when building fleetd components to remove debugging information and reduce binary sizes (#43260) 2026-04-08 18:30:05 -03:00
manifest.yml.cloudgov.example cloud.gov deployment (#7611) 2022-09-07 13:30:06 -05:00
osv-scanner.toml We have migrated from aws-sdk-go v1 to v2, remove scanner skip (#30469) 2025-07-02 13:33:31 -03:00
package.json Update to TypeScript 6.0 (#43141) 2026-04-09 08:28:59 -05:00
postcss.config.js Upgrade Bourbon to 5.1.0 and fix deprecation warnings (#1973) 2019-01-03 12:46:55 -08:00
README.md Removing run tests badge from README (#32131) 2025-08-20 12:54:48 -05:00
render.yaml Use Render Redis service (#23056) 2025-01-02 10:07:54 -06:00
SECURITY.md Add note about compatibility to security policy (#40555) 2026-02-27 09:28:54 -06:00
tsconfig.json Update to TypeScript 6.0 (#43141) 2026-04-09 08:28:59 -05:00
webpack.config.js Silence webpack warnings (#40756) 2026-03-10 12:29:11 -05:00
yarn.lock Update to TypeScript 6.0 (#43141) 2026-04-09 08:28:59 -05:00

Fleet logo, landscape, dark text, transparent background

News   ·   Report a bug   ·   Handbook   ·   Why open source?   ·   Art

Open-source platform for IT and security teams with thousands of computers. Designed for APIs, GitOps, webhooks, YAML, and humans.

A glass city in the clouds

What's it for?

Organizations like Fastly and Gusto use Fleet for vulnerability reporting, detection engineering, device management (MDM), device health monitoring, posture-based access control, managing unused software licenses, and more.

Explore data

To see what kind of data you can use Fleet to gather, check out the table reference documentation.

Out-of-the-box policies

Fleet includes out-of-the box support for all CIS benchmarks for macOS and Windows, as well as many simpler queries.

Take as much or as little as you need for your organization.

Supported platforms

Here are the platforms Fleet currently supports:

  • Linux (all distros)
  • macOS
  • Windows
  • Chromebooks
  • Amazon Web Services (AWS)
  • Google Cloud (GCP)
  • Azure (Microsoft cloud)
  • Data centers
  • Containers (kube, etc)
  • Linux-based IoT devices

Lighter than air

Fleet is lightweight and modular. You can use it for security without using it for MDM, and vice versa. You can turn off features you are not using.

Openness

Fleet is dedicated to flexibility, accessibility, and clarity. We think everyone can contribute and that tools should be as easy as possible for everyone to understand.

Good neighbors

Fleet has no ambition to replace all of your other tools. (Though it might replace some, if you want it to.) Ready-to-use, enterprise-friendly integrations exist for Snowflake, Splunk, GitHub Actions, Vanta, Elastic Jira, Zendesk, and more.

Fleet plays well with Munki, Chef, Puppet, and Ansible, as well as with security tools like Crowdstrike and SentinelOne. For example, you can use the free version of Fleet to quickly report on what hosts are actually running your EDR agent.

Free as in free

The free version of Fleet will always be free. Fleet is independently backed and actively maintained with the help of many amazing contributors.

Longevity

The company behind Fleet is founded (and majority-owned) by true believers in open source. The company's business model is influenced by GitLab (NYSE: GTLB), with great investors, happy customers, and the capacity to become profitable at any time.

In keeping with Fleet's value of openness, Fleet Device Management's company handbook is public and open source. You can read about the history of Fleet and osquery and our commitment to improving the product.

Is it any good?

Fleet is used in production by IT and security teams with thousands of laptops and servers. Many deployments support tens of thousands of hosts, and a few large organizations manage deployments as large as 400,000+ hosts.

Chat

Please join us in MacAdmins Slack or in osquery Slack.

The Fleet community is full of kind and helpful people. Whether or not you are a paying customer, if you need help, just ask.

Contributing   Go Report Card   CII Best Practices   Twitter Follow  

The landscape of cybersecurity and IT is too complex. Let's open it up.

Contributions are welcome, whether you answer questions on Slack / GitHub / StackOverflow / LinkedIn / Twitter, improve the documentation or website, write a tutorial, give a talk at a conference or local meetup, give an interview on a podcast, troubleshoot reported issues, or submit a patch. The Fleet code of conduct is on GitHub.

What's next?

To see what Fleet can do, head over to fleetdm.com and try it out for yourself, grab time with one of the maintainers to discuss, or visit the docs and roll it out to your organization.

Production deployment

Fleet is simple enough to spin up for yourself. Or you can have us host it for you. Premium features are available either way.

Documentation

Complete documentation for Fleet can be found at https://fleetdm.com/docs.

License

The free version of Fleet is available under the MIT license. The commercial license is also designed to allow contributions to paid features for users whose employment agreements allow them to contribute to open source projects. (See LICENSE.md for details.)

Fleet is built on osquery, nanoMDM, Nudge, and swiftDialog.