Commit graph

294 commits

Author SHA1 Message Date
Sirius DevOps
989a0997fb feat(ci-runners): run the deploy runner in a Kata microVM (staged)
The CI capsule cannot enforce PSA baseline: every nested dockerd needs
SYS_ADMIN+NET_ADMIN in the pod spec and baseline forbids exactly those, which
sysbox, gVisor and Kata all reproduce (measured on both arches, card
t_8aa4af50). What a runtime CAN change is what privileged:true means.

Stage 1, one runner: forgejo-runner-deploy-arm64 (rpi) gets
runtimeClassName: kata-qemu, so its privileged dind and job containers run
inside a QEMU/KVM microVM instead of on rpi's host namespaces. The amd64 and
shared arm64 runners stay on privileged dind under runc, untouched.

Kata-specific plumbing in the same Deployment:
- loop-backed ext4 data-root (16GiB image on the existing claim) because
  overlayfs refuses virtiofs and Docker would silently fall back to vfs;
- binfmt_misc + tonistiigi/binfmt --install amd64 on every start, because the
  guest kernel has no qemu handlers and deploy-site.yml cross-builds amd64;
- the runner waits for /var/run/dind-ready (touched after both are set up).

RuntimeClass kata-qemu is cluster-scoped; the containerd handler lives on rpi
only (/etc/containerd/conf.d/50-kata.toml, kata-static 4.4.0). Rollback is one
field. docs/pod-security.md records the measurement and states plainly that the
namespace stays enforce: privileged.
2026-11-27 02:08:47 -05:00
65b16a82ab Merge pull request 'docs(gateway): fix the rotation filename in the access-log doc' (#78) from wt/t_e662b03a into master 2026-11-27 07:03:21 +00:00
Lance Walters
42bde72f26 docs(gateway): name the real kubelet rotation pattern (n.log.<ts>, not n.log.1)
Observed 2026-11-27T07:02:56Z: 3.log 10,528,075 B -> 3.log.20261127-020256, 29.3 min after the
first access line (28.6 min projected). A plain *.log glob misses rotated files, so the verify and
parse commands use *.log*.
2026-11-27 02:03:14 -05:00
8a2972c57c Merge pull request 'docs(gateway): record the access-log fields, measured volume and rotation window (F7)' (#77) from wt/t_e662b03a into master 2026-11-27 06:56:31 +00:00
Lance Walters
f03f171b34 docs(gateway): record the access-log fields, measured volume and rotation window
Live numbers from a 19.6-minute window after enabling F7: 641 B/line, 9.54
lines/s, 528 MB/day raw (274 MB/day at the 5-day average), 1.008 lines per
request. kubelet's default 10Mi x 5 gives 28.6 min per file / ~2.4 h total at
the measured rate (50 MiB hard cap = 0.023% of the 213.5 GiB root); Loki stores
the same traffic at 12.6x compression (42 MB/day, ~340 MB for 192 h), so the
kubelet default is kept.

Also records the wedge that made the first apply look inert: the operator's
gateway controller had failed to init during an earlier apiserver restart, so
GatewayClassConfig changes produced nothing until the operator was restarted.
2026-11-27 01:56:21 -05:00
Lance Walters
3dae4d06a9 refactor(monitoring): one CI_RUNNERS_NS constant for the forgejo-runners pod panels
The runner pod/PVC/Deployment targets on the forgejo-runners board belong to
namespace ci-runners (the CI capsule moved there so forgejo can enforce PSA
baseline), while the cnpg_actions_* queue/jobs targets belong to the forgejo
*database*. aec63c4 fixed the namespace by hand in eight places; this replaces
those literals with one CI_RUNNERS_NS constant fed into RUN, the replicas_ready
stat and the dind PVC stat, and documents the two-namespace split in
docs/monitoring-dashboards.md so the next move is a one-line change.

Regenerated with build.py: forgejo-runners.yaml is byte-identical to the
committed file (no behaviour change, no other board touched). Note the name is
CI_RUNNERS_NS, not RUNNER_NS - RUNNER_NS is already the Loki selector
constant in this script.

validate_panels.py against Prometheus: 55/55 targets OK, 0 empty. On this
board: Runner pods Ready=3 (1 series), restarts 6 series over the three pods,
CPU/mem/net 3 series each, dind PVC 20Gi.
2026-11-27 01:37:39 -05:00
81d35955aa Merge pull request 'infra(gateway): enable Envoy HTTP access logs for the Cilium GatewayClass (netsec F7)' (#76) from wt/t_e662b03a into master 2026-11-27 06:30:59 +00:00
Lance Walters
1caaae9a63 infra(gateway): enable Envoy HTTP access logs for the Cilium GatewayClass
Finding F7: cilium-envoy emitted no request-level record, so the netsec
design's application-layer rules had no input stream.

CiliumGatewayClassConfig kube-system/cilium binds spec.telemetry.accessLogs
(JSON, HTTP target) to the cilium GatewayClass via spec.parametersRef, so
Cilium renders an access log into every Gateway listener's HTTP connection
manager and writes one JSON line per request to the cilium-envoy container
stdout (/var/log/pods/kube-system_cilium-envoy-*/cilium-envoy/*.log).

Fields are an explicit allowlist: method, path, response code/flags, duration,
bytes, authority, CF-Connecting-IP (real client, since Envoy is hostNetwork
behind cloudflared), X-Forwarded-For, peer, User-Agent, CF-Ray, upstream host.
No bodies, no header dumps: Authorization/Cookie never reach disk. Application
log level stays info (no debug/trace).
2026-11-27 01:30:39 -05:00
588c17a3e4 Merge pull request 'monitoring(forgejo): make the actions_runners metric duplicate-proof' (#75) from wt/t_290ff037 into master 2026-11-27 06:29:35 +00:00
Lance Walters
466161f87a monitoring(forgejo): make the actions_runners metric duplicate-proof
The CNPG exporter answers the whole /metrics request with HTTP 500 when a
custom query emits two rows with the same series name + label set, which
also drops every pg_stat_*/cnpg_pg_* series (Prometheus target down).

action_runner held three rows named siriussec-amd64 (one live, two
soft-deleted tombstones from the runner renames), so
cnpg_actions_runners_last_online_seconds was collected twice and the
endpoint returned 500.

- WHERE r.deleted IS NULL -> ignore Forgejo's soft-deleted runner rows.
- GROUP BY r.name with max(last_online) -> the label is the name, so a
  duplicate name can never produce a duplicate series again; reporting the
  most recent poll per name is the intended semantic.
- label cnpg.io/reload -> the instance manager re-reads the queries on
  change instead of needing a pod restart (or kubectl cnpg reload) before
  a query fix takes effect.
2026-11-27 01:29:18 -05:00
f625fcfc05 Merge pull request 'monitoring(logs): a readable Loki — Logs dashboard + provisioning-reload fix' (#74) from wt/t_050d5bb8 into master 2026-11-27 06:23:31 +00:00
Lance Walters
6b91152a79 monitoring(logs): a readable Loki — Logs dashboard + provisioning-reload runbook
The log store shipped in t_34ddaa83 but nothing could read it: the Loki datasource
ConfigMap was live and written into Grafana's provisioning volume, and Grafana still
listed only Prometheus + Alertmanager. Root cause was not the ConfigMap. The
datasource sidecar writes the file and then POSTs
/api/admin/provisioning/datasources/reload with monitoring/grafana-admin, which was
401-ing because Grafana's DB password had drifted from that Secret (the documented
"the Secret is only the seed" behaviour) — Grafana reads provisioning/datasources
only at startup, so the datasource never loaded.

- Reset the live admin password to the Secret's value (in-pod `grafana cli
  admin reset-admin-password`, value read from the Secret and never printed), so
  seed and DB match again and the sidecar's reload returns 200. Documented in
  docs/grafana-persistence.md, including the sidecar consequence of drift.
- New generated dashboard `logs` (uid: logs) with the two queries worth having:
  secret access over time by user from the apiserver audit stream, and pod errors
  by namespace, plus the runner namespaces and a note panel on field names.
- The audit stream's names are the Alloy allowlist's, not the audit event's:
  objectRef.resource arrives as the stream label `resource` and user.username as
  the field `user`. `| json | objectRef_resource="secrets"` returns 0 rows
  (measured); the panels use `resource="secrets"` in the selector + `| json` for
  the user dimension. No pipeline, retention or filter change.
- Runner panels discover their namespace via a `runner_ns` variable
  (.*(runner|forgejo).*) instead of pinning one name, so the t_2bbe34a8 move to
  ci-runners needs no edit here.
- validate_panels.py now dispatches on the target's datasource and queries Loki
  for `loki` panels (a logs panel must return rows, not just series).
2026-11-27 01:23:05 -05:00
2ae67faf98 Merge pull request 'ci(runners): name the CI capsule ci-runners; privileged warn/audit' (#73) from wt/t_2bbe34a8-rename into master 2026-11-27 06:21:07 +00:00
Lancelot
aec63c4d56 ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
Renames the namespace introduced in #72 (`forgejo-runners` -> `ci-runners`) per
the orchestrator decision on card t_2bbe34a8, and sets the capsule's
warn/audit levels to `privileged` alongside `enforce: privileged`: everything
in it is allowed by design, so restricted-level warnings on every pod restart
would be noise, and the intent is explicit in Git rather than implied.

Storage is the same three PVs, rebound again by name (Retain + cleared
claimRef), so the runner registration uuids, dind image sets and action caches
survive: verified before/after (uuids 91124ee3/4e07c1e9/a41aad73, image counts
19/2/31, canary files intact). Monitoring selectors and docs follow the new
namespace; the Grafana dashboard keeps its `forgejo-runners` uid.
2026-11-27 01:20:56 -05:00
77041b35ac Merge pull request 'ci(runners): isolate the CI capsule in forgejo-runners, enforce baseline on forgejo' (#72) from wt/t_2bbe34a8 into master 2026-11-27 06:15:44 +00:00
Lancelot
3d21e96a9c ci(runners): isolate the CI capsule in forgejo-runners, enforce baseline on forgejo
The three Actions runners (privileged dind sidecars) and the nightly prune
CronJob (hostPath /var/run/docker.sock) cannot live under PSA baseline, so
they move to their own namespace `forgejo-runners` with `enforce: privileged`
(plus warn/audit restricted). That lets `forgejo` — Forgejo, CNPG Postgres,
cluster-backup — enforce `baseline` instead of only warning.

The dind sidecars stay privileged: measured on these nodes, a non-privileged
pod cannot host a container runtime (cgroup fs is mounted ro; rootless dind
cannot mount procfs; procMount=Unmasked needs hostUsers=false where subuid
maps and /dev/net/tun are refused). See docs/pod-security.md.

- PVCs/PVs are reused, not recreated: the two static Retain PVs on rpi and the
  dynamic local-path PV on siriussec were rebound by name, so runner.ini
  (registration uuid), the dind data-root and the actions cache survive.
- prune CronJob + its SA/Role/RoleBinding/configmap move with the runners;
  NAMESPACE and the Role scope follow.
- monitoring: runner/prune queries and runbooks now select forgejo-runners;
  cnpg_actions_* panels keep namespace="forgejo" (that is the pg namespace).
- docs: pod-security.md rewritten for the two enforced namespaces.

Verified live: all three runners 2/2 Running in forgejo-runners with their
original registration uuids and image counts, forgejo rejects a privileged pod
at admission, and a real CI image build completes (see the card).
2026-11-27 01:15:07 -05:00
0fdd918875 Merge pull request #71: netsec(collector): gzip on rotate so 960 MiB holds ~72-100 h of flows 2026-11-27 06:10:18 +00:00
Lance Walters
7e42ad6d1c netsec(collector): gzip on rotate so 960 MiB holds ~72-100 h of flows
The collector wrote 150 MiB plaintext files into a directory capped at 960 MiB,
which bought only ~4-5 h of retention at the measured 4.5-6.2 GB/day
(3380-4280 kB/min) of filtered Hubble JSONL — the cap was sized for a forensic
window, not for hours.

Compress on rotate; no schema change, no filter change, no DS argument change:

* the file being appended stays plain `flows-<ts>-<n>.jsonl` (one file for a
  reader to tail);
* on rotation the closed file is gzip'd to `.jsonl.gz` through a temp name +
  atomic rename, in the background, so a reader never sees a partial archive and
  the flow reader never stalls (stalling it makes the agent drop events);
* prune bounds the WHOLE directory at MAX_TOTAL_BYTES = 960 MiB — archives and
  in-flight `.gz.tmp` included — deleting oldest first, and never reaps the live
  file nor a file whose gzip is still running (that would discard the archive
  and lose the entire file);
* MAX_FILES now bounds plain files only. Applying it to the archives is exactly
  what would keep retention at a few hours.

Measured on this node's live data 2026-11-27: 18.53x ratio at gzip -9
(17.85x at -6), i.e. 960 MiB holds 72.6 h at the 6.16 GB/day burst sample,
92 h at 4.87 GB/day and ~100 h at the 4.48 GB/day 55-minute average.

Verified offline against a replaying fake `hubble` (rotation->archive parity,
gzip -t on every archive, atomicity, oldest-first prune, live-file and in-flight
protection) and inside the real cilium image under dash (23 rotations -> 23
valid archives, no loss).
2026-11-27 01:09:57 -05:00
9979cf5e49 Merge pull request 'ci(runners): re-own the actions cache recursively' (#70) from ci/t_29249bf0-runner-cache-reown 2026-11-27 06:08:56 +00:00
sirius
a6499bf1c2 ci(runners): re-own the actions cache recursively so uid-1000 jobs stop dying in checkout
The fix-data-perms init container guarded a chown -R behind a TOP-LEVEL owner
check (`stat -c %u /data/.cache`). /data/.cache was already 1000 while the git
pack files inside it were still root:root from the pre-uid-1000 runner, so the
guard skipped exactly the file that matters and every job on that runner died
in actions/checkout, before a single step:

  open /data/.cache/act/actions-checkout@v4/.git/objects/pack/pack-ba0cccfe….pack:
  permission denied

That is a 3 s red X with zero steps on a push (websites run 1430, card
t_29249bf0). chown the three trees the runner writes recursively instead
(cache/, .cache/, runner.ini); /data/docker stays root-owned and unwalked.

Also document the Recreate consequence: a template rollout SIGKILLs in-flight
jobs and Forgejo reports them as a plain failure with the log cut off mid-step
(sirius-growth push run 1422: 14 min red, log ending at 'Fetching the
repository').
2026-11-27 01:08:34 -05:00
464b9822b0 Merge pull request 'docs(logging): audit source, corrected measurements, pitfalls, acceptance evidence' (#69) from wt/t_34ddaa83 into master 2026-11-27 06:06:14 +00:00
Lance Walters
e307f9dfd2 docs(logging): audit source, corrected measurements, pitfalls and acceptance evidence
- audit log section: allowlist fields, the two-retention-policies note, and the
  05:52-05:58 UTC incident (stage.pack leaked _entry; fixed, purged by wiping
  the PVC and resetting positions).
- measurements: 7.0x compression on the fresh store; two regimes (quiet 360
  MB/day, osint crawl 3.2 GB/day raw) -> <=3.7 GiB over 192h against an 8Gi PVC.
- pitfalls that cost real time: alloy validate does not catch component build
  errors, stage.json is JMESPath, stage.pack keeps _entry, file source needs an
  explicit timestamp stage, alloy positions path permissions.
- acceptance evidence: the real 7-day lines, per-source retained depth (incl.
  the honest 5d9h pod-log ceiling) and the restart test.
- alert threshold: 200 kB/s (was 12 MiB/s, which was ~50x too lax to mean
  anything against an 8Gi PVC).
2026-11-27 01:06:11 -05:00
cf8863df5c infra(garage): let cluster pods on rpi reach the S3 endpoint (#68) 2026-11-27 06:01:32 +00:00
3241eaba1c Merge pull request 'docs(audit): record the read/write split evidence and the pre-split purge' (#67) from t_d1275a3a-secret-read-metadata into master 2026-11-27 05:58:40 +00:00
Lance Walters
723462f390 docs(audit): record the read/write split evidence and the pre-split purge
Live proof from the fresh audit.log after the apiserver reload (policy 9f07d333):
263 read verbs all Metadata with 0 responseObject/0 data, 76 write verbs all
RequestResponse with requestObject; plus the throwaway-probe create/patch/update/
delete ladder. Documents the purge: pre-split files (39 MB .gz + 15 MB moved live
file) deleted, oldest remaining file is the fresh audit.log.
2026-11-27 00:58:12 -05:00
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