#17361 API changes: Add fleetd version to host details (#17814)

For #17361.

---------

Co-authored-by: Victor Lyuboslavsky <victor@fleetdm.com>
This commit is contained in:
Rachael Shaw
2024-04-25 13:26:28 -05:00
committed by GitHub
co-authored by Victor Lyuboslavsky
parent df7eafb4d5
commit 1657b38eba
+10 -1
View File
@@ -2364,7 +2364,10 @@ Returns the information of the specified host.
"hostname": "23cfc9caacf0",
"uuid": "309a4b7d-0000-0000-8e7f-26ae0815ede8",
"platform": "rhel",
"osquery_version": "4.5.1",
"osquery_version": "5.12.0",
"orbit_version": "1.22.0",
"fleet_desktop_version": "1.22.0",
"scripts_enabled": true,
"os_version": "CentOS Linux 8.3.2011",
"build": "",
"platform_like": "rhel",
@@ -2541,6 +2544,12 @@ Returns the information of the specified host.
> Note: `installed_paths` may be blank depending on installer package. For example, on Linux, RPM-installed packages do not provide installed path information.
> Note:
> - `orbit_version: null` means this agent is not a fleetd agent
> - `fleet_desktop_version: null` means this agent is not a fleetd agent, or this agent is version <=1.23.0 which is not collecting the desktop version
> - `fleet_desktop_version: ""` means this agent is a fleetd agent but does not have fleet desktop
> - `scripts_enabled: null` means this agent is not a fleetd agent, or this agent is version <=1.23.0 which is not collecting the scripts enabled info
### Get host by identifier
Returns the information of the host specified using the `uuid`, `hardware_serial`, `osquery_host_id`, `hostname`, or