Skip to content
Remediation

Auto-remediation

Playbooks fix what they cover automatically, inside guardrails. A run that cannot finish safely is held or rolled back, and every step is recorded

Sample data · 24 Sep 2026
Fully automatic · 8 playbooks, 1 paused · 8 guardrails

Guardrails every run must pass

They apply to all 8 playbooks. A run that cannot meet one does not start, or undoes itself

All 8 active
G1
One target, within limits

A run changes one resource or one service and stays inside its playbook's limits, such as known consumers or shards. Anything bigger goes to a person.

Stopped 1 run in 24 h · run-4811 · 41 known consumers against the PB-ACC-03 limit of 25
G2
Dry run first

The exact change is simulated first. A run stops if anyone else would lose access.

No run stopped in 24 h · 30 dry runs, all clean
G3
Snapshot before change

The previous state is saved so the run can undo itself.

No run stopped in 24 h · used by 3 rollbacks
G4
Scoped, short-lived credential

Each run borrows a credential scoped to its target for 15 or 30 minutes. It is revoked when the run ends.

No run stopped in 24 h · 30 leases issued · 28 revoked · 2 active
G5
Release freezes respected

No production change during a release freeze.

Stopped 1 run in 24 h · run-4817 · freeze until Mon 28 Sep 06:00 UTC
G6
Rate limit and circuit breaker

At most 6 runs per playbook per hour. Two rollbacks in 24 h pause the playbook.

Paused PB-ACC-02 at 02:44 after 2 rollbacks in 24 h
G7
Verified or undone

A run closes only when every check passes. Otherwise it rolls back and the finding stays open.

Stopped 3 runs in 24 h · run-4794, run-4805 and run-4814 rolled back
G8
Owners told every time

The owner and #sec-remediation get the evidence link for every run.

No run stopped in 24 h · 30 of 32 runs notified · 2 still running

Playbooks

8 shown · what each one fixes, the exact steps it takes, what it will never do, and how it undoes itself

PB-ACC-01 · Data & access

Revoke unused or leftover access

Automatic

WhenA grant unused for 90 days, or access kept after a person leaves

  1. 1Simulate who loses what
  2. 2Revoke the grant
  3. 3Test that the action is refused and the rest still works
Limits
  • One principal per run
  • Never an admin role
  • Production data only with an owner on record
Verified by
  • The revoked action is refused
  • The principal's remaining access still works

RollbackRe-apply the grant from the saved snapshot

5 runs in 24 h · 5 verified97% verified over 30 days (59 of 61)30-day median 6 min · credential 15 minLatest completed run-4822
PB-ACC-02 · Data & access

Resync stale index permissions

Paused

24 Sep 02:44 UTC · Paused by guardrail G6 after 2 rollbacks in 24 h (run-4794 and run-4814). A person reviews both before it runs again.

WhenA vector index serves chunks with a permission snapshot more than 24 h older than its source

  1. 1Pause serving from the affected shards
  2. 2Resync chunk permissions from the source
  3. 3Resume serving
Limits
  • At most 4 shards per run
  • The source snapshot must be marked complete
Verified by
  • Removed users are denied
  • Current users still retrieve

RollbackRestore the previous permission snapshot and resume serving

4 runs in 24 h · 2 verified · 2 rolled back87% verified over 30 days (20 of 23)30-day median 11 min · credential 15 minLatest completed run-4814
PB-ACC-03 · Data & access

Block public access to a data bucket

Automatic

WhenA bucket holding restricted or confidential data allows anonymous reads

  1. 1Turn on block-public-access
  2. 2Remove public grants
Limits
  • At most 25 known consumers
  • Never deletes or moves objects
Verified by
  • Anonymous read is refused
  • Listed consumers can still read

RollbackRestore the previous bucket policy

4 runs in 24 h · 3 verified · 1 held100% verified over 30 days (17 of 17)30-day median 4 min · credential 15 minLatest completed run-4816
PB-CVE-01 · Code & dependencies

Upgrade a vulnerable package

Automatic

WhenAn advisory with a fixed version on a direct dependency of a running image

  1. 1Open a pull request with the fixed version
  2. 2Run CI and tests
  3. 3Merge, build and sign
  4. 4Roll out by canary
Limits
  • At most 3 services per image
  • Never during a release freeze
  • Canary error rate must stay within baseline
Verified by
  • A rescan finds no advisory
  • Health stays within baseline

RollbackRedeploy the previous signed image

6 runs in 24 h · 4 verified · 1 rolled back · 1 running92% verified over 30 days (44 of 48)30-day median 22 min · credential 30 minLatest completed run-4823
PB-CVE-02 · Code & dependencies

Rebuild on a patched base image

Automatic

WhenAn OS-package advisory in a base image that has a patched digest

  1. 1Rebuild on the patched base
  2. 2Sign the image
  3. 3Roll out by canary
Limits
  • One service at a time
  • Never during a release freeze
Verified by
  • A rescan finds no advisory
  • Health stays within baseline

RollbackRedeploy the previous signed image

3 runs in 24 h · 2 verified · 1 held95% verified over 30 days (18 of 19)30-day median 26 min · credential 30 minLatest completed run-4809
PB-SEC-01 · Secrets & credentials

Rotate a leaked secret

Automatic

WhenA live credential is found in a commit, log or notebook

  1. 1Issue a new credential
  2. 2Store it in the vault
  3. 3Reload every consumer
  4. 4Revoke the old one last
  5. 5Remove the leak by pull request
Limits
  • Consumers must be known and able to reload
  • The old credential is revoked only after every consumer uses the new one
Verified by
  • The old credential is refused
  • Consumers are healthy on the new version

RollbackBefore revocation: point consumers back to the previous vault version. After revocation: none, revocation is final

6 runs in 24 h · 5 verified · 1 running100% verified over 30 days (31 of 31)30-day median 5 min · credential 15 minLatest completed run-4820
PB-AGT-01 · Agents & MCP tools

Remove MCP tools beyond approved purpose

Automatic

WhenAn agent can call tools outside its approved purpose that it has not called in 30 days

  1. 1Remove those tools from the agent's gateway allowlist
Limits
  • Only tools with no call in 30 days
  • Tools in use go to a person
Verified by
  • A test call to a removed tool is refused
  • The agent's in-purpose tools still work

RollbackRestore the previous allowlist version

3 runs in 24 h · 3 verified100% verified over 30 days (12 of 12)30-day median 3 min · credential 15 minLatest completed run-4818
PB-AGT-02 · Agents & MCP tools

Require a verified identity on an MCP server

Automatic

WhenAn MCP server receives calls from a caller without a verified workload identity

  1. 1Require a SPIFFE identity at the gateway for that server
Limits
  • Only when every current legitimate caller already presents one
Verified by
  • An unverified call is refused
  • Verified agents are still served

RollbackRestore the previous gateway policy

1 run in 24 h · 1 verified100% verified over 30 days (5 of 5)30-day median 2 min · credential 15 minLatest completed run-4799