Skip to main content
GET
Get one imported cluster's aggregated policy violations

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cluster_id
string<uuid>
required

Response

The cluster's aggregated Kyverno policy-report rollup (per-policy pass/warn/fail counts with top offending namespaces) plus the stored audit/enforce mode; not_available with a detail when Kyverno has published nothing.

cluster_id
string<uuid>
required
cluster_name
string
required
detail
string | null
required
policies
object[]
required
policy_mode
enum<string> | null
required
Available options:
audit,
enforce
report_count
integer
required
status
enum<string>
required
Available options:
available,
not_available
totals
object
required
platform_posture
object
required

The platform's own evaluation of the cluster's workloads (Pod Security Standards and configuration-audit checks) from the resource cache. policies lists the whole check catalogue: pass_count counts workloads the check applied to and did not fail, fail_count the ones it failed, so a check nothing failed shows as passing and a check that applied to nothing shows 0/0. not_available with a detail means the cache is not fully synced or could not be read, never that nothing was found. pod_security is the enforcement half of the block: what the cluster's stored pod-security manifest declares and how many namespaces carry the Pod Security Admission labels.