forked from mtusi2026/mtusi2026lab7
127 lines
3.8 KiB
Plaintext
127 lines
3.8 KiB
Plaintext
Clean checkout of upstream mtusi2026/mtusi2026lab7, commit 20afc2c.
|
|
Isolated Compose project, public HTTPS port 18443.
|
|
PASS OpenAPI 3.1 and JSON Schema; official contract and public tests match upstream.
|
|
PASS CI workflow YAML; startup, HTTPS smoke and cleanup steps.
|
|
PASS Compose: three loopback publications, non-root and read-only APIs and worker, cap_drop ALL.
|
|
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
|
|
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
|
|
{"hostname_mismatch": "PASS", "acl": "PASS", "logout": "PASS", "expiry": "PASS", "argon2_rehash": "PASS", "login_attempt_statuses": [401, 401, 401, 401, 401, 401, 401, 401, 429, 429], "replica_count": 2}
|
|
PASS LB → 2 API: valid client; none/foreign CA/wrong identity/hostname denied
|
|
PASS RabbitMQ EXTERNAL + ACL: api/worker allowed, unknown identities/roles/plaintext denied
|
|
PASS Collector mTLS, backend role ACL, scrape/Grafana mTLS, localhost-only plaintext hops
|
|
PASS OpenBao scopes & renewal, PostgreSQL verify-full and worker DB ACL, S3 prefix ACL
|
|
PASS Grafana queries over mTLS: request in Loki and Tempo, Prometheus scrape up; secret canaries absent
|
|
PASS 40,008,000 decoded pixels rejected; 40,000,000 decoded pixels processed, bytes preserved
|
|
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
{"observed_instances_before": 2, "successful_writes": 104, "failed_attempts": 1, "first_recovery_seconds": 4.989}
|
|
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
{"jobs_with_verified_original": 3, "old_key_before": "ok", "old_key_after": "InvalidAccessKeyId", "new_key": "ok", "seconds": 22.54}
|
|
{
|
|
"offered_rps": 8,
|
|
"max_concurrency": 24,
|
|
"phase": {
|
|
"warmup": {
|
|
"seconds": 10.003,
|
|
"counts": {
|
|
"200": 80
|
|
},
|
|
"success_rps": 8.0,
|
|
"error_pct": 0.0,
|
|
"success_p50_p95_p99_ms": [
|
|
14.26,
|
|
22.19,
|
|
26.2
|
|
]
|
|
},
|
|
"baseline": {
|
|
"seconds": 8.002,
|
|
"counts": {
|
|
"200": 65
|
|
},
|
|
"success_rps": 8.12,
|
|
"error_pct": 0.0,
|
|
"success_p50_p95_p99_ms": [
|
|
15.64,
|
|
22.28,
|
|
23.28
|
|
]
|
|
},
|
|
"trust_overlap_and_cutover": {
|
|
"seconds": 6.425,
|
|
"counts": {
|
|
"200": 51
|
|
},
|
|
"success_rps": 7.94,
|
|
"error_pct": 0.0,
|
|
"success_p50_p95_p99_ms": [
|
|
14.57,
|
|
22.47,
|
|
30.63
|
|
]
|
|
},
|
|
"short_leaf_expiry": {
|
|
"seconds": 12.716,
|
|
"counts": {
|
|
"200": 77,
|
|
"expired_certificate": 25
|
|
},
|
|
"success_rps": 6.06,
|
|
"error_pct": 24.51,
|
|
"success_p50_p95_p99_ms": [
|
|
11.84,
|
|
22.92,
|
|
26.5
|
|
]
|
|
},
|
|
"leaf_renewal": {
|
|
"seconds": 5.574,
|
|
"counts": {
|
|
"expired_certificate": 3,
|
|
"200": 41
|
|
},
|
|
"success_rps": 7.36,
|
|
"error_pct": 6.82,
|
|
"success_p50_p95_p99_ms": [
|
|
12.74,
|
|
20.49,
|
|
22.18
|
|
]
|
|
},
|
|
"sealed_bao": {
|
|
"seconds": 31.918,
|
|
"counts": {
|
|
"200": 223,
|
|
"503": 33
|
|
},
|
|
"success_rps": 6.99,
|
|
"error_pct": 12.89,
|
|
"success_p50_p95_p99_ms": [
|
|
14.08,
|
|
21.34,
|
|
33.03
|
|
]
|
|
},
|
|
"lease_recovery": {
|
|
"seconds": 8.03,
|
|
"counts": {
|
|
"503": 7,
|
|
"200": 57
|
|
},
|
|
"success_rps": 7.1,
|
|
"error_pct": 10.94,
|
|
"success_p50_p95_p99_ms": [
|
|
11.96,
|
|
20.7,
|
|
23.43
|
|
]
|
|
}
|
|
},
|
|
"old_ca_only": "denied",
|
|
"expired_detected_after_s": 9.7,
|
|
"plaintext_after_expiry": "denied",
|
|
"leaf_recovery_after_s": 0.484,
|
|
"sealed_to_first_503_s": 28.91,
|
|
"unseal_to_first_200_s": 0.989,
|
|
"previous_session_message_and_attachment": "verified"
|
|
}
|