Get clusters, namespaces and repositories
GET {{cb_url}}/containers/v1beta/orgs/{{cb_org_key}}/inventory/overview/metadata
Get lists of clusters, namespaces and repositories.
RBAC Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
workloads.container.image | READ |
Response Schema
{
"clusters": [
"<string>"
],
"namespaces": [
"<string>"
],
"repositories": [
"<string>"
]
}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"clusters":["demo:cluster-one","test:testing-cluster-one"],"namespaces":["demo-namespace","testing-namespace"],"repositories":["demoartifactory/cluster-scanner","demoartifactory/guardrails-enforcer"]}