From 039d0abece28244b5ab62a54bc6aa448080a62b6 Mon Sep 17 00:00:00 2001 From: Gerrrt Date: Sat, 28 Nov 2026 14:26:26 -0800 Subject: [PATCH 1/2] docs: close the 2026-48 audit re-run's four findings Add INGEST_TOKEN_GANDALF to the observability secrets example, correct the tofu escrow key count, make the compose comments say ten services, and bring the OVERVIEW Dependabot section in line with dependabot.yml. Mark ledger rows f0f7777d3a and e3f55c9e3e fixed. Refs #1805, Refs #1807, Refs #1809, Refs #1810 Co-Authored-By: Claude Opus 5.5 --- .github/OVERVIEW.md | 14 +++++++------- docs/audit/FINDINGS.md | 6 +++--- secrets/README.md | 4 ++-- secrets/observability.example.yaml | 1 + stacks/observability/compose.yaml | 8 ++++---- 5 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/OVERVIEW.md b/.github/OVERVIEW.md index ecda7436f..d662ff874 100644 --- a/.github/OVERVIEW.md +++ b/.github/OVERVIEW.md @@ -56,8 +56,8 @@ difference made in the UI. [`dependabot.yml`](dependabot.yml) watches: -- **Every stack's `compose.yaml`, weekly**, one entry per directory under - `stacks/`. Each bump changes a tag and its digest together, and +- **Every stack's `compose.yaml`, weekly.** Eight stacks share one entry; + `stacks/media` and `stacks/wiki` keep their own. Each bump changes a tag and its digest together, and [`scripts/check_docs.py`](../scripts/check_docs.py) bans image versions in prose, so `compose.yaml` stays the only place a version is written. - **`ansible/`'s and `scripts/`'s Python pins, monthly.** `scripts/` holds @@ -65,12 +65,12 @@ difference made in the UI. - **The OpenTofu provider in `tofu/`, monthly.** - **The workflows' actions, weekly.** -`stacks/soc` and `stacks/scratch` share one entry, so a Wazuh release is one PR -to both: scratch mounts soc's config, and +The shared entry groups bumps so that stacks sharing config move together: +a Wazuh release is one PR to `stacks/soc` and `stacks/scratch`, since scratch +mounts soc's config, and an Alloy, Caddy or socket-proxy bump is one PR per +image covering every directory that pins it. [`scripts/check_image_pins.py`](../scripts/check_image_pins.py) fails an image -that runs another stack's config on a different pin. Alloy, which four stacks -run on observability's `config.alloy`, still arrives as one PR per stack, so -put the bump to all four on one PR. The Packer plugin and the Galaxy +that runs another stack's config on a different pin. The Packer plugin and the Galaxy collections have no Dependabot ecosystem; `digests.yml` reports them weekly. A red Dependabot PR is usually a stale base rather than a bad bump. Ask diff --git a/docs/audit/FINDINGS.md b/docs/audit/FINDINGS.md index ffed38812..89ce37575 100644 --- a/docs/audit/FINDINGS.md +++ b/docs/audit/FINDINGS.md @@ -1,11 +1,11 @@ | id | status | severity | area | first-seen | last-seen | issue | summary | | --- | --- | --- | --- | --- | --- | --- | --- | -| b64e73144b | open | low | stacks observability | 2026-11-28 | 2026-11-28 | #1805 | observability compose.yaml comment says docker compose ps shows nine services; the stack runs ten | +| b64e73144b | fixed | low | stacks observability | 2026-11-28 | 2026-11-28 | #1805 | observability compose.yaml comment says docker compose ps shows nine services; the stack runs ten | | 830b648391 | fixed | low | stacks media | 2026-11-28 | 2026-11-28 | — | media README said stacks/sensitive puts seventeen services behind Caddy; compose has twenty-three | | 4fd953fdfd | fixed | low | stacks observability | 2026-11-28 | 2026-11-28 | — | renderer service (capture profile) in compose.yaml not named in the observability README | -| f0f7777d3a | open | low | scripts-systemd-github | 2026-11-28 | 2026-11-28 | #1799 | .github/OVERVIEW.md digests.yml row omits the cloud image pins its tool-versions job checks | +| f0f7777d3a | fixed | low | scripts-systemd-github | 2026-11-28 | 2026-11-28 | #1799 | .github/OVERVIEW.md digests.yml row omits the cloud image pins its tool-versions job checks | | e8db150ef8 | fixed | low | scripts-systemd-github | 2026-11-28 | 2026-11-28 | — | scripts/README.md check_tool_versions.py row omitted the cloud image pins it checks | -| e3f55c9e3e | open | low | scripts-systemd-github | 2026-11-27 | 2026-11-28 | #1795 | .github/OVERVIEW.md has no rows for cve-scan.yml and wiki-watch.yml | +| e3f55c9e3e | fixed | low | scripts-systemd-github | 2026-11-27 | 2026-11-28 | #1795 | .github/OVERVIEW.md has no rows for cve-scan.yml and wiki-watch.yml | | 77fd409354 | fixed | low | scripts-systemd-github | 2026-11-27 | 2026-11-27 | — | 14 scripts had no row or mention in scripts/README.md | | fb041b8be3 | fixed | low | scripts-systemd-github | 2026-11-27 | 2026-11-27 | — | agent/homelab-range-state had no row in systemd/README.md | | 1a7bc73c1d | private | high | cross-repo wiki contract | 2026-11-26 | 2026-11-26 | — | security finding in cross-repo wiki contract; operator review | diff --git a/secrets/README.md b/secrets/README.md index 769ac6a87..96cac81ba 100644 --- a/secrets/README.md +++ b/secrets/README.md @@ -21,11 +21,11 @@ file on `oracle` readable by uid 1000 alone, and never passes through SOPS: [its README](../stacks/wiki/README.md#the-one-secret) says where and why. **One encrypted file belongs to no stack: `tofu.sops.yaml`.** It is the escrow -copy of `tofu/`'s state passphrase +copy of `tofu/`'s state passphrase and its guest identities file ([ADR-0076](../docs/adr/0076-provision-lab-guests-with-opentofu-and-encrypt-its-state-from-the-first-apply.md)), encrypted on `phoenix` to the catch-all rule's recipients. `phoenix` holds no age key, so it can write the file and cannot read it. Nothing renders it. -`tofu.example.yaml` documents its one key. +`tofu.example.yaml` documents its two keys. **One encrypted file is never committed: `scratch.sops.yaml`.** It is encrypted to the key of `diabolos`, a guest destroyed after every investigation diff --git a/secrets/observability.example.yaml b/secrets/observability.example.yaml index 28f3043c8..4a51d6a5f 100644 --- a/secrets/observability.example.yaml +++ b/secrets/observability.example.yaml @@ -54,6 +54,7 @@ SPEEDTEST_APP_KEY: base64:change-me INGEST_TOKEN_ORACLE: change-me-to-something-long-oracle-0000000000000 INGEST_TOKEN_TRINITY: change-me-to-something-long-trinity-000000000000 INGEST_TOKEN_SARUMAN: change-me-to-something-long-saruman-000000000000 +INGEST_TOKEN_GANDALF: change-me-to-something-long-gandalf-000000000000 INGEST_TOKEN_READER: change-me-to-something-long-reader-0000000000000 # One SNMP community per device, not one shared across all of them. diff --git a/stacks/observability/compose.yaml b/stacks/observability/compose.yaml index a8c0af177..aebc05203 100644 --- a/stacks/observability/compose.yaml +++ b/stacks/observability/compose.yaml @@ -1330,7 +1330,7 @@ services: # --------------------------------------------------------------------------- # Headless renderer for dashboard screenshots. NOT part of the running stack: # it sits behind the `capture` profile, so `make up` neither starts it nor - # pulls it, and `docker compose ps` shows nine services as before. + # pulls it, and `docker compose ps` shows ten services as before. # # It exists because the monitoring host has no browser and Grafana has no # built-in PNG export — screenshots for the README were the one artefact this @@ -1432,7 +1432,7 @@ services: # --------------------------------------------------------------------------- # tar and gzip for scripts/backup-volumes.sh. NOT part of the running stack: # it sits behind the `backup` profile, so `make up` neither starts it nor - # pulls it, and `docker compose ps` shows nine services as before. + # pulls it, and `docker compose ps` shows ten services as before. # # This service is never actually started. It exists so that the image the # backup script runs is pinned in the one place this repository pins images. @@ -1468,7 +1468,7 @@ services: # --------------------------------------------------------------------------- # gitleaks for the secret-scan CI job. NOT part of the running stack: it sits # behind the `scan` profile, so `make up` neither starts it nor pulls it, and - # `docker compose ps` shows nine services as before. + # `docker compose ps` shows ten services as before. # # Here for the same reason `archiver` above is. This one was a version pinned # in ci.yml's env: block — directly underneath the comment saying image @@ -1507,7 +1507,7 @@ services: # --------------------------------------------------------------------------- # actionlint and editorconfig-checker for scripts/lint.sh. NOT part of the # running stack: both sit behind the `lint` profile, so `make up` neither - # starts nor pulls them, and `docker compose ps` shows nine services as before. + # starts nor pulls them, and `docker compose ps` shows ten services as before. # # Here for the same reason `archiver` and `gitleaks` above are. These two were # GitHub Actions — raven-actions/actionlint and From 129c822b3cba2b25ed9e55616be465287118feab Mon Sep 17 00:00:00 2001 From: Gerrrt Date: Sat, 28 Nov 2026 15:18:57 -0800 Subject: [PATCH 2/2] docs(audit): carry the focus 3-5 ledger rows from #1808, #1811 and #1812 Those three PRs changed only docs/audit/FINDINGS.md and conflicted with each other on it. Their four rows land here instead; the three this PR fixes are marked fixed, as is b64e73144b from #1806. Co-Authored-By: Claude Opus 5.5 --- docs/audit/FINDINGS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/audit/FINDINGS.md b/docs/audit/FINDINGS.md index 89ce37575..553e6d9d4 100644 --- a/docs/audit/FINDINGS.md +++ b/docs/audit/FINDINGS.md @@ -1,5 +1,9 @@ | id | status | severity | area | first-seen | last-seen | issue | summary | | --- | --- | --- | --- | --- | --- | --- | --- | +| 965778131d | fixed | low | scripts-systemd-github | 2026-11-28 | 2026-11-28 | #1807 | .github/OVERVIEW.md Dependabot section says one entry per stack and one Alloy PR per stack; dependabot.yml shares one entry across eight stacks and groups Alloy | +| bc4669b371 | fixed | medium | secrets tofu packer | 2026-11-28 | 2026-11-28 | #1810 | secrets/observability.example.yaml lacks INGEST_TOKEN_GANDALF, which render-config.sh and compose require | +| 539596a23f | fixed | low | secrets tofu packer | 2026-11-28 | 2026-11-28 | #1809 | secrets/README.md says tofu.example.yaml documents one key; it documents two | +| 6ce6eec68d | private | high | cross-repo wiki contract | 2026-11-28 | 2026-11-28 | — | security finding in cross-repo wiki contract; operator review | | b64e73144b | fixed | low | stacks observability | 2026-11-28 | 2026-11-28 | #1805 | observability compose.yaml comment says docker compose ps shows nine services; the stack runs ten | | 830b648391 | fixed | low | stacks media | 2026-11-28 | 2026-11-28 | — | media README said stacks/sensitive puts seventeen services behind Caddy; compose has twenty-three | | 4fd953fdfd | fixed | low | stacks observability | 2026-11-28 | 2026-11-28 | — | renderer service (capture profile) in compose.yaml not named in the observability README |