From 1657b38eba95ef458d511fda2ad054590d315341 Mon Sep 17 00:00:00 2001 From: Rachael Shaw Date: Thu, 25 Apr 2024 13:26:28 -0500 Subject: [PATCH] #17361 API changes: Add fleetd version to host details (#17814) For #17361. --------- Co-authored-by: Victor Lyuboslavsky --- docs/REST API/rest-api.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index e724af49d5..27f177f074 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -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