Skip to main content
GET
Get one imported cluster's stored security policy mode

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 stored security-baseline policy mode: off, audit or enforce, or null when no security baseline is installed.

A cluster's stored security-baseline policy mode, read from the database.

cluster_id
string<uuid>
required
policy_engine_installed
boolean
required

Whether a Kyverno or kyverno-policies add-on is installed and not being removed.

policy_mode
enum<string> | null
required

off, audit or enforce; null when the cluster carries no security baseline. off whenever no policy engine is installed and the stored baseline does not enforce.

Available options:
off,
audit,
enforce
requested_mode
enum<string> | null
required

The mode the last policy-mode write asked for; null when no mode was ever set.

Available options:
off,
audit,
enforce