Skip to main content
POST
Set the security baseline policy mode (audit or enforce)

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

Body

application/json
mode
enum<string>
required
Available options:
audit,
enforce

Response

The kyverno-policies addon values were updated with the requested validationFailureAction; the reconciler applies the release.

commit_sha
string | null
required
commit_url
string | null
required
mode
enum<string>
required
Available options:
audit,
enforce
valid
boolean
required