mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
#17361 #17148 In GET fleet/hosts/:id response, added the following fields: - orbit_version - `orbit_version == null` means this agent is not an orbit agent - fleet_desktop_version - `fleet_desktop_version == null` means this agent is not an orbit agent or it is an older version which is not collecting the desktop version - `fleet_desktop_version == ""` means this agent is an orbit agent but does not have fleet desktop - scripts_enabled - `scripts_enabled == null` means this agent is not an orbit agent or it is an older version which is not collecting scripts_enabled In orbit_info table, added the following fields: - desktop_version - scripts_enabled Updated docs for orbit_info PR: https://github.com/fleetdm/fleet/pull/18135 Updated API docs: https://github.com/fleetdm/fleet/pull/17814 MDM lock/unlock/wipe error messages are not part of this PR. They will be in a separate PR. # Checklist for submitter - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Added support on fleet's osquery simulator `cmd/osquery-perf` for new osquery data ingestion features. - [x] Added/updated tests - [x] If database migrations are included, checked table schema to confirm autoupdate - [x] Manual QA for all new/changed functionality - For Orbit and Fleet Desktop changes: - [x] Manual QA must be performed in the three main OSs, macOS, Windows and Linux. - [x] Auto-update manual QA, from released version of component to new version (see [tools/tuf/test](../tools/tuf/test/README.md)).
142 lines
3.4 KiB
JSON
142 lines
3.4 KiB
JSON
{
|
|
"kind": "host",
|
|
"apiVersion": "v1",
|
|
"spec": {
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
"id": 0,
|
|
"detail_updated_at": "0001-01-01T00:00:00Z",
|
|
"label_updated_at": "0001-01-01T00:00:00Z",
|
|
"last_enrolled_at": "0001-01-01T00:00:00Z",
|
|
"last_restarted_at": "0001-01-01T00:00:00Z",
|
|
"seen_time": "0001-01-01T00:00:00Z",
|
|
"software_updated_at": "0001-01-01T00:00:00Z",
|
|
"refetch_requested": false,
|
|
"refetch_critical_queries_until": null,
|
|
"hostname": "test_host",
|
|
"display_name": "test_host",
|
|
"uuid": "",
|
|
"platform": "",
|
|
"osquery_version": "",
|
|
"orbit_version": null,
|
|
"fleet_desktop_version": null,
|
|
"scripts_enabled": null,
|
|
"os_version": "",
|
|
"build": "",
|
|
"platform_like": "",
|
|
"policy_updated_at": "0001-01-01T00:00:00Z",
|
|
"code_name": "",
|
|
"uptime": 0,
|
|
"memory": 0,
|
|
"cpu_type": "",
|
|
"cpu_subtype": "",
|
|
"cpu_brand": "",
|
|
"cpu_physical_cores": 0,
|
|
"cpu_logical_cores": 0,
|
|
"hardware_vendor": "",
|
|
"hardware_model": "",
|
|
"hardware_version": "",
|
|
"hardware_serial": "",
|
|
"computer_name": "test_host",
|
|
"public_ip": "",
|
|
"primary_ip": "",
|
|
"primary_mac": "",
|
|
"distributed_interval": 0,
|
|
"config_tls_refresh": 0,
|
|
"logger_tls_period": 0,
|
|
"mdm": {
|
|
"dep_profile_error": false,
|
|
"encryption_key_available": false,
|
|
"enrollment_status": null,
|
|
"name": "",
|
|
"server_url": null
|
|
},
|
|
"team_id": null,
|
|
"pack_stats": null,
|
|
"team_name": null,
|
|
"additional": {
|
|
"query1": [
|
|
{
|
|
"col1": "val",
|
|
"col2": 42
|
|
}
|
|
]
|
|
},
|
|
"gigs_disk_space_available": 0,
|
|
"percent_disk_space_available": 0,
|
|
"gigs_total_disk_space": 0,
|
|
"issues": {
|
|
"total_issues_count": 0,
|
|
"failing_policies_count": 0
|
|
},
|
|
"status": "offline",
|
|
"display_text": "test_host"
|
|
}
|
|
}
|
|
{
|
|
"kind": "host",
|
|
"apiVersion": "v1",
|
|
"spec": {
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
"id": 0,
|
|
"detail_updated_at": "0001-01-01T00:00:00Z",
|
|
"label_updated_at": "0001-01-01T00:00:00Z",
|
|
"last_enrolled_at": "0001-01-01T00:00:00Z",
|
|
"last_restarted_at": "0001-01-01T00:00:00Z",
|
|
"seen_time": "0001-01-01T00:00:00Z",
|
|
"software_updated_at": "0001-01-01T00:00:00Z",
|
|
"refetch_requested": false,
|
|
"refetch_critical_queries_until": null,
|
|
"hostname": "test_host2",
|
|
"uuid": "",
|
|
"platform": "",
|
|
"osquery_version": "",
|
|
"orbit_version": null,
|
|
"fleet_desktop_version": null,
|
|
"scripts_enabled": null,
|
|
"os_version": "",
|
|
"build": "",
|
|
"platform_like": "",
|
|
"policy_updated_at": "0001-01-01T00:00:00Z",
|
|
"code_name": "",
|
|
"uptime": 0,
|
|
"memory": 0,
|
|
"cpu_type": "",
|
|
"cpu_subtype": "",
|
|
"cpu_brand": "",
|
|
"cpu_physical_cores": 0,
|
|
"cpu_logical_cores": 0,
|
|
"hardware_vendor": "",
|
|
"hardware_model": "",
|
|
"hardware_version": "",
|
|
"hardware_serial": "",
|
|
"computer_name": "test_host2",
|
|
"display_name": "test_host2",
|
|
"public_ip": "",
|
|
"primary_ip": "",
|
|
"primary_mac": "",
|
|
"distributed_interval": 0,
|
|
"config_tls_refresh": 0,
|
|
"logger_tls_period": 0,
|
|
"mdm": {
|
|
"dep_profile_error": false,
|
|
"encryption_key_available": false,
|
|
"enrollment_status": null,
|
|
"name": "",
|
|
"server_url": null
|
|
},
|
|
"team_id": null,
|
|
"pack_stats": null,
|
|
"team_name": null,
|
|
"gigs_disk_space_available": 0,
|
|
"percent_disk_space_available": 0,
|
|
"gigs_total_disk_space": 0,
|
|
"issues": {
|
|
"total_issues_count": 0,
|
|
"failing_policies_count": 0
|
|
},
|
|
"status": "offline",
|
|
"display_text": "test_host2"
|
|
}
|
|
}
|