Exceptions

Excuse one app, cluster, environment or deployment from a guardrail, with an end date or a review date, and keep the list honest.

An exception is a standing carve-out: a guardrail that does not apply to one place, for a stated reason. Use one when a rule is right for most of production and wrong for one deployment, such as a sandbox cluster that must take snapshots from any branch. It is not a way to get one snapshot through: that is a one-time bypass, which Guardrails compares with exceptions. A restore has its own bypass and incident break-glass (Restore and rollback). The model is in Guardrails.

How an exception works

An exception narrows where its guardrail applies. It does not delete or edit the rule, and the guardrail's history does not change. The place is left out of the guardrail's scope for as long as the exception is in effect:

  • With an end date, the exception stops applying on its own at that moment. Nobody has to remember to remove it.
  • Without one, it is permanent and gets a review date, six months away unless you set another. A permanent exception is flagged Review overdue after that date until someone reviews it.
  • An ended exception stays on the list as Ended, with who and why.

An exception to the built-in Org freezes guardrail works like any other, and so does one to Protected branch for production. An exception excuses a place from the guardrail for every action it governs, a restore included if the guardrail governs restores.

Who may add one

Only the team that owns the guardrail (or the organization Owner, for a guardrail with no team) may add, change, review or end its exceptions. This is the duty exception:manage on that team. Someone who can read the guardrail but is not that team gets 403 exception.owner_only. An Admin does not hold it by default; designate it with a role.

You must also be able to read what you excuse: a place you cannot see cannot be named.

Add an exception

Open Guardrails › Exceptions and choose Add exception. (A guardrail's own page lists its exceptions under Doesn't apply to.)

Pick the Guardrail. Then choose what it Skips: an App, a Cluster, an Environment or a Deployment, and pick it by Name.

Under Why, write the reason, up to 500 characters. It is shown to everyone who reads the guardrail.

Set Ends to a date, or leave it empty for a permanent exception with a review in six months. Choose Add exception. The page confirms with "Exception added".

The Exceptions page

The tiles count what is In effect, Permanent, Expiring (ends within 30 days), Review overdue and Ended; they double as tabs. Each row shows:

ColumnMeaning
Doesn't apply toThe place, its kind and scope, and the reason.
GuardrailWhich guardrail it excuses, and the owner.
Added byWho and when, such as "S. Patel, Jan 2026".
Lasts"Until Nov 30", "Permanent" or "Ended Oct 1".
Next reviewThe review date, or Overdue with the date.

The row button is Edit (opens the guardrail), Review when a review is overdue, or View for an ended exception.

Review, change and end

  • Review marks a permanent exception as looked at and sets the next review six months on. A time-limited exception has no review: it answers 409 exception.not_permanent.
  • Change edits the reason, the end or the review date: PUT /guardrail-exceptions/{id}. The web app does not have an edit dialog yet.
  • End now stops it at once: POST /guardrail-exceptions/{id}/end. The web app has no button for it yet. The exception stays in the list as Ended.
api "$WARDN_API_URL/api/v1/guardrail-exceptions?state=in_effect"
api -X POST "$WARDN_API_URL/api/v1/guardrail-exceptions/$EXCEPTION_ID/review"
api -X POST "$WARDN_API_URL/api/v1/guardrail-exceptions/$EXCEPTION_ID/end"

A guardrail holds at most 500 exceptions. Adding, changing, reviewing and ending are all recorded in Activity as guardrail.exception_changed.

Keep the list short. A permanent exception to a rule is a decision that the rule does not hold there. Review them when they fall due, and end the ones nobody needs.

Permissions

ActionPermission
See exceptionsguardrail:read
Add, change, review, endexception:manage on the guardrail's owner team (the organization, for a guardrail with no team)

Next

On this page