Skip to content

[ISSUE #10810] Redact authentication signatures in audit logs - #10811

Open
Aias00 wants to merge 1 commit into
apache:developfrom
Aias00:fix/auth-signature-log-redaction-10810
Open

[ISSUE #10810] Redact authentication signatures in audit logs#10811
Aias00 wants to merge 1 commit into
apache:developfrom
Aias00:fix/auth-signature-log-redaction-10810

Conversation

@Aias00

@Aias00 Aias00 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

What

  • Mask authentication request signatures before writing audit logs.
  • Keep only a short prefix/suffix for long signatures and fully redact short or blank signatures.
  • Add tests for short and long signature masking.

Why

Authentication signatures are security-sensitive request material. Audit logs should preserve useful diagnostics without emitting the raw signature value.

Validation

  • JAVA_HOME=$(/usr/libexec/java_home -v 1.8) mvn -pl auth -am -DskipITs -DskipCheckStyle -Dtest=DefaultAuthenticationProviderTest -DfailIfNoTests=false test
  • git diff --check

Closes #10810

Copilot AI review requested due to automatic review settings August 4, 2026 00:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.22%. Comparing base (eddb235) to head (b93cf20).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop   #10811      +/-   ##
=============================================
- Coverage      48.33%   48.22%   -0.11%     
+ Complexity     13524    13491      -33     
=============================================
  Files           1380     1380              
  Lines         101104   101111       +7     
  Branches       13107    13108       +1     
=============================================
- Hits           48864    48763     -101     
- Misses         46281    46359      +78     
- Partials        5959     5989      +30     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

[Bug] Authentication audit logs expose request signatures

3 participants