Commit graph

269 commits

Author SHA1 Message Date
b269e729fd Merge pull request 'sops: decrypt on every Flux Kustomization + static guard against the silent ENC[...] trap' (#66) from wt/t_0fe36052 into master 2026-11-27 05:57:53 +00:00
Lance Walters
eea80f475e sops: decrypt on every Flux Kustomization + static guard
`spec.decryption` is opt-in per Flux Kustomization, and a secret-*.sops.yaml
under a tree without it is still valid YAML: Flux applies the Secret with
literal ENC[AES256_GCM,...] values and reports success. The Secret is green and
wrong, and the first symptom is an auth failure days later that looks nothing
like a git problem. Only `apps` and `monitoring` had the block; the other six
trees were a trap for the next person to add a Secret there.

- add decryption: {provider: sops, secretRef: sops-age} to cert-manager,
  databases, gateway-api-crds, infrastructure, logging and flux-system
  (8/8 Kustomizations now decrypt; harmless where no encrypted files exist)
- scripts/check-sops-decryption.py + `make check-sops`: static guard that reads
  the live sync path from gotk-sync.yaml, walks each Kustomization's kustomize
  resource graph, and fails when a *.sops.yaml file is under a tree whose owner
  cannot decrypt, is under no reconciled tree, or is not actually encrypted
  (also catches `flux bootstrap` regenerating gotk-sync.yaml without the block)
- .gitattributes marks *.sops.yaml with diff=sopsdiffer; docs/secrets-sops.md
  explains the opt-in trap, the eight Kustomizations and the guard

No secret contents, recipients or keys touched.
2026-11-27 00:57:31 -05:00
44a765452b Merge pull request #65: contact APIs: pin the F13 images 2026-11-27 05:57:29 +00:00
Sirius DevOps
0e738be671 contact APIs: pin the images carrying the F13 bounded _hits fix
All three contact APIs were still running the pre-F13 tree: unbounded
per-IP _hits deque and an unvalidated X-Real-IP limit key.

- siriusdevops-contact:467b087 (CI run 64 at the F13 merge 467b087)
- sirius-growth-contact:97cfa4f (main head = F13 merge 3042edc + the
  deploy-contact buildx fix f3a9cae; run 126 job 2074)
- phs-contact:0446be8 (main head = F13 merge bd64105 + buildx fix
  0d6d5e3 + the phs Telegram HTML fix 64f1b5b; run 126 job 2075)

The two latter merge shas had no image: their build failed on
'could not obtain buildx' until the workflow fix, so the pinned tags are
the current heads, which contain the F13 tree.
2026-11-27 00:57:17 -05:00
2fbea59ddc Merge pull request 'fix(logging): build the audit line from a JMESPath allowlist (pack leaks _entry)' (#64) from wt/t_34ddaa83 into master 2026-11-27 05:56:11 +00:00
Lance Walters
78f94ab85e fix(logging): build the audit line from a JMESPath allowlist, never pack the raw record
stage.pack embeds the original line under `_entry`, so the first cut wrote
responseObject.data (plaintext secrets) into Loki anyway. Replace pack with a
single JMESPath multi-select hash + stage.output: the emitted line contains
exactly the allowlisted keys and nothing else, with proper JSON escaping.
Verified end-to-end against a synthetic record carrying data.password using
loki.echo: 0 occurrences of the value, labels resource/verb still present.
2026-11-27 00:56:07 -05:00
e9dbbbfbcd Merge pull request 'docs(hubble): record the measured post-change numbers as-read (F10)' (#63) from docs/hubble-event-loss-numbers into master 2026-11-27 05:54:21 +00:00
Lance Walters
fbae50530a docs(hubble): record the measured post-change numbers as-read (F10)
Memory table now uses the 34 min steady-state sample (333.8/297.1/213.1 MiB
against 330.2/309.1/194.5 before the roll), and the verification block carries
the actual 30 min window result: rate and increase both 0 on all three nodes,
counters flat at 31/31/30 for 30 min with the linode and siriussec rings 100%
full.
2026-11-27 00:54:14 -05:00
50ee0d23f4 fix(f6): re-own the actions cache for the uid-1000 runner (#62) 2026-11-27 05:52:49 +00:00
fee8e90831 Merge pull request 'fix(logging): sourceIPs[0] in the audit JMESPath' (#61) from wt/t_34ddaa83 into master 2026-11-27 05:52:06 +00:00
Lance Walters
d65296c92a fix(logging): sourceIPs[0] in the audit JMESPath (Alloy stage.json uses JMESPath, not GJSON) 2026-11-27 00:52:02 -05:00
9f07d3330c Merge pull request 'audit(policy): drop bodies for secret reads, keep them for writes' (#60) from t_d1275a3a-secret-read-metadata into master 2026-11-27 05:49:32 +00:00
88f3fe1cd0 Merge pull request 'infra(logging): ship kube-apiserver audit log with secret bodies stripped' (#59) from wt/t_34ddaa83 into master 2026-11-27 05:49:15 +00:00
Lance Walters
09faa710c7 audit(policy): drop bodies for secret reads, keep them for writes
The log was a second plaintext copy of every secret that had been read: of 3,527
secret events on the live log, 2,574 carried .data in responseObject (1,606 were
plain get). A get is fully described by objectRef + user + sourceIPs +
responseStatus; the body adds a credential and no forensic value, and root reading
the root-only log produces no audit event at all.

- rule 4a: secrets get/list/watch -> Metadata
- rule 4b: secrets create/update/patch/delete/deletecollection -> RequestResponse
  (the tampering verbs; the body there is the evidence)
- everything else untouched: pods/exec, tokenreviews, RBAC/cert writes, proxies

docs: rule table, read/write rationale, sensitivity + purge notes.
2026-11-27 00:49:13 -05:00
Lance Walters
fef71a280a infra(logging): ship kube-apiserver audit log with secret bodies stripped
t_104f62a6 made the apiserver audit log live on siriussec:
/var/log/kubernetes/audit/audit.log, mode 600 root, ~2.2 GB/day, rotated by the
apiserver itself (100 MB x 48, compressed). A pod-log collector never sees a
host file, so Alloy gets a read-only hostPath mount for that directory.

The file MUST NOT be shipped verbatim: at level=RequestResponse every
'get secrets' record carries responseObject.data — the plaintext secret.
The shipper therefore parses each record and re-emits a packed allowlist
(level, stage, verb, user, objectRef.*, responseStatus.code, sourceIPs[0],
userAgent, auditID, requestURI, requestReceivedTimestamp). requestObject and
responseObject never reach Loki; unparseable lines are dropped by stage.json
rather than passed through.

Nothing in that directory is written or pruned by the collector: the
apiserver's own 4.8 GB / 7-day rotation stays the only thing pruning it.
2026-11-27 00:49:07 -05:00
a8534bae42 fix(f6): fix-data-perms must run as root; PSA labels for logging + cnpg-system (#58) 2026-11-27 05:48:40 +00:00
da5530200e Merge pull request 'fix(forgejo): restore the initContainers key #54 lost (unblocks the apps Kustomization)' (#57) from fix/runner-arm64-initcontainers into master 2026-11-27 05:46:40 +00:00
c1d29ad87a fix(forgejo): restore the initContainers key #54 lost, unblocking the apps Kustomization
#54 (secops F6) inserted the new fix-data-perms init container at the
tolerations list indentation instead of under an initContainers key, and dropped
the key itself. YAML still parsed (a list item with name/image/... is just a
malformed toleration), so the merge was green, but the API rejects it:

  Deployment.apps "forgejo-runner-arm64" is invalid:
  spec.template.spec.tolerations[1].operator: Invalid value: "": operator must
  be Exists when key is empty

That failed the dry-run of the whole apps Kustomization, so nothing in
apps/home could be applied at all - including any secret rotation - until it was
fixed. Nothing was pruned or broken in the cluster: the rejected revision never
applied.

Restores the initContainers: key above the block; the container's own body is
untouched, so F6's intent (re-own the PVC as 1000:1000 instead of chmod 666 on
the dind socket) is preserved.

Verified: the file parses to tolerations=[dedicated/Equal/network/PreferNoSchedule],
initContainers=[fix-data-perms], containers=[dind, runner]; server-side dry-run of
this Deployment succeeds; server-side dry-run of all 116 non-Secret objects in
apps/home reports no errors.
2026-11-27 00:46:30 -05:00
35610c8d13 Merge pull request 'infra(logging): drop osint scrapy item payloads so 8 days fits the PVC' (#56) from wt/t_34ddaa83 into master 2026-11-27 05:45:51 +00:00
Lance Walters
4a933a0403 infra(logging): drop osint scrapy item payloads so 8 days fits the PVC
Measured during a crawl (2026-11-27 04:45-05:45Z): osint/news-scraper produced
~150 MB/h, 88 % of it one JSON item dump per crawled article (up to 4.7 kB per
line, the same rows are in the osint Postgres DB). At the observed 2.9x
compression that is ~10 GB over 192h and would not fit the 8Gi PVC, so drop
exactly those lines by prefix for that one container. Operational lines
(INFO/WARNING/ERROR, tracebacks, duplicate-URL warnings) still ship.

docs/logging.md: document the drop rule and the two measured regimes.
2026-11-27 00:45:42 -05:00
ec6e7436c0 Merge pull request 'docs(secrets-sops): sops-age exclusion + tested audit query' (#55) from secrets/sops-docs into master 2026-11-27 05:43:26 +00:00
3d6c8b4855 docs(secrets-sops): record flux-system/sops-age as an exclusion and add a tested audit query
* sops-age is the one Secret that by definition cannot be in git; it was missing
  from the exclusion table even though the key-location table covers it.
* replaces the placeholder reconciliation snippet with one that was actually run:
  it prints 77 live = 35 in git + 42 excluded, matching the table line for line,
  with nothing in git absent from the cluster.
2026-11-27 00:43:20 -05:00
cb387a8121 secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
9822647bf9 Merge pull request #53: osint: pin app image to amd64-6066ac8e0d6c 2026-11-27 05:41:22 +00:00
Lance Walters
584036631d osint: pin app image to amd64-6066ac8e0d6c (PR #71, openapi adminSession scheme)
The FastAPI app now publishes components.securitySchemes.adminSession
(apiKey/in:cookie/osint_session) and stamps security on every documented
operation from auth.is_public(). Merged as 6066ac8e0d6c in
sirius/osint-dashboard (PR #71); CI pushed
forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-6066ac8e0d6c
(digest sha256:bf5f3d4ffbb7ae8cbe54fcf5f5b81cd5a1815d8abf9e042c2804f5a2d207ae6c).

The live /openapi.json keeps advertising no securitySchemes until this tag
is running, which is what F17 flagged.
2026-11-27 00:41:02 -05:00
8619a8f07d Merge pull request 'infra(logging): Loki single-binary + Alloy DaemonSet with 192h bounded retention (F4)' (#52) from wt/t_34ddaa83 into master 2026-11-27 05:37:13 +00:00
Lance Walters
179257d8fb infra(logging): Loki single-binary + Alloy DaemonSet, 192h bounded retention (F4)
No log store existed: pod logs were kubelet files on the node and died with the
pod (~8h deepest history for a busy workload). Adds:

- Loki 3.7.1 single-binary (1 Deployment + 8Gi local-path PVC on siriussec),
  retention_period 192h with the compactor deleting on filesystem, ingest rate
  limits, so the store is time- and rate-bounded.
- Alloy 1.13.0 DaemonSet (all nodes, no RBAC, no API access) shipping
  /var/log/pods, /var/log/journal and the Pi's docker json logs. File sources
  read from byte 0 and stamp the timestamp from the line, so the history the
  nodes already held (18d cilium on linode, 31d registry on rpi) landed on day
  one instead of starting the 7-day clock at deploy time.
- Grafana datasource (uid loki) via the existing sidecar, ServiceMonitor,
  ingest-rate guard rule.
- docs/logging.md with the measured bytes/day, the 8-day projection and the
  runbook.

Measured: ~360-502 MB/day raw -> ~90 MB/day compressed, 192h -> <=0.8GiB, on a
node with 103GiB free (house floor 32GiB). Verified 7-day-old lines return for
kube-system cilium-agent and for the siriussec/linode journals, and survive a
Loki pod restart (PVC).
2026-11-27 00:36:56 -05:00
d7de2674a2 Merge pull request 'secrets: add the four monitoring SOPS files (F12 part 2, fix)' (#51) from secrets/sops-fix into master 2026-11-27 05:36:29 +00:00
6a506a37c6 secrets: add the four monitoring SOPS files their kustomization already lists (F12 part 2, fix)
#50 added monitoring/controllers/home/kustomization.yaml entries for
secret-grafana-admin / secret-grafana-secret-key / secret-alertmanager-telegram /
secret-cluster-backup-ssh but the four ciphertext files were not staged, so
kustomize build failed with 'no such file or directory' on the first entry and the
monitoring Kustomization went BuildFailed/ProgressingWithRetry (nothing was
applied or pruned — a failed build leaves the last applied state untouched —
so Grafana/Alertmanager never stopped).

Adds the missing files. Each was generated from the live object and decrypts to a
byte-identical data map, so the apply is a no-op.
2026-11-27 00:36:23 -05:00
b22239a6aa Merge pull request 'secrets: SOPS the backup SSH key + monitoring's hand-made Secrets (F12 part 2)' (#50) from secrets/sops-part2 into master 2026-11-27 05:30:37 +00:00
a4cc2d87bc secrets: SOPS the backup SSH key and monitoring's hand-made Secrets (F12, part 2)
Completes F12 on the objects deliberately held back until the delete-and-reconcile
drill on siriusdevops/siriusdevops-contact had proved the path works (it did:
deleted 05:29:03Z, recreated by Flux 05:29:05Z, byte-identical, pod restarted off
the recovered Secret and /health 200 — see docs/secrets-sops.md).

* cluster-backup-ssh in forgejo, sirius-growth and monitoring — three files, one
  plaintext ed25519 key: a Secret cannot cross namespaces and each backup
  CronJob mounts its own namespace's copy, so all three must exist and all three
  must be rotated together.
* monitoring/grafana-admin, monitoring/grafana-secret-key and
  monitoring/alertmanager-telegram, which are the *inputs* the prometheus-operator
  and Grafana consume; the operator's rendered prometheus-*/alertmanager-* objects
  stay excluded (a second writer would fight it).
* monitoring Kustomization gains the same sops decryption block as apps.

All six files were generated from the live objects and decrypt to a byte-identical
data map and type, so this apply is a no-op.
2026-11-27 00:30:24 -05:00
f2c6de0ccb Merge pull request 'controlplane: audit — full bodies for secret writes, metadata only for list/watch' (#49) from controlplane/apiserver-audit into master 2026-11-27 05:28:27 +00:00
Lance Walters
2c7eab2b0b controlplane: audit — full bodies for secret writes, metadata only for list/watch
Measured on the live cluster: the 22.8 GB/day burst was driven by `list secrets`
(1.9 MiB per event — every secret in the namespace) and by helm-controller
rewriting its release blobs. Only list/watch give up their bodies now, so
"who rewrote this secret, and to what" stays reconstructable; steady state is
0.79 GB/day / ~420 events/min, i.e. ~6 days inside 48 x 100 MiB.

Re-verified after the change: create secret (server dry-run) records
requestObject.data; get/patch behave the same.
2026-11-27 00:28:24 -05:00
7e5c9233ec Merge pull request 'docs: Hubble event-loss root cause, ring-depth change and the detector gate (F10)' (#48) from docs/hubble-event-loss into master 2026-11-27 05:25:41 +00:00
Lance Walters
6b44c2adf9 docs: Hubble event-loss root cause, ring-depth change and the detector gate (F10)
Records why hubble_lost_events_total{source="hubble_ring_buffer"} was
climbing with nothing dropped (backwards ring walk in getFlowRate hitting the
read boundary, cilium#46584), the 16383 capacity that covers the 60 s walk at
the 24 h peak on every node, the measured memory delta per node, the one-node-
at-a-time rollout, and the gate contract that a 30 min window with any loss may
not be reported as clean — with the alert/recorder names that enforce it.
2026-11-27 00:25:32 -05:00
ce13f756f9 Merge pull request 'docs(registry): rotate/add registry pull secrets through SOPS' (#47) from docs/registry-sops into master 2026-11-27 05:23:05 +00:00
1647f35ce0 docs(registry): rotate/add-namespace via the SOPS files, not kubectl
PR #45 landed the forgejo-pull Secrets as SOPS ciphertext in git while this doc
still described them as out-of-band. A kubectl apply of a new Secret is now
reverted by the next apps reconcile, so the rotation and add-a-namespace
recipes go through the encrypted file. Also records that the registry-reader
token is non-expiring and that a rotated value is picked up on the next pull.
2026-11-27 00:22:56 -05:00
5646572eaf Merge pull request 'controlplane: enable kube-apiserver audit logging (audit F1)' (#46) from controlplane/apiserver-audit into master 2026-11-27 05:20:37 +00:00
Lance Walters
f9d2594fe9 controlplane: enable kube-apiserver audit logging (audit F1)
The apiserver ran with no --audit-* flags at all: secret reads, pods/exec,
RBAC writes and serviceaccounts/token minting left no record anywhere.

- /etc/kubernetes/audit/audit-policy.yaml: RequestResponse for secrets
  get/write, pods/exec|attach|portforward, serviceaccounts/token, rbac.*,
  certificates.*, impersonate; Metadata for list/watch/update of secrets and
  for everything else (that split is what keeps 22.8 GB/day down to 2.5).
- static-pod flags: --audit-policy-file, --audit-log-path (JSON, 100 MiB x 48,
  maxage 7, compressed) + hostPath mounts for the policy dir and the log dir.
- install-audit.sh: idempotent, byte-identical re-application after a
  kubeadm upgrade silently regenerates the manifest (Flux does not own it).
- docs/kube-apiserver-audit-logging.md: design, measured volume, sensitivity
  (the log holds secret bodies), verify commands and rollback.
2026-11-27 00:20:29 -05:00
566834b5fb Merge pull request 'secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12)' (#45) from secrets/sops into master 2026-11-27 05:18:28 +00:00
c8f0834886 secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12)
Nothing in the cluster was reconciled from the repo: 67 hand-made Secrets and no
managed Secret at all, so a restore of this Git tree produced a cluster that would
not start. This commits the first-party ones as SOPS/age ciphertext and enables
Flux's sops decryptor.

* provider: SOPS + age (chosen over SealedSecrets: Flux already ships the sops
  decryptor, so no extra controller/CRD, and the age key is escrowed off-cluster).
* 29 Secrets across forgejo, siriusdevops, piedmont, sirius-growth, osint,
  metabase and customer1, as apps/base/<ns>/secret-<name>.sops.yaml with
  encrypted_regex ^(data|stringData)$ — names/namespaces stay reviewable.
* each file was generated from the LIVE object and decrypts to a byte-identical
  data map and type, so the first apply is a no-op (not a rotation).
* the CNPG bootstrap secrets (forgejo-pg-app, pg-app, sirius-growth-portal-db)
  are ours, not operator output — bootstrap.initdb.secret points at them, so a
  rebuild has no application password without them.
* forgejo-pull is included despite docs/registry-pull-auth.md calling it
  out-of-band: with imagePullSecrets on every workload it is the one Secret whose
  absence stops the whole cluster from pulling images.
* .gitignore keeps **/*secret*.yaml ignored and re-includes only .sops.yaml, so a
  plaintext Secret still cannot be committed; age.agekey stays ignored.
* excluded on purpose (controller/helm-owned): CNPG *-server/*-replication/*-ca,
  cnpg-system CA+webhook, cert-manager webhook CA, cilium/hubble certs, helm
  release records, prometheus-operator rendered prompts. Full table in
  docs/secrets-sops.md.

Key locations (never in git): Secret flux-system/sops-age (age.agekey) and
/root/sops/homek8s-age.key on the Linode, reached only over the mesh.
2026-11-27 00:18:14 -05:00
43353e9aa0 Merge pull request 'networking(hubble): deepen the event ring to 16383 flows and gate detection on loss (F10)' (#44) from netsec/hubble-event-loss into master 2026-11-27 05:17:26 +00:00
Lance Walters
8f98509c8f networking(hubble): deepen the event ring to 16383 flows and gate detection on loss (F10)
hubble_lost_events_total{source="hubble_ring_buffer"} was climbing at a
constant 12/min on siriussec (72,529 cumulative) and ~4/min on linode with
nothing dropped: Ring.read() synthesises a HUBBLE_RING_BUFFER lost event when
a backwards walk reaches the ring's read boundary, and getFlowRate() walks a
full minute on every hubble status / 5 s health probe / UI request. At
siriussec's ~80 flows/s the 4095-event default only holds ~51 s, so every
probe hit the boundary (cilium#46584).

16383 holds >= 60 s at the 24 h peak on every node (linode 196 flows/s ->
83 s, siriussec 101/s -> 161 s, rpi 38/s -> 431 s), so the walk exits on the
timestamp check instead. Ring accepts 2^n-1 only.

Also wire the sensor gate: recorders hubble:lost_events_increase_30m /
hubble:flows_processed_increase_30m, alert HubbleFlowWindowIncomplete when a
30 min window has any loss (a lossy window may not be reported as clean),
HubbleFlowLossMaterial above 0.1% of processed flows, and
HubbleFlowSensorMissing when the counters disappear entirely.
2026-11-27 00:16:47 -05:00
99cc3313f2 Merge pull request 'registry(auth): require authentication for image pulls (F11)' (#43) from fix/registry-anon-pull into master 2026-11-27 05:15:38 +00:00
bc942e2571 registry(auth): require auth for image pulls (audit F11)
Forgejo 16 mints an anonymous ("ghost user") registry token on /v2/token and
grants it Read on every package regardless of repo visibility, so all 18 app
images were world-downloadable — including images of private repos
(siriusdevops-site, phs-site, sirius-growth-*, sgs-leadgen).

* FORGEJO__service__REQUIRE_SIGNIN_VIEW=true: /v2/token answers UNAUTHORIZED
  to anonymous clients, anonymous manifests get 401. This is the documented
  switch in routers/api/packages/container (Authenticate) and
  services/context/package.go (determineAccessMode). Side effect: the Forgejo
  web UI/API becomes login-only for anonymous visitors.
* imagePullSecrets: [forgejo-pull] on all 18 workloads that pull from the
  registry (osint, piedmont, sirius-growth, siriusdevops). The
  kubernetes.io/dockerconfigjson Secret is per-namespace and out of band
  (never in git); docs/registry-pull-auth.md documents why, how to recreate
  it, and the verification commands. No containerd-level credential.
2026-11-27 00:15:20 -05:00
cea26863ec monitoring(alertmanager): enable the alert sink and wire the 33 PrometheusRules (F5) (#42) 2026-11-27 05:09:49 +00:00
Lance Walters
da045ab093 monitoring(alertmanager): enable an alert sink and wire the 33 PrometheusRules (F5)
Alertmanager was disabled in values.yaml, so every PrometheusRule on the
cluster evaluated into nothing: 5 alerts were firing at audit time,
including PrometheusNotConnectedToAlertmanagers.

- alertmanager.enabled: true, 1 replica pinned to siriussec, small
  resource caps, operator mounts Secret monitoring/alertmanager-telegram
  (created out of band; never in git).
- Receiver: Telegram @Siriusdevops_alert_bot chat 7528130947. This is the
  dedicated alert bot, NOT the Hermes gateway bot, so alerts cannot loop
  back into the agent.
- Routing: default -> telegram; Watchdog and InfoInhibitor -> null
  blackhole (Watchdog fires forever by design), severity=info -> null.
  Chart-default inhibit_rules kept.
- Prometheus alerting is generated by the chart from alertmanager.enabled,
  so prometheus.spec.alerting now points at the new StatefulSet/Service.
- Retention untouched: 7d / 8GB.
2026-11-27 00:09:40 -05:00
d874d4afaf fix(networking): make the public gateway :8080 WireGuard-only (F2) (#41) 2026-11-27 05:09:33 +00:00
Lance Walters
181266d7d4 fix(networking): make the public gateway :8080 WireGuard-only
Finding F2 of the 2026-11-27 cluster netsec audit: cilium-envoy on siriussec
binds gateway-system/public on 0.0.0.0:8080, so anyone on 192.168.1.0/24 could
`curl -H 'Host: forgejo.siriusdevops.com' http://192.168.1.179:8080/` and get
Forgejo (and every public site) over plain HTTP — no Cloudflare TLS, WAF, rate
limits or bot protection, and credentials on the wire inside the LAN. Live:
200 / 14609 B before this change.

The `internal_gw` nft table that already makes 8081/8084-8087 WG-only simply
did not list 8080. Add it to all three rules (lo, mesh+pods, drop), and to the
rpi ufw guard so a future `gateway=true` relabel on the Pi cannot re-open it.

Nothing legitimate needs the LAN path: cloudflared runs on rpi and connects to
10.10.0.2:8080 from 10.10.0.1 over the mesh (`ss` on siriussec shows
`10.10.0.1:* -> 10.10.0.2:8080 ESTABLISHED`), which the 10.10.0.0/24 accept
covers. 10.244.0.0/16 stays accepted for in-cluster probes.

Verified both polarities: LAN 192.168.1.179:8080 -> timeout/DROP (from two
vantage points), mesh 10.10.0.2:8080 -> 200 for all five public hostnames, and
all five public URLs still 200 through Cloudflare.
2026-11-27 00:09:14 -05:00
ac19ffb340 Merge pull request 'apps(secops): scoped read-only auditor SA + ClusterRole (F8)' (#40) from apps/secops-auditor into master 2026-11-27 05:08:28 +00:00