docs(oidc): record Run 105 accepted static policy across project and operator guides
This commit is contained in:
1 parent
d7721e9f41
commit
31044ff83c
8 files changed
+43
No files matched your search
@@ -191,3 +191,9 @@ Run #99 confirmed input `644 UID:GID 0:0`, copied output/image executable and ac
|
||||
`tests/ci/production_contract/validate.py::inert_deploy_metadata(key,value)` recognizes **only a finite list of Docker Compose deploy metadata keys**, accepting null/empty structures (including resources with strictly empty `limits`/`reservations`) and rejecting populated deployment behavior, `mode` strings, unknown keys and nonzero or missing replicas. `safe_deploy_shape()` and `diagnose_normalized_deploy()` emit predefined known field names and fixed shape categories, never arbitrary input keys or values. `verify_tracked_zero_replica_fixture()` now validates unchanged synthetic fixture Git blob SHA `930c0b0fbfb518555436acd6f0b4bb3bdd421937` plus exact five source `replicas:0`. Eight hostile extra-deploy negative fixtures added to preserved 25+4+3.
|
||||
|
||||
Actual [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) confirmed `resources: {}` and `placement: {}` on five services, all normalized replicas integer zero, with old `DEPLOY_DISABLED` rejection no longer emitted. **New fail-closed `SERVICE_SECRET_REFS`** came from pre-existing `service_secret_refs()`: it allows string secret entries or restricted dict source/target where `target == source` and then compares expected service grants. The actual normalized grant structure was **not logged**, so a source/target mismatch is only a hypothesis. All 40 negative cases remained NOT EXECUTED. A04 may add value-free per-entry classification and narrowly adapt to actual canonical target if independently verified, without exposing secret values or broadening permissions. No other source/security checks changed.
|
||||
|
||||
## P05-OIDC-08-A04 — secret grant normalization functions and complete negative acceptance
|
||||
|
||||
**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.
|
||||
Reference in new issue
Block a user