fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
2.24k stars 360 forks source link

host identifiers in the docs, CLI and API are confusing and not well defined #19127

Open roperzh opened 2 weeks ago

roperzh commented 2 weeks ago

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:

Potential solutions

noahtalerman commented 1 week 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?

noahtalerman commented 2 days ago

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