Skip to content

Redact sensitive duplicate query parameter values in ApiServlet logs#13677

Open
dheeraj12347 wants to merge 1 commit into
apache:4.20from
dheeraj12347:fix-redact-sensitive-duplicate-params-4.20
Open

Redact sensitive duplicate query parameter values in ApiServlet logs#13677
dheeraj12347 wants to merge 1 commit into
apache:4.20from
dheeraj12347:fix-redact-sensitive-duplicate-params-4.20

Conversation

@dheeraj12347

Copy link
Copy Markdown
Contributor

Description

This PR manually backports the fix from #13559 to the 4.20 LTS branch.

Changes

  • Redact duplicate values for sensitive query parameters before logging in ApiServlet.
  • Add helper methods to identify sensitive parameters and format logged values.
  • Backport the corresponding unit tests.

This backport includes the changes applicable to the 4.20 branch.

@dheeraj12347

Copy link
Copy Markdown
Contributor Author

@DaanHoogland

As discussed in #13559, this is the manual backport of the fix for the 4.20 LTS branch.

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