fleet/server/datastore
Magnus Jensen 9360128942
Add sticky MDM enrollment Redis key (#33935)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #26879 

We decided to opt for a sticky enrollment approach, and I opted for
using redis, so this PR also adds a redis key value store to the free
service to use.

# 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`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [x] Added/updated automated tests

- [x] QA'd all new/changed functionality manually

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

## Summary by CodeRabbit

- Bug Fixes
- Prevents Orbit enrollment from undoing team transfers triggered during
MDM enrollment, preserving the correct team assignment on re-enrollment.
- Introduces a temporary “sticky” enrollment period (~30 minutes) during
Apple MDM check-in and Orbit enrollment to reduce unintended team
changes.
- Improves reliability of team-scoped enroll secrets and host transfers
in short re-enrollment windows.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-10-09 11:22:44 -03:00
..
cached_mysql Improved performance when modifying config with a large number of yara rules (#32696) 2025-09-08 10:24:22 -05:00
failing Add custom software icons (#32652) 2025-09-05 17:31:03 -05:00
filesystem Add custom software icons (#32652) 2025-09-05 17:31:03 -05:00
mysql Add sticky MDM enrollment Redis key (#33935) 2025-10-09 11:22:44 -03:00
mysqlredis Add missing platform_like during orbit enrollment (#32671) 2025-09-05 16:05:19 -03:00
redis New rate limit algorithm for Fleet Desktop endpoints (#33344) 2025-09-26 15:03:50 -03:00
s3 Fix GCS for remaining features that use S3 (#32743) 2025-09-09 11:22:04 -03:00