mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
fix: close two gaps the last audit round left open
- give the delegated-action inventory a leg that can falsify its level axis: the walked module set must strictly exceed the manage-only one, anchored on a route that never asks for manage - declare AUDIT_LOG_RETENTION_DAYS and SESSION_COOKIE_SECURE in the env manifest, so the pre-deploy check reports the two settings operators are told to set, and hold manifest, compose whitelist and both example files in step
This commit is contained in:
1 parent
6bfcccd755
commit
e4870f3b5f
3 files changed
+92
-2
No files matched your search
@@ -241,6 +241,23 @@
|
||||
"purpose": "Separate AES key for the backup body — MUST NOT match ENCRYPTION_KEY."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Operational windows and cookie flags",
|
||||
"description": "Values the product states back to a user or that decide whether a session cookie is accepted. Optional: each has a documented default. They are listed so `pnpm check-env` reports them, and so the compose whitelist and the example files can be held in step with this manifest.",
|
||||
"required": false,
|
||||
"variables": [
|
||||
{
|
||||
"name": "AUDIT_LOG_RETENTION_DAYS",
|
||||
"purpose": "How long audit rows survive, in days (365 by default). Published, not merely enforced: the shared-access activity feed and the dialog that ends somebody's access both state the number back to the user.",
|
||||
"example": "365"
|
||||
},
|
||||
{
|
||||
"name": "SESSION_COOKIE_SECURE",
|
||||
"purpose": "Forces the Secure flag on every cookie the app issues. Unset, it tracks NODE_ENV. Set false for a LAN / VPN-only self-host served over plain HTTP, where the default makes login look broken.",
|
||||
"example": "false"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user