forked from mtusi2026/mtusi2026lab7
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>
Доказательства
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.