From 1d5f5d7eac4b9370aab537103c17b2e6b69f572d Mon Sep 17 00:00:00 2001 From: James Alseth Date: Fri, 25 Sep 2020 10:15:42 -0700 Subject: [PATCH] Add osquery_version to the table in `fleetctl get hosts` (#2304) --- cmd/fleetctl/get.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/fleetctl/get.go b/cmd/fleetctl/get.go index e0e5d7fa7a..94fe2d259c 100644 --- a/cmd/fleetctl/get.go +++ b/cmd/fleetctl/get.go @@ -616,12 +616,13 @@ func getHostsCommand() cli.Command { host.Host.UUID, host.DisplayText, host.Host.Platform, + host.OsqueryVersion, string(host.Status), }) } table := defaultTable() - table.SetHeader([]string{"uuid", "hostname", "platform", "status"}) + table.SetHeader([]string{"uuid", "hostname", "platform", "osquery_version", "status"}) table.AppendBulk(data) table.Render() } else {