ADR-0048 accepted
A read-only scanner is the one cross-account trust into the management account
Context
ADR-0037 says no role in the management account trusts anything in another account, apart from AWS's and Control Tower's own. That rule keeps the pipeline, and the account it runs in, from reaching the account that controls the whole organization.
Prowler, the weekly security scanner, runs in the Security account and reads every account through a role there called hkb-scanner. Many of the CIS checks are about the management account, so it got a scanner role too, made by hand on 2026-11-01. That role trusts Prowler's job in Security. The two decisions were never squared, and the first evidence snapshot after the role existed showed the no-trust check failing.
Decision
- The management account's
hkb-scanneris the one exception to the rule, by name. - The exception holds only while the role trusts exactly Prowler's job role,
hkb-tool-prowlerin Security, and carries its read-only permissions boundary,hkb-scanner-boundary. - Every other role in the management account is held to the original rule.
Consequences
- Prowler keeps scanning the management account: 109 failed findings there on 2026-11-07, and the CIS checks that only apply to it.
- The verifier reads the role's live trust and boundary and fails on any difference, so a widened trust or a dropped boundary shows up the same day.
- The role can read but can't change anything, so ADR-0037's point stands. Nothing outside the management account can deploy into it.
- Prowler's job role in Security now matters more. Whoever controls it can read the management account's configuration.
Alternatives considered
- Delete the management account's scanner and keep the rule absolute. That loses the scan of the most important account.
- Publish the check as a standing failure. A known failure would hide any new trust added later.
LLMs look here
- Records DQ-148 A (Kyle, 2026-11-06). Amends ADR-0037 (D83, DQ-24). Related: DQ-130 item 1 (scan master), DQ-131 (generated scanner boundary), H-6.12 (
hkb-master-scanner, both Regions). - Live trust: one statement,
sts:AssumeRole, principal Security's root, conditionaws:PrincipalArn=hkb-tool-prowler. Policies: SecurityAudit, ViewOnlyAccess and Prowler's additions policy. - Verifier: S2-12's
s2_scanner_okinverify/hkb-verify.shfails on an extra statement, condition or principal, a missing boundary, or a read error. It checks the boundary is attached, andbuild_scanner_policy.py --checkcovers what the boundary says. - First PASS under the exception: the 2026-11-07 evidence snapshot (58 PASS, 0 FAIL, 0 SKIP).