docs(oidc): synchronize Run 106 OCI env gate failure in project and operator documentation
This commit is contained in:
1 parent
9dc2aa4b27
commit
fa5917f184
9 files changed
+43
No files matched your search
@@ -197,3 +197,9 @@ Actual [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) confir
|
||||
**Only source changed**: `tests/ci/production_contract/validate.py`, tested `daaa8b259a519ae0290ba28936ef2279b3a9172c`. `secret_target_class(source,target)` classifies known same-name vs exact `/run/secrets/<source>` mounts; `safe_root_owner()` requires root 0 and `safe_readonly_mode()` permits exact 0444 default (decimal 292) if metadata supplied. `diagnose_normalized_service_grants()` prints only known service names, item indices and fixed `OBJECT`/`TARGET_CANONICAL_MOUNT`/`SOURCE_EXPECTED`/permissions safety classes, not values. `service_secret_refs()` now rejects unknown fields, wrong target, unsafe UID/GID/mode, duplicates and sources outside the six-symbolic-secret registry; `validate_compose()` compares **exact per-service count and source set**, not normalizer-dependent ordering. `negative_cases()` preserves 25 original, 4 runtime, 3 replica and 8 deploy malformed cases; adds **8 secret-grant negative cases** for missing, duplicated, extra known from wrong service, unknown source, wrong target, unexpected metadata, unsafe UID and world-writable mode, plus a canonical-target positive case. Exact expected error class is mandatory.
|
||||
|
||||
**All checks executed and PASS in [Run #105](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/105)**: 48/48 negatives, full static positive and manual-only safety. Input raw JSON/env/secret strings never logged by new diagnostics. No source changes to production/login/Account/backend/workflow/Compose, and actual public HTTPS, secret custody/DB recovery, Console/MFA/SSO or deployment remain NOT TESTED.
|
||||
|
||||
## P05-OIDC-10 — imported OCI provenance helpers (CI-only)
|
||||
|
||||
`tests/ci/login_image/provenance.py` new stdlib functions `validate_lock`, `verify_source` (exact tracked `HEAD:auth/ui/v2` Git tree/source Dockerfile/entrypoint/PNPM lock), `pin_dockerfile` (only run-owned temporary Dockerfile FROM replacement), `expected_labels`, `validate_image` (image ID, linux/amd64, USER nextjs, exact entrypoint, source/base labels and allowed env keys), `verify_builder` (OCI base index/arch), `negative_cases` (6 lock tampering + 6 bad OCI image configurations) and `write_material_attestations` (partial source/base SPDX metadata+unsigned JSON in temporary run context). `tests/ci/login_image/build.sh` default original Run #99 behavior remains; new `ZITPLANE_PROVENANCE_CI=1` source-verified pinned builder/runtime and `--verify-image` opt-in. No real secret values printed.
|
||||
|
||||
[Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: `verify_source`, `negative_cases` 12/12, temporary `pin_dockerfile`, entrypoint fix, pinned image packaging and `verify_builder` **PASS**; `validate_image` **FAIL** at `IMAGE_SECRET_ENV_KEY`, before `write_material_attestations`. Its current unanchored `PAT` substring regex can also match `PATH`; actual offending key **UNKNOWN**. No attestation files. Next independent P05-OIDC-10-A01: ONLY this validator source to add value-free fixed key classification, retain secret rejection with token boundaries, plus PATH/true-PAT focused negatives; no other source edits.
|
||||
Reference in new issue
Block a user