feat: scan images and uv.lock for vulnerabilities with a triage file and patch-line updates

make scan runs pinned Trivy (by digest, no Docker socket, images as
docker save archives, network none, read-only) over every compose image
and the app image (also secrets in layers) and pinned pip-audit over the
uv.lock groups; every CRITICAL/HIGH image finding, secret and pip-audit
finding needs a triage record (verdict, reason, control, review date)
in infra/scan/triage.toml, otherwise a non-zero exit. Fixable findings
are updated within the patch line after a 7-day quarantine: PostgreSQL
and RabbitMQ rebuilds, Valkey 9.1.4, HAProxy 3.4.7, Loki 3.7.10, Python
3.12.15, certifi, dnspython, black, filelock, virtualenv.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-27 12:48:07 +03:00
co-authored by Claude Opus 5.5
parent 1ea196c38f
commit b6eed88e95
21 changed files with 3007 additions and 70 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# Loki 3.7.9 — хранилище логов (design change otel-telemetry, решение 15).
# Loki 3.7.10 — хранилище логов (design change otel-telemetry, решение 15).
# Монолит из конфигурации образа (/etc/loki/local-config.yaml): filesystem,
# inmemory ring, schema v13 tsdb; плюс срок хранения 7 суток, compactor и без
# отчётов об использовании. Приём — родной OTLP (/otlp) от Collector, метки