Workload

Show workload

get/workload/{id}

Request

Path parameters

idstring required

Workload ID

Headers

X-Auth-Tokenstring required

Response

Success

Example response

{
  "workload": {
    "id": "7304e72fd093155c4cbcd65d07375329b2db82cc679",
    "name": "k8s_POD.d86c_calico-node-mzhtk_kube-system_0050565a_365c13d",
    "display_name": "calico-node-mzhtk",
    "platform_role": "core",
    "state": "exit",
    "service": "kafka.zookeeper",
    "service_group": "nv.calico",
    "share_ns_with": "cc0709d522749203042e89dba28bf6924a4b0d360648",
    "policy_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"
    },
    "host_name": "ubuntu1604-k8worker1-calico",
    "host_id": "GRSW:3RCY:YL6O:TIGT:666B:OW22:XYQF:YHGI:JB3L",
    "enforcer_id": "002a4f71d9dbdb40db81c31484ac25564fe80574dfbe",
    "image": "gcr.io/google_containers/pause-amd24:3.0",
    "network_mode": "host",
    "cap_quarantine": true,
    "created_at": "2018-01-18T00:44:02Z",
    "started_at": "2018-01-18T00:44:02Z",
    "finished_at": "2018-01-18T01:20:02Z",
    "secured_at": "2018-01-18T01:20:02Z",
    "interfaces": {
      "key": "eth0",
      "value": [
        {
          "ip": "192.168.209.197",
          "ip_prefix": 32
        }
      ]
    },
    "ports": [
      {
        "ip_proto": 6,
        "port": 51764,
        "host_ip": "10.1.5.1",
        "host_port": 5000
      }
    ],
    "labels": {
      "key": "io.kubernetes.pod.name",
      "value": "calico-node-mzhtk"
    },
    "applications": [
      "TCP/9999"
    ],
    "app_ports": {
      "key": "TCP",
      "value": "9999"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.