Docs
Live demo

Fix a difference between a target and its rules

Detect drift, re-apply rules, remove extra access or mark a difference as expected.

On this page

Before you start: the admin role, or a custom role that may apply rules and manage drift.

  1. Open Drift and click Check all targets (or open a row from the Dashboard action queue).
  2. Narrow Out of sync with Target, Person, Severity, Rule or Search differences.
  3. Handle each row using the table below (usually Apply rule → Apply).
  4. Under Failed checks, fix the reported issue and click Run again (if paused: Check connection, then Run check now).

After an apply, Principal re-checks the target and clears resolved rows. With none left, Drift shows Everyone has exactly what the rules give.

Swipe the screenshot sideways to see all of it, or tap it to open it full size.

Failed checks lists targets where the drift check itself failed, with the reason.

What to do with a row#

Case Action
Rule is right
Click Apply rule → Apply. Untouched access shows · stays. Click Apply rule again (Apply can’t take this away) → Remove.
Several rules
Tick rows, click Apply N rules and confirm.
Intended
⋯ → Keep as expected, fill Why is this expected? and confirm. Moves to Kept as expected.
Extra, no rule
Click Remove. On targets in Observe, Apply rule and Remove are unavailable.

If the window shows Access already matches the rule, click Check again. Per-engine rules: Access granted by hand.

Through the API#

  1. Check target: POST /drift/check with {"instance_id": "<target id>"} (202).
  2. Read runs and findings: GET /drift/runs (target_id), GET /drift/runs/{id}/findings.
  3. Preview: POST /drift/run-findings/{id}/plan, or dry_run: true on POST /drift/runs/{id}/remedy.
  4. Fix one finding (POST /drift/run-findings/{id}/remedy) or the run (POST /drift/runs/{id}/remedy).

Single-finding endpoints require run_finding_id (<run id>_<finding id>), not id (400). Summaries: GET /drift/summary, GET /drift/target-snapshots.

↑ ↓ to moveEnter to openEsc to close