Host
Show host
get/host/{id}
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Host ID
Headers
X-Auth-Tokenstring required
Response
Success
Example response
{
"host": {
"name": "ubuntu64",
"id": "2AU7:TIEN:O5KX:QK56:LFQP:IJSV:FXBN:QJV7:XPAH",
"runtime": "docker",
"runtime_version": "1.10.2",
"runtime_api_version": "1.22",
"platform": "Docker",
"os": "Ubuntu 14.04.3 LTS",
"kernel": "3.19.0-25-generic",
"cpus": 1,
"memory": 2089816064,
"cgroup_version": 1,
"containers": 107,
"interfaces": {
"key": "eth0",
"value": [
{
"ip": "192.168.209.197",
"ip_prefix": 32
}
]
},
"cap_docker_bench": true,
"cap_kube_bench": true,
"docker_bench_status": "running",
"kube_bench_status": "scheduled",
"policy_mode": "Discover",
"profile_mode": "Discover",
"scan_summary": {
"status": "scheduled",
"result": "success",
"scanned_timestamp": 1516561253,
"scanned_at": "2018-01-21T19:00:53Z",
"base_os": "ubuntu:16.04",
"scanner_version": "1.011",
"cvedb_create_time": "2018-06-20T19:00:53Z"
},
"storage_driver": "aufs",
"labels": {
"key": [
"beta.kubernetes.io/os"
],
"value": "linux"
},
"annotations": {
"key": [
"kubeadm.alpha.kubernetes.io/cri-socket"
],
"value": "/var/run/dockershim.sock"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.