Skip to content

Update a remediation-rule

PUT
/remediation-rules/{id}
id
required
string

DocumentId

object
data
object
name
required
string
>= 1 characters <= 120 characters
incident_pattern
required

Regex or keyword to match against incident.title or incident.dedup_key. Regex must be a valid JS regex string (no surrounding slashes).

string
alert_pattern

Alias for incident_pattern used by the SRE auto-trigger system (F2.OPS.09). Regex matched against incident title + description.

string
severity_threshold

Only fire this trigger for incidents at or above this severity level (info < warning < error < critical).

string
Allowed values: info warning error critical
runbook
One of:

DocumentId reference to api::runbook.runbook

string
runbook_id

Legacy: documentId of the runbook to execute. Use the runbook relation instead when possible.

string
auto_approve

When true, matching incidents trigger the runbook immediately without human approval.

boolean
confidence_threshold

Minimum confidence score (0.0–1.0) required to trigger this rule.

number
enabled

Rule is disabled by default — must be explicitly enabled after testing.

boolean
cooldown_minutes

Minimum minutes between executions for the same incident pattern.

integer
last_triggered_at
string format: date-time
last_fired_at

Alias for last_triggered_at used by the SRE auto-trigger system (F2.OPS.09).

string format: date-time
fire_count

Cumulative count of successful trigger firings.

integer
organisation
One of:

DocumentId reference to api::organisation.organisation

string

Updated

object
data
object
name
required
string
>= 1 characters <= 120 characters
incident_pattern
required

Regex or keyword to match against incident.title or incident.dedup_key. Regex must be a valid JS regex string (no surrounding slashes).

string
alert_pattern

Alias for incident_pattern used by the SRE auto-trigger system (F2.OPS.09). Regex matched against incident title + description.

string
severity_threshold

Only fire this trigger for incidents at or above this severity level (info < warning < error < critical).

string
Allowed values: info warning error critical
runbook
One of:

DocumentId reference to api::runbook.runbook

string
runbook_id

Legacy: documentId of the runbook to execute. Use the runbook relation instead when possible.

string
auto_approve

When true, matching incidents trigger the runbook immediately without human approval.

boolean
confidence_threshold

Minimum confidence score (0.0–1.0) required to trigger this rule.

number
enabled

Rule is disabled by default — must be explicitly enabled after testing.

boolean
cooldown_minutes

Minimum minutes between executions for the same incident pattern.

integer
last_triggered_at
string format: date-time
last_fired_at

Alias for last_triggered_at used by the SRE auto-trigger system (F2.OPS.09).

string format: date-time
fire_count

Cumulative count of successful trigger firings.

integer
organisation
One of:

DocumentId reference to api::organisation.organisation

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Validation error

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found