Enable or disable Scaleway Audit Trail alert rules
scaleway_audit_set_alert_rules_enabledEnable or disable specific Audit Trail alert rules by ID while keeping all other rules untouched. Target exactly the rules you need without altering the rest of your alert configuration.
Instructions
Enable or disable specific preconfigured Audit Trail alert rules by ID. Touches ONLY the listed rules - the enabled/disabled state of every other rule is left unchanged (unlike scaleway_audit_replace_enabled_alert_rules, which rewrites the whole enabled set). Get IDs from scaleway_audit_list_alert_rules. Live-verified 2026-08-18: an unknown rule ID rejects the whole request (HTTP 404) - no partial application. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Defaults to the server's configured region (fr-par). | |
| enabled | Yes | true: enable exactly these rules (others untouched). false: disable exactly these rules (others untouched). | |
| rule_ids | Yes | IDs of the preconfigured rules to enable or disable - from scaleway_audit_list_alert_rules. |