When enrolling a host to fleet, mdm_enrolled needs to grab the correct host_display_name (which would be hostname if computer name is empty) and populate serial number if possible (both of these should be available when fleetd was installed, since they were recently added here #22810 )
🧑💻 Steps to reproduce
Enroll a host
Navigate to Global Activity feed
Open Inspector and note the response for mdm_enrolled is missing serial number and the host_display_name is not accurate
Fleet version: 4.59.0
Web browser and operating system: ANY
💥 Actual behavior
When enrolling a host to fleet,
mdm_enrolled
needs to grab the correcthost_display_name
(which would be hostname if computer name is empty) and populate serial number if possible (both of these should be available when fleetd was installed, since they were recently added here #22810 )🧑💻 Steps to reproduce
mdm_enrolled
is missing serial number and thehost_display_name
is not accurate🕯️ More info (optional)