Files
mtusi2026lab7/contracts/trust-matrix-filled.md
T
Artem e7d7bbbe77
Skeleton contracts / contracts (pull_request) Blocked by required conditions
ЛР 7: Безопасность, mTLS и OpenBao
2026-12-05 18:23:13 +03:00

1.7 KiB

Заполненная matrix связей для Lab7 grade 3

Связь Protocol / identity CA / credential Отрицательный тест Результат
Client -> LB HTTPS hostname/SAN, Bearer business auth Public CA; public-server leaf localhost/lb Empty/foreign trust store Rejected
LB -> API HTTPS mTLS, SAN lb/messenger-lb Internal CA; lb.crt/lb.key No cert; foreign/wrong CA; rogue SAN Rejected
API -> PostgreSQL TLS verify-full internal CA; postgres db role Wrong CA/IP SAN Documented/tested TLS config
API/worker -> S3 HTTPS server verify internal CA; MinIO SAN s3; separate MinIO credentials Wrong CA; denied prefix Wrong CA rejected
API/worker -> broker AMQPS verify internal CA; broker SAN broker; broker credentials Wrong broker cert/CA Rejected/TLS logs
API/worker -> Collector HTTP OTLP inside internal network Network isolation; no credentials on telemetry N/A for grade3 external boundary Internal-only
Collector -> Loki/Tempo/Prometheus Internal Docker network Private network; no public host publish N/A for public bypass Internal-only
Grafana -> datasources HTTP within private Docker network Grafana viewer/admin roles Untrusted external UI not public localhost-only port
API/worker -> OpenBao HTTPS verify internal CA AppRole role_id/secret_id; 10m TTL policies API reading worker KV; invalid role Worker secret denied 403
Operator -> services Localhost admin ports/Compose local operator credentials No secrets in Git/telemetry Documented
Redis/Valkey N/A Component not used N/A No selected component