]> git.99rst.org Git - sgasser-llm-shield.git/commit
Expose logging and secrets_detection in /info, remove unused log_content
authorStefan Gasser <redacted>
Wed, 10 Jun 2026 12:19:59 +0000 (14:19 +0200)
committerStefan Gasser <redacted>
Wed, 10 Jun 2026 12:19:59 +0000 (14:19 +0200)
commit8881fb7b4813946b83119a5afbffee757d20994c
tree24cef1f6eb17635f76d8204aaa3a00e2a2d60371
parentc982e62e461b88139f4a7d0cb53d8920c1cc5171
Expose logging and secrets_detection in /info, remove unused log_content

Follow-ups from #91:

- /info now includes secrets_detection and logging sections so users can
  verify their config is loaded (the issue reporter could not).
- The dashboard fallback message no longer claims log_masked_content is
  false when content is simply absent for another reason.
- Remove the log_content option: it was defined in config and documented,
  but no code ever read it. Logging raw request/response content would
  contradict the privacy guarantees, so it is removed rather than
  implemented. Zod strips unknown keys, so existing configs that still
  set log_content keep loading.
config.example.yaml
docs/api-reference/status.mdx
docs/configuration/logging.mdx
src/config.ts
src/routes/info.test.ts
src/routes/info.ts
src/views/dashboard/page.tsx
git clone https://git.99rst.org/PROJECT