mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Add osquery_version to the table in fleetctl get hosts (#2304)
This commit is contained in:
parent
7ce0472c2c
commit
1d5f5d7eac
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue