2021-11-22 15:20:09 +00:00
|
|
|
{
|
2023-02-27 21:40:34 +00:00
|
|
|
"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",
|
|
|
|
|
"policy_updated_at": "0001-01-01T00:00:00Z",
|
|
|
|
|
"last_enrolled_at": "0001-01-01T00:00:00Z",
|
|
|
|
|
"seen_time": "0001-01-01T00:00:00Z",
|
|
|
|
|
"software_updated_at": "0001-01-01T00:00:00Z",
|
|
|
|
|
"refetch_requested": false,
|
2023-05-23 15:43:50 +00:00
|
|
|
"refetch_critical_queries_until": null,
|
2023-02-27 21:40:34 +00:00
|
|
|
"hostname": "test_host",
|
|
|
|
|
"uuid": "",
|
|
|
|
|
"platform": "",
|
|
|
|
|
"osquery_version": "",
|
|
|
|
|
"os_version": "",
|
|
|
|
|
"build": "",
|
|
|
|
|
"platform_like": "",
|
|
|
|
|
"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": {
|
|
|
|
|
"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,
|
|
|
|
|
"issues": {
|
|
|
|
|
"total_issues_count": 0,
|
|
|
|
|
"failing_policies_count": 0
|
|
|
|
|
},
|
|
|
|
|
"labels": [],
|
|
|
|
|
"packs": [],
|
|
|
|
|
"policies": [
|
|
|
|
|
{
|
|
|
|
|
"id": 1,
|
|
|
|
|
"query": "select 1 from osquery_info where start_time > 1;",
|
|
|
|
|
"name": "query1",
|
|
|
|
|
"platform": "",
|
|
|
|
|
"description": "Some description",
|
|
|
|
|
"author_email": "alice@example.com",
|
|
|
|
|
"author_id": 1,
|
|
|
|
|
"author_name": "Alice",
|
|
|
|
|
"response": "passes",
|
|
|
|
|
"resolution": "Some resolution",
|
|
|
|
|
"team_id": 1,
|
|
|
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
|
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
|
|
|
"critical": false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 2,
|
|
|
|
|
"query": "select 1 from osquery_info where start_time > 1;",
|
|
|
|
|
"name": "query2",
|
|
|
|
|
"platform": "",
|
|
|
|
|
"description": "",
|
|
|
|
|
"author_email": "alice@example.com",
|
|
|
|
|
"author_id": 1,
|
|
|
|
|
"author_name": "Alice",
|
|
|
|
|
"response": "fails",
|
|
|
|
|
"team_id": null,
|
|
|
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
|
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
|
|
|
"critical": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"status": "offline",
|
|
|
|
|
"display_text": "test_host",
|
|
|
|
|
"display_name": "test_host"
|
|
|
|
|
}
|
2021-12-06 16:56:28 +00:00
|
|
|
}
|