Skip to main content
GET
Read the auto-remediation policy

Authorizations

Authorization
string
header
required

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

Response

The policy document, stored or defaulted.

The organisation's auto-remediation policy: whether Ankra may act on an incident by itself, how far, which tools are overridden, who may approve and which clusters are in scope. An organisation that never configured one reads the disabled default document rather than a 404, so updated_at is the only field that tells "nobody has configured this" apart from "somebody configured it this way": the column is NOT NULL, so a null one means there is no policy row at all.

enabled
boolean
required

false leaves auto-remediation switched off entirely, whatever the rest of the document says.

autonomy_level
enum<string>
required

read_only observes, propose asks an approver first, auto acts unattended.

Available options:
read_only,
propose,
auto
tier_overrides
Tier Overrides · object
required

Per-tool overrides of the autonomy level, keyed by tool name. A tool absent here follows autonomy_level.

slack_webhook_id
string<uuid> | null
required

The Slack integration that carries the approve/deny cards; null means approvals are portal-only.

approver_user_ids
string<uuid>[]
required

The members who may decide a pending action. Empty means every organisation admin may.

max_actions_per_incident
integer
required
cooldown_minutes
integer
required
cluster_allow_list
string<uuid>[] | null
required

Absent (null) and empty are opposite states, not degrees of the same one: null admits every cluster, an empty list admits none.

updated_at
string<date-time> | null
required

null exactly when no policy row exists, so this is what "is auto-remediation configured at all?" is keyed off.