lab7: безопасность, mTLS, OpenBao и PKI lifecycle
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
UTC 2026-11-06T13:34:14Z
|
||||
HEAD 77fe98d775fdc07d5f9bfe04f7b4133c96c0849c
|
||||
$ make test
|
||||
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||
$ make test-observability
|
||||
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 scripts/check_evidence.py
|
||||
PASS: evidence has no obvious secrets, signed URLs or bearer tokens
|
||||
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 scripts/lab6_verify.py --base-url "http://localhost:8080"
|
||||
NOTE: created request_id=lab6-verify-015163e6e039495c91258218e57f1a94
|
||||
PASS: lab6 strict telemetry gate (signals, trace/log correlation, labels, Grafana, rules, privacy sentinels)
|
||||
$ make test-slo
|
||||
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 scripts/lab6_track2.py --base-url "http://localhost:8080"
|
||||
Container mtusi-messenger-lab6-postgres-1 Paused
|
||||
Container mtusi-messenger-lab6-postgres-1 Unpaused
|
||||
{
|
||||
"base_url": "http://localhost:8080",
|
||||
"rate": 0.5,
|
||||
"duration_s": 138.01,
|
||||
"scheduled": 70,
|
||||
"counters": {
|
||||
"accepted": 3,
|
||||
"ready": 3,
|
||||
"failed": 61,
|
||||
"messages": 56,
|
||||
"uploads": 3,
|
||||
"dropped": 0
|
||||
},
|
||||
"failures": 61,
|
||||
"failures_by_reason": {
|
||||
"http_503": 61
|
||||
},
|
||||
"failure_samples": [
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/messages: expected [201], received 503",
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/attachments: expected [202], received 503",
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/messages: expected [201], received 503",
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/messages: expected [201], received 503",
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/messages: expected [201], received 503",
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/messages: expected [201], received 503",
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/messages: expected [201], received 503",
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/messages: expected [201], received 503",
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/attachments: expected [202], received 503",
|
||||
"Failure: POST /api/v1/chats/01a1b111-5050-7eb1-b4d5-4a156e2010f4/messages: expected [201], received 503"
|
||||
],
|
||||
"latency_ms": {
|
||||
"p50": 6.7,
|
||||
"p95": 10.8,
|
||||
"p99": 10.8
|
||||
},
|
||||
"ttr_ms": {
|
||||
"p50": 633.4,
|
||||
"p95": 635.1,
|
||||
"p99": 635.1
|
||||
}
|
||||
}
|
||||
alert timeline: /Users/vladislav/Projects/mtusi2026lab6/evidence/lab6/track2/burst-alerts.csv
|
||||
track2 evidence: /Users/vladislav/Projects/mtusi2026lab6/evidence/lab6/track2 load_rc= 1 alerts_rc= 0
|
||||
Reference in New Issue
Block a user