docs(oidc): synchronize Run 106 OCI env gate failure in project and operator documentation

This commit is contained in:
victorsteele428 committed 2026-11-23 17:49:36 +00:00
1 parent 9dc2aa4b27
commit fa5917f184
9 files changed
+43

No files matched your search

+4
View File
@@ -129,3 +129,7 @@ Historical [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) `S
## P05-OIDC-09 — interpreting accepted synthetic CI without misdiagnosing production
If the product is not reachable on proposed `auth.vib.tools`/`account.vib.tools`, **do not assume** Gitea [Run #105](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/105) created DNS records, certificates, a running ZITADEL or user. It validated only `docker compose config` against a **non-deployable** zero-replica fixture; 48/48 invalid cases rejected as designed. [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) did perform real imported Login browser OIDC **only on disposable private localhost CI**; its temporary custom image was cleaned. For live incidents, verify only in a separately approved production scope: signed image identity/base, current security scan, actual TLS/issuer, Host+forwarded rewriting, h2c Console, OIDC callback/cookies, secret expiry, IAM_OWNER break-glass and encrypted matching-key backup. **Do not reset the master key, delete named volumes, flip global LoginV2 or alter production DNS as an exploratory check.** Full STOP/rollback matrix and separate phase plan in [P05-OIDC-09](P05-OIDC-09.md).
## P05-OIDC-10 — pinned OCI build succeeds but final image secret-env guard rejects it
Single [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106), tested `6ba004808ef47c8856c1a7906faaf7ee807d15a6`, built immutable source/pinned base temporary imported Login image and verified executable `0755` entrypoint + nonroot probe, but emitted `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` after builder image index match, **before** `materials.spdx.json` and unsigned attestation were written. **Actual environment variable name is UNKNOWN** because logs intentionally avoid raw image/env output. Existing regex checks unanchored `PAT` substring, which can also match harmless `PATH`, but do not assume it without evidence. Never bypass the guard, dump `docker inspect` or expose secret env values. Next A01 (needs separate approval) can log only known safe key names/classes and use strict segment-aware PAT/TOKEN/SECRET matching, with explicit PATH acceptance and actual credential-key rejection fixtures. The `always()` cleanup PASS removed run-owned builder, app image and context; runner removed its temporary container/volumes/network. Original accepted Run #99/105 unaffected; no production deployment; [operator report](P05-OIDC-10.md).