Files
mtusi2026lab6/evidence/lab6-final-audit.md
T

2.0 KiB

Lab 6 — final audit

Date: 2026-11-12.

Confirmed fixes from the audit

  1. SLO policy window previously said 30 days while Prometheus retained 7 days. The policy is now explicitly 7 days and has verifiable messenger:slo_*_ratio_7d recording rules.
  2. The skeleton-only CI had no application job. CI now builds the complete Compose stack, waits for readiness, runs the public smoke and telemetry-path tests, prints logs on failure and removes ephemeral volumes.
  3. Histogram calibration was added to guard against seconds/milliseconds and default-bucket mistakes.
  4. govulncheck found 19 reachable vulnerabilities in the original AMQP and image dependencies. github.com/rabbitmq/amqp091-go was upgraded to v1.14.0 and golang.org/x/image to v0.45.0. Fixed transitive versions of grpc, x/net, x/crypto and klauspost/compress removed six additional non-reachable findings.

Verification

  • git diff --check: PASS.
  • git add --dry-run .: .env, secrets/, __pycache__ and build artifacts excluded.
  • Secret scan: no committed local credential value found.
  • go test -race -count=1 ./...: PASS.
  • go vet ./..., go build ./..., go mod verify: PASS.
  • govulncheck -show verbose ./...: PASS; no symbol, package or module vulnerabilities found.
  • Python compileall: PASS.
  • frontend npm ci, npm test, npm run build: PASS; npm reported 0 vulnerabilities.
  • Compose config and all dashboard JSON files: PASS.
  • Prometheus promtool: PASS, 17 rules.
  • Public smoke, grade-4 telemetry regression, grade-5 SLO experiment: PASS.
  • Histogram calibration: PASS; HTTP client/Prometheus p95 3.570/4.910 ms, ready p95 1.013/0.946 s, worker p95 97.5 ms.

Remaining limitations

  • The seven-day SLO policy is locally verifiable but the burn windows are intentionally compressed for the laboratory experiment.
  • No independent human performed the runbook drill; the black-box scenario follows it automatically.
  • Repository shell scripts passed bash -n and ShellCheck 0.11.0 after resolving four SC1007 warnings.