feat: complete lab 7 grade 4 security controls and report
This commit is contained in:
@@ -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.
|
||||
```
|
||||
|
||||
Итог: все команды завершились успешно.
|
||||
|
||||
Reference in New Issue
Block a user