Skip to content

fix(security): disable Netty wire logging that dumps request/response bodies - #1289

Open
pallakartheekreddy wants to merge 1 commit into
v1.0.3from
security/disable-netty-wire-logging
Open

fix(security): disable Netty wire logging that dumps request/response bodies#1289
pallakartheekreddy wants to merge 1 commit into
v1.0.3from
security/disable-netty-wire-logging

Conversation

@pallakartheekreddy

Copy link
Copy Markdown
Collaborator

Summary

Log-hygiene slice for knowledge-platform (PLAN.md quick-win #3). play.server.netty { log.wire = true } was set in 4 service confs (content, search, taxonomy, assessment) and their 3 Helm configmaps.

Why it matters

Netty wire logging emits the full request/response bytes — headers (including x-authenticated-* identity headers / bearer tokens) and bodies (user PII) — into the application logs, which then flow into shared log pipelines. That's a credential/PII leak.

The change

log.wire = false in all 7 files. Config/values-only — no code or API impact.

The active server provider is PekkoHttpServerProvider, so for the current deployment this is hardening / defense-in-depth (and corrects a misleading true); it fully closes the leak on any environment that runs the Netty server backend.

Note: the working tree had unrelated pre-existing build/* deletions; this branch contains only the 7 log.wire changes.

… bodies

play.server.netty.log.wire was `true` in the content, search, taxonomy and
assessment service confs and their Helm configmaps. Wire logging emits full
request/response bytes -- headers (including x-authenticated-* identity/tokens) and
bodies (user PII) -- to the logs, which then flow into shared log pipelines.

Set log.wire = false everywhere (quick-win #3 in PLAN.md / the log-hygiene slice of
the knowledge-platform design). The active provider is PekkoHttpServerProvider, so
for the current deployment this is hardening / defense-in-depth (and fixes the
misleading `true`), and it fully closes the leak on any environment that runs the
Netty server backend.

Config/values-only change; no code or API impact.
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@pallakartheekreddy, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 23 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b6f0d654-2b6a-4e84-b310-8d7553233215

📥 Commits

Reviewing files that changed from the base of the PR and between 448714d and 1b44bcf.

📒 Files selected for processing (29)
  • .claude/commands/build.md
  • .claude/commands/commit.md
  • .claude/commands/coverage.md
  • .claude/commands/pr.md
  • .claude/commands/test.md
  • .claude/rules/assessment-api.md
  • .claude/rules/base-class-pattern.md
  • .claude/rules/code-documentation.md
  • .claude/rules/configuration-discipline.md
  • .claude/rules/content-api.md
  • .claude/rules/error-handling.md
  • .claude/rules/interfaces.md
  • .claude/rules/logging-observability.md
  • .claude/rules/ontology-engine.md
  • .claude/rules/platform-core.md
  • .claude/rules/scala-conventions.md
  • .claude/rules/schema-validation.md
  • .claude/rules/search-api.md
  • .claude/rules/service-config.md
  • .claude/rules/taxonomy-api.md
  • .claude/rules/testing.md
  • CLAUDE.md
  • assessment-api/assessment-service/conf/application.conf
  • content-api/content-service/conf/application.conf
  • knowlg-automation/helm_charts/content/templates/content-configmap.yaml
  • knowlg-automation/helm_charts/search/templates/search-configmap.yaml
  • knowlg-automation/helm_charts/taxonomy/templates/taxonomy-configmap.yaml
  • search-api/search-service/conf/application.conf
  • taxonomy-api/taxonomy-service/conf/application.conf
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch security/disable-netty-wire-logging

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pallakartheekreddy
pallakartheekreddy changed the base branch from master to v1.0.3 July 27, 2026 09:49
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