Files
mtusi2026lab7/evidence/lab7-clean-start.txt
T
2026-11-24 14:04:04 +03:00

21 lines
1.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
python3 tests/smoke.py --base-url "https://localhost:28443" --ca-file "certs/ca.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
python3 tests/security.py --base-url "https://localhost:28443" --ca-file "certs/ca.crt"
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
./scripts/audit_transport.sh
PASS isolation: plaintext listeners и локальные control ports недоступны по сети
PASS TLS LB → API: 2 реплики, верный LB, без cert, чужой CA, неверный SAN
PASS TLS Collector: API/worker/dispatcher разрешены, same-CA чужая роль 403, no-cert/foreign-CA deny
PASS TLS telemetry: start-to-end ingest/scrape/query и запреты между ролями
PASS TLS OpenBao: сертификат и TTL, отдельные paths, запрет чтения/редактирования
PASS TLS PostgreSQL: verify-full, раздельные роли, operator-only DDL, plaintext/чужой cert deny
PASS TLS RabbitMQ: SASL EXTERNAL/CN, API queue deny, чужая роль или cert не авторизуются
PASS TLS S3: проверка CA/hostname, worker write только originals/*
PASS TLS Valkey: verify-full, ACL session:*
python3 scripts/check_telemetry.py --base-url "https://localhost:28443" --grafana-url "https://localhost:23007" --ca-file "certs/ca.crt"
SIGNALS trace=05b4095b057eefc04290292f6c9e58e8 request_id=8c5b0a4e6d117c9759c4390b9dee1436 spans=24 metrics=16 panels=17
PASS telemetry: Grafana требует вход; Loki, Tempo и Prometheus доступны без утечек
python3 scripts/check_hardening.py
PASS hardening: 18 сервисов, 3 non-root API/worker с resource limits
PASS fresh bootstrap + migrations + HTTPS + verified TLS channels