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.security | CREATE, READ, UPDATE, DELETE, EXECUTE |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-AUTH-TOKEN | string | (Required) Carbon Black Access Key | |
Accept | string |
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"}