Show Details of a Kubernetes Cluster

Shows the details of the specified K8s cluster.

GET/v1.3/k8sClusters/{clusterUid}

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

clusterUid Mandatory string Specify the unique identification number of the k8s cluster for which you want to get the details.
For example: a455f902-7e5a-6ccb-447cb0b18fa5ec94

Sample: Show Details of a Kubernetes ClusterSample: Show Details of a Kubernetes Cluster

API request

    curl -X 'GET'
'<qualys_base_url>/csapi/v1.3/k8sClusters/900fdf7-8zz8-7931-80f5-
19be88se20b1'
-H 'accept: application/json'
-H 'Authorization: Bearer <Token>'
-H 'Content-Type: application/json'
    

Response JSON

{
  "customerUuid": "9lpqfdd7-8bb8-8123-00z5-19be78pq24a4",
  "clusterUid": "900fdf7-8zz8-7931-80f5-19be88se20b1",
  "clusterName": "kubernetes-admin@kubernetes",
   "registries": 
    [
      {
       "registryUuid": "94a7b051-f445-4807-92cc-06aa3e05cf39"
      }
    ],
  "k8sAdmissionControllerUuid": "fa842dd0-94de-4595-800b-72b1e6354a79",
  "recordCreated": "1712128658132",
  "recordUpdated": "1712295397268",
  "updatedBy": null,
  "provider": "", 
  "region": "",
  "accountId": "",
  "clusterId": "",
  "version": "v1.26.4"              
 }