Skip to main content
GET
/
kubeclusters
/
{cluster}
/
resources
/
{resource}
/
{
  "$schema": "https://example.com/schemas/KubeClusterResource.json",
  "cluster": "k8scl_83eaa8d5-36ab-4814-9559-77518ec434cf",
  "deployment_system": "argocd",
  "external_id": "2aabf5d0-2f5c-4736-9863-27fd8ab7a756",
  "namespace": "kube-system",
  "package": "pkg_8897b911-950d-4485-93a9-2eedc6fac4fa",
  "package_component": "pkg_8897b911-950d-4485-93a9-2eedc6fac4fa:1:agent",
  "package_system": "helm",
  "resource_kind": "Deployment",
  "resource_name": "mysql-server",
  "scanned_on": 123
}

Response

OK

cluster
string
required

Cluster is the ID of the KubeCluster in which this KubeClusterResource resides.

Examples:

"k8scl_83eaa8d5-36ab-4814-9559-77518ec434cf"

external_id
string
required

The value of the metadata.name field in the Kubernetes resource manifest.

Examples:

"2aabf5d0-2f5c-4736-9863-27fd8ab7a756"

namespace
string
required

The Kubernetes Namespace in which the KubeClusterResource resides.

Examples:

"kube-system"

resource_kind
enum<string>
required

The Kubernetes Resource Kind.

Available options:
Deployment,
DaemonSet,
StatefulSet
Examples:

"Deployment"

resource_name
string
required

The value of the metadata.name field in the Kubernetes resource manifest.

Examples:

"mysql-server"

scanned_on
integer
required

The timestamp the KubeClusterScan occurred.

$schema
string<uri>

A URL to the JSON Schema for this object.

Examples:

"https://example.com/schemas/KubeClusterResource.json"

deployment_system
string

During classification, if Chkk was able to determine what was used to deploy the Kubernetes resource, this field will contain the KubeDeploymentSystem that was identified.

Examples:

"argocd"

package
string

During classification, if Chkk was able to determine the specific Package contained the Kubernetes resource, this field will contain the ID of the Package.

Examples:

"pkg_8897b911-950d-4485-93a9-2eedc6fac4fa"

package_component
string

During classification, if Chkk was able to determine the specific PackageComponent that was associated with the Kubernetes resource, this field will contain the ID of the PackageComponent.

Examples:

"pkg_8897b911-950d-4485-93a9-2eedc6fac4fa:1:agent"

package_system
string

During classification, if Chkk was able to determine what packaging system was used to bundle the Kubernetes resource, this field will contain the PackageSystem that was identified.

Examples:

"helm"

I