Files
mtusi2026lab7/evidence/auth_acl.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

12 lines
1.0 KiB
Plaintext

10:06:50 PASS acl_outsider eve: 404 on chat/history/metadata/content/variant/post, cannot attach a foreign file
10:06:50 PASS identity_spoofing forged X-User-Id ignored; without Bearer 401; Basic on business endpoint 401
10:06:50 PASS logout revoked token: 401 on ['api-1', 'api-2']
10:06:50 session expires_at moved to the past in PostgreSQL; the Valkey cache entry lives at most 30 s
10:07:22 PASS expiry expired session: 401 on ['api-1', 'api-2'] after the 30 s cache bound
10:07:23 PASS rehash stored m=8192,t=1,p=1 -> m=19456,t=2,p=1 after a successful login
10:07:23 PASS size_limits JSON 70 kB -> 413 (payload_too_large), upload > 10 MiB -> 413
10:07:23 PASS rate_limit_user 5 failures on ['api-1', 'api-2'] -> 429 Retry-After=60s even with the right password
10:07:24 PASS rate_limit_ip per-IP limit: 429 after 107 attempts from one address
10:07:24 waiting for the rate-limit window to expire so that later tests are not affected
PASS: acl_outsider, identity_spoofing, logout, expiry, rehash, size_limits, rate_limit_user, rate_limit_ip