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

Starred pages

Pages

Page directory · Labels · [ hides this

As-built record

The Sandbox 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

Sandbox is the first stop of every change the pipeline deploys: Sandbox, then Dev, then Prod, in one run, and a failure here stops the promotion (DQ-27). It is also where the Stage 5 proofs run, inside the tightest guardrails in the organization: SCP-10 on the Sandbox OU denies peering, Transit Gateway attachments, resource shares, public IPs and instance types outside a narrow allowlist, and a $30 budget watches its spend (DQ-34).

Sandbox serves the site on its CloudFront default domain, with X-Robots-Tag: noindex. No URL is shared before hardening is complete (DQ-65).

AccountVended 2026-10-16 through Control Tower Account Factory (hkb-org-account-sandbox in master) into the Sandbox OU. SCPs attached directly: hkb-scp-deny-root (SCP-09) and FullAWSAccess; SCP-10 applies from the OU. Billing, operations and security alternate contacts set.
Budget$30 a month with a linked-account filter, in master's hkb-org-budgets (step 5.3).
Sitehkb-site (deployed by the pipeline as hkb-pipeline-cfn-site): bucket hkb-site-<account> (Block Public Access, SSE-KMS with alias/hkb-site, versioned, TLS-only, readable only by the distribution through an origin access control), the index-rewrite CloudFront Function, the response headers policy with noindex, and an enabled distribution on the CloudFront default domain and certificate. No WAF: CloudFront.6 is accepted on design and budget (DQ-161 A). Pay-as-you-go WAF is about $6 a month per distribution, and the Free plan can't be held in CloudFormation, drops the site's security headers and blocks a delete for up to a billing period. Mitigations: static pages with no forms (ADR-0031), CloudFront's DDoS protection, noindex (DQ-56) and the spend limits (ADR-0046, INV-08).
Deploy roleshkb-pipeline-site, hkb-pipeline-cfn-site, hkb-pipeline-site-sync under hkb-pipeline-boundary, and hkb-pipeline-network and hkb-pipeline-cfn-network under hkb-network-boundary (DQ-110), all from the hkb-baseline-iam StackSet.
Stacks (us-east-1)hkb-site, hkb-vpc, hkb-image, hkb-network; Control Tower's baseline stack; the StackSet instances of hkb-baseline-account, hkb-baseline-iam, hkb-baseline-events (both Regions), hkb-baseline-catalog, hkb-baseline-network, hkb-baseline-scanner (both Regions, the Prowler read role, TL.1) and hkb-baseline-detection-test (DQ-142 B). 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).
IAMNo IAM users. HKB roles beyond the deploy roles: hkb-net-nat, hkb-net-nat-scheduler, hkb-net-flow-logs, hkb-net-image-build and hkb-net-image-lifecycle under hkb-workload-boundary; hkb-detection-test under hkb-detection-boundary, hkb-detection-target under hkb-workload-boundary and hkb-detection-test-schedule (DQ-142 B); hkb-events-forwarder and hkb-baseline-account-settings under hkb-pipeline-boundary; hkb-scanner. Identity Center: HKB-ReadOnly and HKB-SandboxAdmin (step 5.2, DQ-107: PowerUserAccess, and any sbx-* role it makes must carry hkb-sandbox-boundary).
Account baselineAccount-level S3 Block Public Access on, EBS default encryption on in both Regions, the HKB password policy. 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 us-west-2 too, from the hkb-baseline-account custom resource; in us-east-1 hkb-vpc owns the mode and its two exclusions (DQ-158 A, DQ-159 A, S7-07).
Parameters23 in us-east-1: 16 under /hkb/aws/, the catalog from hkb-baseline-catalog (D82, DQ-81); 6 under /hkb/network/, the VPC's IDs for the NAT tier and image builds, and /imagebuilder/hkb/nat_ami_id, the newest NAT image.
Networkinghkb-vpc (10.10.0.0/16, DQ-108): two Availability Zones, a public and a private /24 in each, an internet gateway for the public subnets, one private route table whose default route goes to the NAT instance, and an ALL-traffic flow log to /hkb/network/flow-logs (30 days, DQ-121). It is the only VPC in the account: Control Tower's Account Factory VPC was removed from both Regions on 2026-11-09 (DQ-154, ADR-0053). The default security group has no rules (H-13.5, 2026-11-09, S7-05). VPC Block Public Access is on (DQ-158 A): the private subnets are blocked both ways, and the two public subnets are excluded both ways, because an egress-only exclusion still blocks the NAT instance's return traffic. The first try, with egress-only exclusions, cut the NAT instance off within a minute and was rolled back (#268). Deployed by the platform pipeline through hkb-pipeline-network and hkb-pipeline-cfn-network (DQ-110).
NAT tierhkb-network: one t4g.micro NAT instance (DQ-129; t4g.nano before) in public subnet A, launched with no public IP and given a kept Elastic IP (DQ-118); IMDSv2 only, no key pair, Session Manager only; inbound only from members of hkb-net-nat-clients on 80 and 443 (DQ-119). EventBridge Scheduler starts it weekdays 07:00 and stops it 19:00 Mountain (D19). hkb-nat-patch-scan scans daily at 18:00 UTC, on schedule only, and installs nothing (D76). hkb-image builds its AMI weekly with the DISA STIG Medium component (D94) and keeps the newest two.
Detection testhkb-baseline-detection-test StackSet (TL.8, DQ-142 B): the CodeBuild job hkb-detection-test, first Wednesday at 10:00 Denver, starts one t4g.nano in hkb-private-a, queries GuardDuty's test domain, uses the instance's credentials from outside it, and terminates it. Its role sits under hkb-detection-boundary, the organization's first write-capable boundary. Expect one or two GuardDuty alert emails a month from it. TL-02 checks the finding.
AWS ConfigControl Tower's aws-controltower-BaselineConfigRecorder is recording in both Regions since 2026-11-06 (step 7.1), last status SUCCESS. Continuous, like every other account (DQ-33). Security Hub's FSBP v1.0.0 and CIS 5.0.0 are READY in both Regions, from the central policy (DQ-143).
InspectorEC2 and ECR scanning on, both Regions, from Security as delegated admin (H-13.9, S7-12). Lambda scanning off on budget (DQ-155).
MacieOn in both Regions, as a member of Security's Macie administration (H-13.10, S7-13). It inventories each bucket and watches its access settings and encryption. Automated sensitive data discovery is off, risk-accepted on budget ($1 a GB inspected, DQ-155), so it doesn't read the objects.
CostUsage before credits: $1.88 in October 2026 and $1.59 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.

Page information

Owner
Platform Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
HKB Sandbox Account.md
Linked from
Sandbox