As-built record
The Security account as its repository document records it: the scope and operating principles, then the current state, row by row. It is quoted as written; IDs are left out.
Scope and current state
Security is where the organization's detective controls are administered. It is the delegated administrator for every security service HKB uses, so findings from every account land here and master stays a pure control plane.
Nothing runs here except the security services and Control Tower's audit resources. It holds no workloads. The pipeline deploys here only through its Security stage, as hkb-pipeline-security and hkb-pipeline-cfn-security (D71, ADR-0029, DQ-75).
| Account | Created 2026-10-02 by hkb-org-core-accounts in master, before the landing zone, in the Security OU. SCPs attached directly: hkb-scp-deny-root (SCP-09) and FullAWSAccess. Billing, operations and security alternate contacts set. |
|---|---|
| Delegated administration | IAM Access Analyzer, CloudTrail, AWS Config, GuardDuty, Security Hub, Inspector and Macie. |
| GuardDuty | One detector per governed Region (us-east-1, us-west-2), ENABLED, made by the delegated-admin registration on 2026-10-04 and imported into hkb-security-services at step 3.11 (DQ-94). Protection plans: S3 data events, Lambda network logs, EKS audit logs, RDS login events, EC2 malware scans (run only on a finding) and Runtime Monitoring with the EKS and ECS agents, on top of the foundational CloudTrail, DNS and flow-log sources (DQ-155, amending DQ-87; on since 2026-11-10, H-13.8). The EC2 agent stays off: the budget and the NAT instances' 1 GiB of memory don't allow it, so GuardDuty.13 is risk-accepted (DQ-155). AI Protection is off, and so are AI_ANALYST and RDS_DATA_RISK, which AWS lists as new. Organization auto-enable ALL with the same plans (DQ-85, DQ-160); all five other members and master are enrolled in both Regions (master by create-members, DQ-83), status Enabled (S3-02). |
| Security Hub | Central configuration from hkb-security-services (us-east-1): one policy, hkb-security-hub-root, associated with the organization root, and a finding aggregator in us-east-1 linking us-west-2 (DQ-86). The hubs in both Regions are the delegation's and the policy owns them (DQ-90). Every member and master is enrolled (master turned on first, DQ-96). FSBP v1.0.0 and CIS 5.0.0 are READY in all seven accounts and both Regions since 2026-11-06; security.sh services-plan passes Standards=on only while this account's recorder records (DQ-143). Prowler's failed checks arrive as imported findings (TL.3). |
| Inspector | Delegated admin in us-east-1 and us-west-2 (H-13.9, DQ-155). EC2 and ECR scanning on in all seven accounts, master included, and auto-enabled for new accounts (EC2 and ECR only). Lambda standard and code scanning are off, risk-accepted on budget (DQ-155). Set by security.sh inspector, because Inspector's organization settings have no CloudFormation resource. Registering the delegation from the CLI doesn't switch Inspector on in Security itself (the console would, with every scan type), so the script enables EC2 and ECR here first and Lambda never comes on (#301). Status in S7-12. |
| Macie | Delegated admin in us-east-1 and us-west-2 (H-13.10, DQ-155). Macie is on in all seven accounts, master included, and auto-enabled for new accounts. It inventories each bucket and watches its access settings and encryption. Automated sensitive data discovery is off for the organization, risk-accepted on budget ($1 a GB inspected, DQ-155), so Macie doesn't read the objects. Security Hub's Macie.2 control checks for automated discovery, so it fails here by design, under the same accept. Set by security.sh macie, because Macie's organization settings and discovery have no CloudFormation resource. Discovery ran for 9 seconds in us-west-2 before the script turned it off. Status in S7-13. |
| IAM Access Analyzer | hkb-security-external-access-us-east-1 and -us-west-2, type ORGANIZATION, ACTIVE, from the hkb-security-analyzer stack in each Region (step 3.6, D70, ADR-0028). External access only. |
| Security event bus | hkb-security-events in us-east-1 only (DQ-78): the custom event bus, its policy admitting the organization (aws:PrincipalOrgID, DQ-79), the SNS topic hkb-security-events, encrypted by alias/hkb-security-events, and the rule hkb-alert-security-events from bus to topic. The topic's one email subscription takes its address from /hkb/aws/account/security/alert_email, a parameter Kyle created by hand (DQ-80). Deployed by the pipeline's Security stage, 2026-10-21. |
| Event forwarding | hkb-baseline-events instance in both Regions: the rules hkb-forward-root-signin, -iam-high-risk, -cloudtrail and -guardduty, each sending to the us-east-1 bus as hkb-events-forwarder. The same rules run in every member account. |
| Control Tower audit resources | Config aggregation and the security notification topics (aws-controltower-AggregateSecurityNotifications, -AllConfigNotifications, -SecurityNotifications, both Regions), the audit roles aws-controltower-AuditAdministratorRole and -AuditReadOnlyRole, and the Config delivery buckets aws-controltower-config-logs-<account>-* and its access-log bucket. |
| Stacks | hkb-security-services in both Regions (the detectors, and in us-east-1 the Security Hub central configuration; applied by reviewed change sets, H-7.6 to H-7.9); hkb-security-analyzer in both Regions (applied by reviewed change set); hkb-security-events, hkb-security-tools-findings and hkb-tool-prowler in us-east-1 (the pipelines); Control Tower's baseline, security-topics and Config-bucket stacks; StackSet instances of hkb-baseline-account, hkb-baseline-iam and hkb-baseline-catalog (us-east-1), and hkb-baseline-events and hkb-baseline-scanner (both Regions). Termination protection is on for every top-level hkb-* stack (H-13.3, 2026-11-09); StackSet instances and Control Tower's stacks can't take it and are accepted (DQ-156). |
| IAM | No IAM users. OrganizationAccountAccessRole exists because Organizations created the account (hkb-org-core-accounts); it is reachable only from master. HKB roles: hkb-pipeline-security and hkb-pipeline-cfn-security (the Security stage), hkb-pipeline-tools and hkb-pipeline-cfn-tools (the tools pipeline, DQ-127), hkb-events-forwarder and hkb-baseline-account-settings, all under hkb-pipeline-boundary; hkb-tool-prowler under hkb-workload-boundary and its scheduler role hkb-tool-prowler-schedule; hkb-scanner under hkb-scanner-boundary. Identity Center: HKB-ReadOnly and HKB-SecurityOps (SecurityAudit, finding workflow, the log-deletion and unlock deny, 4 h; DQ-77, S3-09). |
| Account baseline | Account-level S3 Block Public Access on, EBS default encryption on in both Regions, the HKB password policy, all from the site floor (DQ-26, DQ-38, DQ-39). SSM document public sharing is blocked (SSM.7) and Automation logs go to CloudWatch (SSM.6) in both Regions (SF-01, 2026-11-09). VPC Block Public Access is block-bidirectional in both Regions, set by the hkb-baseline-account custom resource in any Region without a VPC (DQ-159 A, S7-07). |
| Parameters | 17 /hkb/ parameters in us-east-1 (re-read 2026-11-06): the catalog from hkb-baseline-catalog (D82, DQ-81) and the hand-made alert address (DQ-80). |
| Networking | None. The AWS default VPC was deleted from both Regions on 2026-11-09 (DQ-154, ADR-0053). No NAT gateways, Elastic IPs or instances. |
| AWS Config | Control Tower's aws-controltower-BaselineConfigRecorder is recording in both Regions since 2026-11-06 (step 7.1), last status SUCCESS. Security Hub's FSBP v1.0.0 and CIS 5.0.0 are READY in both Regions, from the central policy (DQ-143). |
| Cost | Usage before credits: $0.83 in October 2026 and $0.40 from 2026-11-01 to 11-05. The organization's month is checked by INV-08 (DQ-133); the model is docs/loop/COST-MODEL.md. GuardDuty and Security Hub left their trials on about 2026-11-03 and bill from there. Inspector adds about $1.40 a month for the organization (COST-MODEL.md) after its 15-day trial ends about 2026-11-25. Macie adds about $1.10 a month ($0.10 a bucket, 11 buckets) after its 30-day trial ends about 2026-12-11. |
Page information
- Owner
- Platform Engineering
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
HKB Security Account.md- Linked from
- Security