You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define new endpoint POST /fleet/device/{token}/migrate_mdm used for Orbit to communicate to Fleet server when device user clicks "Start" in the SwiftUI dialog.
Similar to the POST /fleet/device/{token}/rotate_encryption_key endpoint used to communicate to the server that user needs to reset disk encryption key.
Upon receipt, Fleet server POSTs to the specified webhook URL with the following request body:
After sending the webhook request, Fleet server needs to keep fetching host vitals until osquery says host is unenrolled from MDM.
Fleet server stops fetching after 3 minutes if host is still enrolled.
As a future optimization, consider limiting the refetch to just include a subset of detail queries for MDM.
Modify existing endpoint that sends information to Fleet Desktop. Add a flag to show or hide "Migrate to Fleet" button. This is the same endpoint that shows the failing policies status in the systray dropdown menu.
Make sure org logo, name, and contact URL is accessible for Orbit.
Goal
Requirements
Changes
This issue's estimation includes completing:
UI changes
Update Settings page UI: https://www.figma.com/file/hdALBDsrti77QuDNSzLdkx/%F0%9F%9A%A7-Fleet-EE-(dev-ready%2C-scratchpad)?node-id=16287-206714
Add new properties to config interface used with GET /config and PATCH /config endpoints.
Expected frontend TypeScript interface:
Add
mdm.macos_migrationto app config endpoints #11671Update
PATCH /configendpoints to work with the new UI (see above) andfleetctl apply(see below).Expected
fleetctlYAML spec:Backend changes (device endpoints)
Define new endpoint
POST /fleet/device/{token}/migrate_mdmused for Orbit to communicate to Fleet server when device user clicks "Start" in the SwiftUI dialog.POST /fleet/device/{token}/rotate_encryption_keyendpoint used to communicate to the server that user needs to reset disk encryption key.Upon receipt, Fleet server POSTs to the specified webhook URL with the following request body:
Request body:
{ "timestamp": "0000-00-00T00:00:00Z", "host": { "id": 1, "uuid": "5BEE866A-4655-589F-989E-2E0C93BA252C", "hardware_serial": "V2RG6Y7VYL" } }After sending the webhook request, Fleet server needs to keep fetching host vitals until osquery says host is unenrolled from MDM.
Modify existing endpoint that sends information to Fleet Desktop. Add a flag to show or hide "Migrate to Fleet" button. This is the same endpoint that shows the failing policies status in the systray dropdown menu.
Make sure org logo, name, and contact URL is accessible for Orbit.
Backend changes (agent)
Implement new SwiftUI dialog: https://www.figma.com/file/hdALBDsrti77QuDNSzLdkx/%F0%9F%9A%A7-Fleet-EE-(dev-ready%2C-scratchpad)?type=design&node-id=16323-207316&t=SXvU5Kuhr4hGT502-0
Show/hide "Migrate to Fleet" item in systray dropdown menu