Skip to content

fix(security): disable Netty wire logging in lms service - #48

Open
pallakartheekreddy wants to merge 1 commit into
mainfrom
security/disable-netty-wire-logging
Open

fix(security): disable Netty wire logging in lms service#48
pallakartheekreddy wants to merge 1 commit into
mainfrom
security/disable-netty-wire-logging

Conversation

@pallakartheekreddy

Copy link
Copy Markdown
Contributor

Summary

Log-hygiene slice for lern-service (PLAN.md quick-win #3). play.server.netty { log.wire = true } in the lms service conf caused Netty wire logging to emit full request/response bytes — headers (including x-authenticated-* identity headers / bearer tokens) and bodies (user PII) — into the application logs.

The change

log.wire = false in modules/lms/service/conf/application.conf. Config-only — no code or API impact.

Note: the working tree had unrelated pre-existing build/* deletions; this branch contains only the log.wire change. The broader lern-service log-hygiene items (secret-value logging via Util.readValue, full-payload INFO logs) and the critical PII-crypto / SSTI / PII-read-authZ findings are larger, higher-touch changes tracked separately.

play.server.netty.log.wire was `true` in the lms service conf. Wire logging emits
full request/response bytes -- headers (including x-authenticated-* identity/tokens)
and bodies (user PII) -- into the logs. Set log.wire = false.

Config-only change; no code or API impact. Log-hygiene slice (quick-win #3) of the
lern-service design.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant