forked from mtusi2026/mtusi2026lab7
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:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user