Operate an RBAC review without crossing the change boundary
This is public-safe operating guidance for Lee and an authorized delivery operator. It contains no customer account configuration. Start with the overview and client scope agreement; use the how-to for commands.
Choose the mode before collecting evidence
| Mode | Requires | What you may conclude |
|---|---|---|
| Synthetic Navigator demo | Python 3.11+, authorized checkout | Behavior on the bundled fixture |
| Terraform mock rehearsal | Python 3.11+, Terraform >=1.7 and staged dependencies | Planned synthetic resources map to before/after models |
| Recording replay | Explicit recording and matching engagement configuration | Findings derived from supplied rows offline |
| Live metadata capture | Written account/scope authority, configured SnowSQL authentication and capture opt-in | Observed metadata within capture coverage and timing |
| Native persona probe | Separately authorized lab cycle, connector profiles and bindings | The four scoped read outcomes for observed identities |
Do not relabel replay as a governed live session or use old native receipts as proof of present access. Accepted offline fixtures are finite examples, not universal coverage of Snowflake error formats. The lab's dependency remains Navigator 11b7f116; preserve its archive hash and source pin.
Prepare a review
- Record the owner, approved databases, capture identity, allowed metadata, time window, artifact recipients and retention decision. Decide separately whether any live lab provisioning or remediation is in scope.
- Use externally maintained authentication. Do not put credentials, private keys or connection-profile contents in the repository, command history or report package. Keep engagement configuration and lab bindings private too: they identify the account even when they contain no secrets.
- Check capture coverage. Read-only capture verifies the configured account, user, primary role, warehouse and inactive secondary roles. It does not switch roles. ACCOUNT_USAGE inventory can lag. Review scope suitability and missing inventory independently; an accepted recording can still omit inventory queries or scope away relevant databases.
- Retain observed owners and privileged roles. A missing preferred steward is not permission to invent one. Administrative ownership and service-persona migration advisories must remain explicit review items.
- Generate the package in a separate work area. Review findings against the source model, required access, proposed target and impact simulation before sharing a client-facing summary.
The tool's proposed target is advisory. In particular, service-persona reassignment can leave orphaned roles or remove required access. Design and validate any service-specific role migration with the owner rather than treating the proposal as a ready-to-apply lab change.
Three saved plans, three approvals
A new live Terraform lab cycle requires written authorization for the exact account, unique prefix, cost and lifecycle. PUBLIC inheritance is account-wide: prefixing the synthetic objects does not isolate who can reach them while the exposure exists. The XSMALL warehouse has auto-suspend and a dedicated one-credit resource monitor with suspend-immediate at 100%; that does not bound every Snowflake charge. Query acceleration is explicitly disabled in the plan, which is not authenticated live proof.
Work in a private copy of the Terraform module without its mock test file. Keep Terraform the only manager of its grants. Do not execute Navigator SQL alongside Terraform or let a later baseline apply reverse the selected remediation.
| Gate | Review before a human applies |
|---|---|
Create, remediated=false |
Empty initial owned state; independent name-collision check; exact saved from-scratch plan |
Remediate, remediated=true |
Actual saved update/delete plan against current owned state; expected removals; healthy access controls; explicit residuals |
| Cleanup, saved destroy plan | Exactly the owned-state resources, no unrelated resources; independent absence checks afterward |
For each gate, bind independent review and human approval to the saved plan file hash, its variables and the state's lineage/serial. A regenerated plan, changed variables or changed state invalidates approval. Terraform also rejects a stale plan. An offline create-only mock plan cannot approve the live transition or cleanup. The lab translator is finite and create-only, not a generic security guard for arbitrary Terraform plans.
Close the evidence loop
Capture and analyze before the change, then run the native before probe. After human application, capture again, compare findings and run the after probe. Analyst SALES and finance SALES/PAYROLL must still succeed; observer PAYROLL must be denied. Native probe exit 0 is PASS, 1 is an observed access mismatch (FAIL), and 2 is uncertain identity, setup, transport or unsupported diagnostics (ERROR). Do not count ERROR as successful denial. PUBLIC causation requires the grant graph as well as the runtime controls.
After the approved destroy apply, check independently that prefixed databases, roles, users, warehouses and resource monitors are absent. Resolve retention before deleting private state, plans and bindings; retain only the agreed sanitized handoff evidence. A historical cleanup does not authorize another cycle.
Hand off findings, accepted risks, actual approvals and applied changes, post-change results, unresolved ownership/advisories and cleanup status. Keep projected validation separate from captured findings and runtime results. See the architecture and explainer for the same boundary in visual form.
Audience, source and original lineage
Audience: Lee, owner/operator, developer · Reading modes: operator, engineer
Original lineage (not approval of later edits): registry-listed (no candidate packet)
Registry source: content/lee/rbac-operator-guide.md