fleet
fleet copied to clipboard
Error message is too Windows specific when MDM profile type can't be determined
Fleet version: <!-- Copy this from the "My account" page in the Fleet UI, or run fleetctl --version
-->
Web browser and operating system:
💥 Actual behavior
When an MDM profile's target OS can't be determined, we return an error that is Windows specific:
Windows configuration profiles can only have <Replace> or <Add> top level elements.
🧑💻 Steps to reproduce
- Create a MacOS profile
- Remove the first 2 lines from the profile
- Attempt to upload the profile via
fleetctl
- Note the error that comes back
🕯️ More info (optional)
Was brought up while working on #16335.
For more context see Slack thread.
I’m in favor of updating the validation to assume .mobileconfig is macOS only and .xml is Windows only.
@georgekarrv should this be on MDM board?
@georgekarrv @jahzielv It Looks like this bug was missed; please prioritize when possible since it's old.
Cloud city's code speaks, A message clear for all OS, Fleet's embrace widens.