Docs
Live demo

Drift

Lists differences between targets and rules. Apply rules to resync, remove unruled grants, or keep expected differences.

On this page

On this screen#

Element Details
Check all targets
Runs drift checks across all targets (also scheduled). Notifies in top bar.
Target, Person, Severity, Rule
Filters (URL: ?target=, ?person=).
Search differences
Searches person, target or object.
Reconnect live updates before you apply fixes.
Shown if live updates drop (Reconnect).
Out of sync
Columns: Person, Target, Change (Grant/Revoke + privilege + path, e.g. Revoke INSERT on table principal.public.orders), Rule, Found. Empty: Everyone has exactly what the rules give.
Observe-only notice
Disables Apply rule and Remove. Manage it switches target to managed.
Apply rule
Opens Apply the rule (grants, revokes, unchanged · stays), applies and re-checks target.
Ticked rows, Apply N rules
Bulk-applies selected rules (or Apply all N rules) in one preview.
Keep as expected
Row menu (⋯). Records difference as intended after Why is this expected?
Kept as expected
Accepted rows (Person, Target, Object, Why). Excluded from open count.
Not covered by any rule
Principal-granted access no rule asks for. Remove revokes. Default/inherited access also offers Confirm baseline in ⋯.
Failed checks
Targets where checks failed: Run again, Run check after fixing, or Check connection → Run check now when paused. Collapsed when empty.

States and statuses#

Kind Example Severity
Missing
Grant SELECT on table … (rule grants, target lacks).
Critical
Extra
Revoke DELETE on table … (unruled target grant: Access granted by hand).
Warning

Limits and permissions#

  • Checks managed accounts only (unmanaged accounts appear on target pages).
  • Accepted differences cannot be withdrawn and clear once a passing check no longer finds them.
  • On Apply can’t take this away, use Remove (Access granted by hand).
  • On MariaDB, May close the open connections appears when apply closes connections or hits the 1-minute cap. Tick I understand that connections may close.
  • Immediate post-apply re-check requires drift management permission (else next scheduled check clears the row).
  • Targets in Failed checks have unknown drift until a check passes.

Tasks on this screen#

In the API#

API remediation_status values (not shown in console):

State Meaning
open
Unresolved.
remediated
Fixed.
already_in_sync
Already matched at fix time.
failed
Fix failed (error on finding).
skipped
Untouched by fix.

POST /drift/check, GET /drift/runs, GET /drift/runs/{id}/findings, POST /policies/{id}/apply, POST /policies/{id}/plan/diff, POST /drift/run-findings/accept, POST /drift/run-findings/{id}/remedy, GET /drift/summary.

↑ ↓ to moveEnter to openEsc to close