Skip to main content
POST
/
kubeclusters
/
{cluster}
/
resources
/
{resource}
/
containers
{
  "cluster": "<string>",
  "container_name": "<string>",
  "created_by": "<string>",
  "created_on": "2023-11-07T05:31:56Z",
  "image": "<string>",
  "last_modified_by": "<string>",
  "last_modified_on": "2023-11-07T05:31:56Z",
  "namespace": "<string>",
  "resource_kind": "Deployment",
  "resource_name": "<string>",
  "scanned_on": 123,
  "$schema": "<string>",
  "project": "<string>",
  "project_component": "<string>"
}

Response

Created

cluster
string
required

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

container_name
string
required

String name of the container within the KubeClusterResource. Must be unique for the KubeClusterResource.

created_by
string
required

user who created the record.

created_on
string<date-time>
required

timestamp of when the record was created.

image
string
required

Image ID for the container within the KubeClusterResource.

last_modified_by
string
required

user who last modified the record.

last_modified_on
string<date-time>
required

timestamp of when the record was last modified.

namespace
string
required

The namespace in which the KubeClusterResource resides.

resource_kind
enum<string>
required

The Resource Kind.

Available options:
Deployment,
DaemonSet,
StatefulSet
resource_name
string
required

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

scanned_on
integer<int64>
required

The timestamp the KubeClusterScan occurred.

$schema
string<uri>

A URL to the JSON Schema for this object.

project
string

During classification, if Chkk was able to determine the specific Project associated with the KubeClusterResourceContainer, this field will contain the ID of the Project.

project_component
string

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