ЛР 7: Безопасность, mTLS и OpenBao
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
2026-12-05 18:23:13 +03:00
parent 20afc2c790
commit e7d7bbbe77
66 changed files with 4865 additions and 81 deletions
+15
View File
@@ -0,0 +1,15 @@
# Заполненная 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 |