Get Metadata of Scan Logs
GET {{cb_url}}/containers/v1beta/orgs/{{cb_org_key}}/inventory/scan_logs/metadata
Get lists of possible clusters and namespaces to use in the search criteria for Scan Logs.
RBAC Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
workloads.container.image | READ |
Response Schema
{
"clusters": "<array>",
"namespaces": "<array>"
}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"clusters":["demo:cluster-one","test:testing-cluster-one"],"namespaces":["demo-namespace","testing-namespace"],"hostnames":["demo-hostname","testing-hostname"]}