docs(oidc): record custom Login entrypoint RCA in developer architecture maps
This commit is contained in:
1 parent
e5778ead56
commit
54a6c163f7
5 files changed
+30
No files matched your search
@@ -151,3 +151,9 @@ Existing `tests/ci/security_advisory_gate.py` remains the independent **live reg
|
||||
`tests/ci/login_image/build.sh`: rejects preexisting run-owned names, copies source to disposable builder, verifies frozen PNPM and standalone output, creates a local Docker image from an unchanged Dockerfile with run-id label and immutable local image ID. It did **not** assert executable mode of the copied `entrypoint.sh`; OCI startup subsequently failed with permission denied.
|
||||
|
||||
`tests/ci/login_image/cleanup.sh`: exact-run builder/image/context ownership checks and removal; Run #98 `ZITPLANE_CUSTOM_LOGIN_ALL_BUILD_RESOURCES_CLEANED_PASS`. Existing `tests/ci/oidc_e2e/cleanup.sh` and backend cleanup separately passed. `tests/ci/oidc_e2e/run.sh::dc` adds only a validated opt-in fourth CI Compose file; actual custom login identity gate was NOT EXECUTED.
|
||||
|
||||
## P05-OIDC-06-A01 — bounded CI helper behavior (no auth changes)
|
||||
|
||||
`tests/ci/login_image/build.sh` now validates `$context/.next/standalone/entrypoint.sh` is a regular file and not a symlink, checks first bytes `#!` without printing content, records sanitized numeric `mode UID:GID`, accepts either already-executable `755` or the established source-copy `644` and applies `chmod 0755` **only to the latter temporary copy**. Rejects all unexpected file types/modes and then requires `-x` + exactly `755`. After unchanged Dockerfile build, a no-network/no-secrets `docker run --entrypoint /bin/sh` with default image `nextjs` user validates `/app/entrypoint.sh` is regular, non-symlink, `755`, executable and has a shebang, printing only a fixed PASS marker. Original Git source and Dockerfile untouched.
|
||||
|
||||
Run #99 confirmed input `644 UID:GID 0:0`, copied output/image executable and actual custom runtime/Chromium OIDC acceptance, negative and local logout success. Existing run-owned cleanup checks PASS. No provision/browser/Auth.js method changed.
|
||||
Reference in new issue
Block a user