Open roperzh opened 2 weeks ago
Thanks for tracking this @roperzh!
I think improving the error message would be a great, quick win.
What do you think the error message should be?
Host identifier is described in the errors and docs as: a valid hostname, UUID, osquery host ID, or node key.
Seems like a quick win here would be improving the error message and the Get host by identifier docs: https://fleetdm.com/docs/rest-api/rest-api#get-host-by-identifier
Problem
As an IT admin or security admin trying to interact with the Fleet CLI and API, the documentation in
fleetctl
and the API docs is not clear when it comes to "host identifiers"Host identifier is described in the errors and docs as:
a valid hostname, UUID, osquery host ID, or node key.
Some of the problems:
Host
andHostname
, people generally grab the value fromHost
and get an error.Potential solutions