Skip to content

feat(mdm): require BitLocker per Windows host on Fleet Free CU-17tkuw6a8db - #293

Merged
andrii-flamingo merged 8 commits into
mainfrom
feat/windows-disk-encryption
Dec 2, 2026
Merged

andrii-flamingo merged 8 commits into
mainfrom
feat/windows-disk-encryption

fix(mdm): CU-17tkuw6a8db clear the key time with the BitLocker key row

928a8fc
Select commit
Loading
Failed to load commit list.
Flamingo / Flamingo Code Review completed Dec 1, 2026 in 0s

Flamingo Code Review: neutral

3 findings: 🔴 0 action required · 🟠 2 recommended · 🔵 1 informational

Advisory: findings do not block the merge.

  • 🟠 Recommended · warning · dup-scan Tool-checked · server/datastore/mysql/apple_mdm.go:4336: MDMResetEnrollment duplicates an existing definition
  • 🟠 Recommended · warning · Tests and mutation · server/datastore/mysql/disk_encryption.go:321: A host that is deleted and enrolls again loses access to its archived recovery key
  • 🔵 Informational · info · Tests and mutation · server/datastore/mysql/openframe_windows_disk_encryption.go:60: A host id repeated across batches is counted twice in the answer

Annotations

Check warning on line 4501 in server/datastore/mysql/apple_mdm.go

See this annotation in the file changed.

@flamingo flamingo / Flamingo Code Review

MDMResetEnrollment duplicates an existing definition

MDMResetEnrollment duplicates an existing definition

Same structure as [FleetMDM:server/datastore/mysql/apple_mdm.go:7571](https://github.com/flamingo-stack/fleetmdm/blob/399b7a8b383e382e6c91d08fe48f48858579b7a0/server/datastore/mysql/apple_mdm.go#L7571-L7608) (go:github.com/fleetdm/fleet/v4/server/datastore/mysql.Datastore.MDMAppleResetOnReenrollment) and 2 more. Reuse the existing definition, or extract one shared implementation.