17 lines
3.0 KiB
Plaintext
17 lines
3.0 KiB
Plaintext
suite=lab7-openbao-lifecycle passed=True checks=12/12 captured_at=2026-11-26T15:57:06Z
|
|
|
|
[PASS] BAO-1-NONDEV-HEALTH (openbao_posture): OpenBao is initialized, unsealed, and reachable over verified HTTPS -> status=200 health={'initialized': True, 'sealed': False, 'standby': False, 'performance_standby': False, 'replication_performance_mode': 'disabled', 'replication_dr_mode': 'disabled', 'server_time_utc': 1795708615, 'version': '2.4.4', 'cluster_name': 'vault-cluster-d1ad89c9', 'cluster_id': '2c9926d7-9617-595e-7270-2dc84e65f6eb'}
|
|
[PASS] BAO-2-RAFT-NONDEV (openbao_posture): OpenBao runs non-dev mode with persistent Raft volume (openbao-data:/openbao/file) -> non_dev=True, raft_vol=True, hcl_raft=True
|
|
[PASS] BAO-3-NO-ROOT-PERSISTED (openbao_posture): Initial root token revoked and zero root/unseal files in repo or workload containers -> no persisted root token file (revoked at bootstrap); repo_leaks=[]
|
|
[PASS] BAO-4-OPERATOR-AND-ROGUE-AUTH (openbao_auth): Operator mTLS cert authenticates; trusted-CA rogue-client rejected by auth/cert -> operator=200, rogue=400
|
|
[PASS] BAO-5-API-POLICY-MATRIX (openbao_policy): messenger-api reads ONLY secret/data/messenger/api and is denied worker/migrator/admin/sys/auth -> login=200 policies=['api-policy'] ttl=300s own=200 wrk=403 mig=403 adm=403 pol=403 cert=403 cross=400
|
|
[PASS] BAO-6-WORKER-POLICY-MATRIX (openbao_policy): messenger-worker reads ONLY secret/data/messenger/worker (no Redis/metrics) and is denied api/migrator/admin/sys -> login=200 policies=['worker-policy'] ttl=300s own=200 api=403 mig=403 adm=403 pol=403 seal=403 cross=400 no_redis_metrics=True
|
|
[PASS] BAO-7-SECRET-ROTATION-NO-REBUILD (secret_rotation): Live API DB password rotation increments KV version, rejects old password (28P01), keeps API serving without image rebuild -> same_image=True secret_version_before=1 secret_version_after=2 old_password_rejected=True api_serving=True
|
|
[PASS] BAO-8-LEAF-CERT-ROTATION-NO-REBUILD (cert_rotation): Live API leaf cert rotation changes presented TLS serial without image rebuild or downtime -> serial_before=1003 serial_after=1016 disk_serial=1016 same_image=True ext_ok=True
|
|
[PASS] BAO-9-CERT-REVOCATION-NEW-CONN (cert_revocation): Revoked client cert rejected on BRAND-NEW TCP+TLS connection (no TLS session resumption) -> pre=200 post_status=None post_err=ECONNRESET
|
|
[PASS] BAO-10-TOKEN-REVOKE-AND-REAUTH (token_lifecycle): Revoked OpenBao token fails immediately (403) and service re-authenticates via auth/cert -> ttl=300s pre=200 revoke=204 post=403 reauth=200 after=200
|
|
[PASS] BAO-11-SEALED-BOUNDED-BEHAVIOR (sealed_recovery): When OpenBao is sealed, running API stays bounded (0 restarts) and cold login fails closed (503) -> sealed=True, api_ok=True, cold_fail_closed=True
|
|
[PASS] BAO-12-RESTART-SEALED-AND-MANUAL-UNSEAL (sealed_recovery): Restarted OpenBao boots sealed, manual scripts/openbao-unseal.sh restores Raft state & API health -> booted_sealed=True, unsealed=True, ver_before=2, ver_after=2, api_ready=True
|
|
|
|
summary={"base_url": "https://localhost:8443", "openbao_url": "https://localhost:8200"}
|