Check Status of a Custom Resource

GET {{cbc-hostname}}/containers/v1/orgs/{{org_key}}/deploy/kubernetes_resource_definitions/{{id}}

Check Status of a Custom Resource

Checks whether a Custom resource is still available on the Carbon black host location.

Permissions Required

Permission (.notation name)Operation(s)
kubernetes.securityCREATE, READ, UPDATE, DELETE, EXECUTE

See Documentation

HEADERS

KeyDatatypeRequiredDescription
X-AUTH-TOKENstring(Required) Carbon Black Access Key
Acceptstring

RESPONSES

status: OK

{"id":"cr-1a8de808-71f9-454d-8435-444b4878f67a","resource_yaml":"apiVersion: operator.containers.carbonblack.io/v1\nkind: CBContainersAgent\nmetadata:\n  name: cbcontainers-agent\nspec:\n  account: ABCDE12345\n  clusterName: john:john-eks-frankfurt\n  version: \"main\"\n  gateways:\n    apiGateway:\n      host: defense-dev01.cbdtest.io\n      adapter: containers\n    coreEventsGateway:\n      host: events.myserver.dev.containers.mydomain.io\n    hardeningEventsGateway:\n      host: events.myserver.dev.containers.mydomain.io\n    runtimeEventsGateway:\n      host: runtime.events.myserver.dev.containers.mydomain.io \n\n","resource_url":"setup.test.containers.carbonblack.io/cr-1a8de808-71f9-454d-8435-444b4878f67a"}