latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

ADR-0045 accepted

Sandbox proves the guardrails; the root sign-in check waits for close-out

  • Status: Accepted
  • Date: 2026-10-06

Context

Sandbox is the account where people may experiment by hand, so the plan gave it a stage of its own to prove that its guardrails hold. The original list asked for two proofs that couldn't work as written there.

The first was that root access, the account's all-powerful owner identity, can be borrowed only for one short, audited task at a time. That had already been proven on two other accounts, and running it again in Sandbox would show nothing new. The second was Security Hub's check that the root user has multi-factor sign-in. Security Hub is the service that scores accounts against security standards, and this check reads its data from AWS Config, the service that records every resource's settings. Config recording was paused during the build to save money, so the check could only fail.

The question was what Sandbox's stage should prove instead, and where the root sign-in check should go.

Decision

  • Sandbox's stage proves the things that are specific to Sandbox: the guardrail policy that keeps experiments cheap and contained (by trying actions it should block and confirming they are blocked), the Sandbox spending budget, the hands-on administrator role, and the private network tier.
  • The root borrowing proof isn't repeated.
  • The root sign-in check moves to close-out, once configuration recording is running again.

Consequences

  • Every Sandbox proof can pass when its stage runs, so a failure means something is actually wrong.
  • Between Sandbox's stage and close-out, the root sign-in setting isn't scored by Security Hub. Member accounts have no root password (ADR-0006), so the check matters most in the management account, and close-out checks it there.

Alternatives considered

  • Keep the list as written and let the root sign-in check fail at Sandbox's stage. A known failure in a proof list trains everyone to ignore failures.
LLMs look here
  • Records D73 (DQ-08, Kyle 2026-10-06). Amended by D92: the $30 Sandbox budget (step 5.3) moved to the site floor (DQ-34).
  • Stage 5 proofs: SCP-10 negative tests (step 5.4, S5-02 reads the denials from CloudTrail), the Sandbox budget, HKB-SandboxAdmin (DQ-107 B), the VPC tier. The SCP-09 AssumedRoot proof was done on Log Archive and Security on 2026-10-03 (build plan 4.2).
  • IAM.9 (root MFA) is Config-based; it is checked at step 7.2. Config resumed at step 7.1 on 2026-11-06 (DQ-104 A put a recorder in master, DQ-106 B set the timing, ADR-0040).

Page information

Owner
Platform Engineering
Status
accepted From the decision record.
Generated from
docs/adr/0045-sandbox-proves-the-guardrails-root-mfa-checked-at-close-out.md
Linked from
Decisions