Files
mtusi2026lab7/evidence/persistence.txt
T
alenchha 861e7722b5
Skeleton contracts / contracts (pull_request) Canceled after 0s
Application stand (lab7) / stand (pull_request) Canceled after 0s
ЛР 7 — БВТ2301 — Курлова — на 4
Перенесён минимум lab6 (API без изменений), добавлена защита на границах доверия:
- внешний HTTPS; обязательный mTLS LB -> API с allowlist identity и отзывом по serial;
- TLS на всех связях: PostgreSQL verify-full, MinIO HTTPS, RabbitMQ AMQPS mTLS (EXTERNAL),
  Valkey TLS + ACL, Collector и хранилища телеметрии через mTLS с отдельными CA;
- OpenBao в server mode: cert auth, токены 15 мин, политики только на свой путь;
- роли БД, S3-политики и права брокера по принципу минимальных прав;
- Argon2id с замером, rehash, общий лимит входа, бюджет защиты от login DoS;
- hardening всех контейнеров, scan образов с разбором, модель угроз, матрица доверия;
- отрицательные тесты: TLS-аудит (135 проверок), ACL, ротации, sealed OpenBao.
2026-11-16 10:49:13 +03:00

37 lines
1.7 KiB
Plaintext

# 2026-11-11T08:09:52Z scripts/restart.sh
$ docker compose ps (before)
mtusi-lab7-api-1-1 Up 51 minutes (healthy)
mtusi-lab7-api-2-1 Up 51 minutes (healthy)
mtusi-lab7-grafana-1 Up About an hour (healthy)
mtusi-lab7-loki-1 Up About an hour (healthy)
mtusi-lab7-minio-1 Up About an hour (healthy)
mtusi-lab7-nginx-1 Up 43 minutes (healthy)
mtusi-lab7-openbao-1 Up About a minute (healthy)
mtusi-lab7-otel-collector-1 Up 42 minutes
mtusi-lab7-postgres-1 Up About an hour (healthy)
mtusi-lab7-prometheus-1 Up About an hour (healthy)
mtusi-lab7-rabbitmq-1 Up 40 minutes (healthy)
mtusi-lab7-tempo-1 Up About an hour (healthy)
mtusi-lab7-valkey-1 Up About an hour (healthy)
mtusi-lab7-worker-1 Up 50 minutes (healthy)
mtusi-lab7-worker-2 Up 51 seconds (healthy)
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
$ docker compose ps (after)
mtusi-lab7-api-1-1 Up 2 seconds (health: starting)
mtusi-lab7-api-2-1 Up 1 second (health: starting)
mtusi-lab7-grafana-1 Up 4 seconds (health: starting)
mtusi-lab7-loki-1 Up 2 seconds (health: starting)
mtusi-lab7-minio-1 Up 7 seconds (healthy)
mtusi-lab7-nginx-1 Up 2 seconds (health: starting)
mtusi-lab7-openbao-1 Up 7 seconds (healthy)
mtusi-lab7-otel-collector-1 Up 4 seconds
mtusi-lab7-postgres-1 Up 7 seconds (healthy)
mtusi-lab7-prometheus-1 Up 4 seconds (health: starting)
mtusi-lab7-rabbitmq-1 Up 6 seconds (healthy)
mtusi-lab7-tempo-1 Up 4 seconds (health: starting)
mtusi-lab7-valkey-1 Up 7 seconds (healthy)
mtusi-lab7-worker-1 Up 1 second (health: starting)
mtusi-lab7-worker-2 Up 1 second (health: starting)