Update a Scaleway Audit Trail custom alert rule
scaleway_audit_update_custom_alert_ruleUpdate the name or description of an existing custom audit alert rule while keeping the query, evaluation window, occurrences, and severity unchanged.
Instructions
Update a custom alert rule's metadata (name/description) in place. The API exposes ONLY these two fields on update - the query, evaluation window, occurrences, and severity are immutable after creation; changing the logic means create-new + delete-old. Needs more than AuditTrailReadOnly on THIS server's own credential (read-only covers just the query tools) - if the call fails with permissions_denied, grant the Audit Trail write permission set via scaleway_iam_set_policy_rules. CAVEAT (live-verified 2026-08-18): Scaleway documents the custom-alert-rules endpoints, but the deployed API (fr-par) returns HTTP 501 'unknown method' for every custom-alert-rules method - this tool is kept for when Scaleway implements them and currently surfaces that error verbatim. Don't retry on 501; the preconfigured rules via scaleway_audit_list_alert_rules are the working alternative today.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. Omit to leave unchanged. | |
| region | No | Defaults to the server's configured region (fr-par). | |
| description | No | New description. Omit to leave unchanged. | |
| custom_alert_rule_id | Yes | ID of the custom alert rule to update - from scaleway_audit_list_custom_alert_rules. |