Fleet version: 4.73
Web browser and operating system: Chrome 139 on macOS 15.6.1
💥 Actual behavior
When using the GET /api/v1/fleet/commands endpoint, commands with a request_type of DeviceLock are not returned unless the parameter is included.
For example:
curl --location -H 'Content-Type:application/json' -H 'Authorization: Bearer <token>' 'https://testURL/api/v1/fleet/commands?host_identifier=<identifier>&order_key=updated_at&order_direction=asc'
Returns output, but no DeviceLock commands. However, if you were to change the command to include the DeviceLock parameter:
curl --location -H 'Content-Type:application/json' -H 'Authorization: Bearer <token>' 'https://testURL/api/v1/fleet/commands?request_type=DeviceLock&host_identifier=<identifier>&order_key=updated_at&order_direction=asc'
It would show DeviceLock commands.
🛠️ To fix
TBD
Product designer: _________________________
🧑💻 Steps to reproduce
- Lock a macOS device.
- List the MDM commands for the device with no parameters aside from the
host_identifier.
- Note the output's lack of
DeviceLock commands.
- List the MDM commands with a filter for the
request_type of DeviceLock
🕯️ More info (optional)
N/A
Fleet version: 4.73
Web browser and operating system: Chrome 139 on macOS 15.6.1
💥 Actual behavior
When using the
GET /api/v1/fleet/commandsendpoint, commands with arequest_typeofDeviceLockare not returned unless the parameter is included.For example:
Returns output, but no DeviceLock commands. However, if you were to change the command to include the
DeviceLockparameter:It would show
DeviceLockcommands.🛠️ To fix
TBD
Product designer: _________________________
🧑💻 Steps to reproduce
host_identifier.DeviceLockcommands.request_typeofDeviceLock🕯️ More info (optional)
N/A