← Playbook
01 · Governance as code

If it isn't in a pull request, it isn't governance.

Access rules that live in consoles and people's heads drift. Mine change only through review.

The problem

On most platforms, access is granted by clicking around a console. A few months later nobody can say who has access to what, or why, and every audit turns into archaeology.

The move

  1. 1Declare itGrants, bindings and naming rules are written as code in the platform repo.
  2. 2Propose itEvery change is a pull request. CI checks naming, tags and what the change touches.
  3. 3Review itThe right owner approves, based on how sensitive the data is.
  4. 4Apply itA pipeline applies the merge. People read the console; they don't edit it.

Why it works

  • Every access change has an author, a reviewer and a reason, forever.
  • Rolling back is a revert, not a hunt through audit logs.
  • Drift is detectable: anything not in the repo is a finding.

When not to use it

Coming soonWhere this is overkill, and what I do instead.

Seen in