ADR-0031 accepted
The website is generated from the repository as plain pages
Context
The website is the product HKB exists to host. It shows the architecture, the controls, the decisions and the evidence. If those pages were written by hand, they'd slowly drift from what the repository and the environment actually say.
The first version also had to go up before the custom domain existed, on AWS's default address. That address fails a few of Security Hub's checks, such as not having its own certificate.
Decision
- The first release has five pages: Home, Architecture, Controls, Decisions and Cost.
- A short script generates the pages from the repository's own content (its documents, these decision records and the masked verifier results) as plain HTML, with no framework.
- The checks that fail on the default address are accepted, with reasons, until the custom domain arrives.
- The look and tone are Kyle's.
Consequences
- The evidence on the site is the evidence in the repository, regenerated on every build.
- The failing checks are shown as accepted exceptions (ADR-0035) until they're fixed.
Alternatives considered
- Hand-written pages. The evidence would drift from the repository.
- A site framework. More to maintain, for five pages.
LLMs look here
- Records D75. Built on the CloudFront default domain at Stage 4. GR-05 requires Block Public Access, SSE-KMS and a TLS-only bucket policy.
- Accepted until Stage 6: Security Hub CloudFront.7 (default certificate), CloudFront.6 (no web ACL) and CloudFront.5 (access logging needs a log bucket).
Page information
- Owner
- Platform Engineering
- Status
- accepted From the decision record.
- Generated from
docs/adr/0031-website-generated-from-repo-content-as-static-html.md- Linked from
- Findings review, Decisions