mirror of
https://github.com/fleetdm/fleet
synced 2026-05-19 23:18:51 +00:00
For #28837. Fixing this all of this because we got multiple reports from the community and customers and these were also detected by Amazon Inspector. - Fixes CVE-2025-22871 by upgrading Go from 1.24.1 to 1.24.2. - `docker scout` now fails the daily scheduled action if there are CRITICAL,HIGH CVEs (we missed setting `exit-code: true`). - Report CVE-2025-46569 as not affected by it because of our use of OPA's go package. - Report CVE-2024-8260 as not affected by it because Fleet doesn't run on Windows. - The `security/status.md` shows a lot of changes because we are now sorting CVEs so that newest come first. --- - [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/Committing-Changes.md#changes-files) for more information. - [ ] Manual QA for all new/changed functionality - For Orbit and Fleet Desktop changes: - [ ] Make sure fleetd is compatible with the latest released version of Fleet (see [Must rule](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/fleetd-development-and-release-strategy.md)). - [ ] Orbit runs on macOS, Linux and Windows. Check if the orbit feature/bugfix should only apply to one platform (`runtime.GOOS`). - [ ] Manual QA must be performed in the three main OSs, macOS, Windows and Linux. - [ ] Auto-update manual QA, from released version of component to new version (see [tools/tuf/test](../tools/tuf/test/README.md)). - [ ] For unreleased bug fixes in a release candidate, confirmed that the fix is not expected to adversely impact load test results or alerted the release DRI if additional load testing is needed. |
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| entrypoint.sh | ||
| mdmproxy.go | ||
| mdmproxy_test.go | ||
| README.md | ||
Proxy for MDM requests used in seamless migrations, as described in https://github.com/fleetdm/fleet/issues/19387.
Usage
Usage of ./mdmproxy:
-auth-token string
Auth token for remote flag updates (remote updates disabled if not provided)
-existing-hostname string
Hostname for existing MDM server (eg. 'mdm.example.com') (required)
-existing-url string
Existing MDM server URL (full path) (required)
-fleet-url string
Fleet MDM server URL (full path) (required)
-migrate-percentage int
Percentage of clients to migrate from existing MDM to Fleet
-migrate-udids string
Space/newline-delimited list of UDIDs to migrate always
-server-address string
Address for server to listen on (default ":8080")
Example invocation
mdmproxy --migrate-udids '' --auth-token foo --existing-url https://3.14.233.249 --existing-hostname micromdm.example.com --fleet-url https://example.cloud.fleetdm.com --migrate-percentage 0
Check migration status
To check the migration status for a given UDID, provide the --migrate-udids and
--migrate-percentage flags with the --check flag:
$ go run . --migrate-percentage=50 --check E5C6DBBA-D5CC-4DB6-9560-995F17FB7A59
E5C6DBBA-D5CC-4DB6-9560-995F17FB7A59 IS NOT migrated
$ go run . --migrate-percentage=50 --check 575424CB-09D7-4CAD-8A7A-D3511FE8A7E2
575424CB-09D7-4CAD-8A7A-D3511FE8A7E2 IS migrated
When the --check flag is used, the program prints the migration status and exits. The server is not started.