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

Starred pages

Pages

Page directory · Labels · [ hides this

H-6. The management account's own controls

13 manual steps. The rebuild guide explains the columns, the identities and the change-set commands.

# Action Where Identity How Why not code Check
H-6.1 Permission sets, the hkb-admins group and assignments (HKB-SecurityOps on Security and Log Archive once they exist, DQ-77; HKB-SandboxAdmin on Sandbox, DQ-107, after hkb-sandbox-boundary reaches Sandbox through hkb-baseline-iam) master Bootstrap, then MasterAdmin ms hkb-bootstrap-identity DQ-24 S1-05, S2-07, S3-09, S5-01
H-6.2 Switch to HKB-MasterAdmin; Bootstrap-Admin's group is deleted after the first green pipeline run, the permission set at Cleanup (k) master MasterAdmin Identity Center console done once, by design outside a stack (DQ-21) S2-07
H-6.3 Master alerts: topic, key and the rules master MasterAdmin ms hkb-security-master-alerts DQ-24 INV-09
H-6.4 Confirm the SNS subscription email (master alerts) inbox - click "Confirm subscription" in the AWS Notification email email confirmation has no API the subscription is not PendingConfirmation
H-6.5 Budgets ($150 organization, $30 Sandbox) and cost anomaly alerts master MasterAdmin ms hkb-org-budgets (after Sandbox exists: it carries the Sandbox budget); ms hkb-org-cost-anomaly DQ-24 S5-03
H-6.6 Activate the six TAG-01 keys as cost allocation tags, once Billing has seen tagged usage master MasterAdmin org-setup.sh cost-tags apply no CloudFormation resource S4-05
H-6.7 Master's GuardDuty detector, S3 and Lambda protection only, so Security can add master as a member (before H-7.9) master, both MasterAdmin master-stack.sh hkb-master-guardduty plan <region>, then exec <cs> <region> (DQ-83, DQ-84). Never edited afterwards; deleting it needs Security to disassociate master first DQ-24 S3-02
H-6.8 The hkb-component Cost Category (DQ-128): the Component tag first, then untaggable spend by service and account master MasterAdmin ms hkb-org-cost-categories DQ-24 Cost Explorer grouped by hkb-component shows little or nothing as unattributed
H-6.9 Add the Component tag to the stacks GR-03 now checks (DQ-128): tags only, so each change set should show only Tags changes master, Shared Services MasterAdmin, CT-Exec ms hkb-security-controltower-key, ms hkb-security-master-alerts, ms hkb-bootstrap-master-org-cfn, then shared-services.sh foundation-plan; review each (only Tags), then exec DQ-24, and the foundation is outside the pipeline the three keys and the artifact bucket carry Component
H-6.10 Clear a management-account stack whose first create rolled back (ROLLBACK_COMPLETE holds nothing and takes no change set); then plan it again. For hkb-master-config it also takes ROLLBACK_FAILED and first deletes a recorder left behind, if it is not recording master MasterAdmin bash scripts/hand/master-stack.sh <stack> delete-failed [region] DQ-24 the stack is gone; the next plan is a CREATE
H-6.11 Step 7.1, first: master's Config recorder, in the bucket and under the key the members use. Recording starts when the change set runs. Needs Security's Control Tower channel, which the plan reads master, both MasterAdmin master-stack.sh hkb-master-config-role plan, then exec <cs>; then master-stack.sh hkb-master-config plan us-east-1, exec <cs> us-east-1, and the same for us-west-2 DQ-104 A INV-10 with HKB_EXPECT_CONFIG=recording, INV-11
H-6.11 HKB-ReadOnly gains the reads the read-only gaps list named: Account Factory products, pipeline executions, connections, resource types, DNS answers, anomaly monitors, cost dimensions, prices, Run Command invocations, instance console output, and the /imagebuilder/* SSM parameters only master MasterAdmin ms hkb-bootstrap-identity, review (only the HKB-ReadOnly inline policy changes), then exec DQ-24 S1-03 PASS instead of SKIP
H-6.12 Master's Prowler scanner role hkb-scanner under hkb-scanner-boundary (us-east-1), and Security Hub accepting Prowler's findings (both Regions), so Prowler can scan the management account (TL.1, DQ-130, DQ-131) master, both MasterAdmin master-stack.sh hkb-master-scanner plan (us-east-1 first), then exec <cs>; then plan us-west-2 and exec <cs> us-west-2. Rerun after any change to baseline/hkb-baseline-scanner.yaml DQ-24; StackSets can't reach the management account the role exists; securityhub list-enabled-products-for-import lists Prowler in both Regions

Page information

Owner
Platform Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
docs/runbooks/hand-steps.md
Linked from
Rebuild from zero
Plain markdown
/wiki/rebuild/h-6/index.md