feat: complete lab 7 grade 4 security controls and report

This commit is contained in:
Dmitrii Grishko
2026-11-15 21:58:27 +03:00
parent c5e3ac3aff
commit c69d735692
52 changed files with 1124 additions and 129 deletions
+5 -3
View File
@@ -11,13 +11,15 @@ python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
```
`make test test-security CA_FILE=secrets/tls/lab7-ca.crt`
`make test test-security CA_FILE=secrets/tls/lab7-ingress-ca.crt`
Код завершения: 0.
```text
python3 tests/smoke.py --base-url "https://localhost:8443" --ca-file "secrets/tls/lab7-ca.crt"
python3 tests/smoke.py --base-url "https://localhost:8443" --ca-file "secrets/tls/lab7-ingress-ca.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
python3 tests/security.py --base-url "https://localhost:8443" --ca-file "secrets/tls/lab7-ca.crt"
python3 tests/security.py --base-url "https://localhost:8443" --ca-file "secrets/tls/lab7-ingress-ca.crt"
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
```
Итог: все команды завершились успешно.