Decide who signs off before anything applies
Orchestration checks approvals, policy, and access on every pull request before it applies. The rules are config in your repository, reviewed like any other change.
In the pull request
The rules run where the change is reviewed
Approvals
Sign-off follows what changed
Apply requirements set who approves each directory, matched by a tag query. A change under iam waits for the security team, and production waits for two platform engineers.
Illustrative. Orchestration uses the first entry that matches a directory.
Policy
A failed check waits for a named approver
Add Checkov, Conftest, or OPA steps, and they check every plan. When a gated check fails, the apply stops until the people named on the gate approve it with a comment. Everyone else sees why it stopped and who can unblock it.
Gatekeeper →security-leadcommentedIllustrative. The layout follows the comment Orchestration posts when a gate blocks an apply.
Access control
Anyone can plan, a few can apply
Access control grants plan, apply, and override to users, teams, or repository roles, per tag query. Developers plan production changes, and only the SRE team applies them. A user without access sees which directories were skipped and why.
Role-based access control →Illustrative. The first policy that matches wins, so the catch-all goes last.
Configuration
A pull request cannot loosen its own rules
Orchestration reads access control and apply requirements from the default branch. A branch that edits them changes nothing until it merges. Centralized configuration sets rules for every repository in the organization from one place.
Centralized configuration →Illustrative. The file lives in a central repository named stategraph.
Audit trail
Every run is on the record
Orchestration records each plan, apply, and drift run with who started it, what it touched, and the result. Query the history by user, directory, and date, or export it as CSV or JSON for your auditors.
Audit trail →
Real output. A plan run in the console, with its pull request, author, and result.
With Infrastructure as a Database
Every state change on record
Set the engine to Stategraph and each apply also commits a transaction to the database. The transaction records what changed, in which state, and by whom. List it from the CLI, open it in the console, or query it with SQL.
Infrastructure as a Database →Illustrative. Commands from the transactions reference.
Make the rules part of the pull request
Write approvals, policy, and access once, and every pull request follows them. Connect GitHub or GitLab and see it on your own repository.
🚫 Gatekeeper Requirements Not Satisfied
This pull request is blocked until approvals are satisfied.
checkov-overrideproduction/networkdefaultteam:securityThese gates are fulfilled by commenting
stategraph gate approve <token>.