gitPratikSingh commented on PR #30892:
URL: https://github.com/apache/camel/pull/30892#issuecomment-7204877850

   Status update on the rebase requested in the review above.
   
   The rebase is done and verified. The rebased commit is 
`7bcccac7b0483cff9fdec553b4f81b4de5861fbb`, based on current `main` 
(`a018ecd26`), and it addresses all five review points:
   
   1. `LoggingHttpActivityListener` delegates to 
`SensitiveUtils.isSensitiveHeader`, replacing the fixed `SENSITIVE_HEADERS` 
list from CAMEL-27429; the protected `isSensitiveHeader(String)` method is kept 
for subclasses.
   2. Masked headers go through the `getMaskString()` path from #30872, so a 
bare credential value is logged as `xxxxx`.
   3. `HttpLoggingActivityMaskHeadersTest` now also sends 
`X-Amz-Security-Token` and `Ocp-Apim-Subscription-Key` and asserts both are 
logged as `xxxxx`, and sends `Idempotency-Key` and asserts its value is logged 
as sent.
   4. The upgrade-guide note is merged into the existing CAMEL-27429 entry in 
the 4.24 upgrade guide; the separate section is removed.
   5. The "Logging HTTP activity" section of `http-component.adoc` describes 
the new rule, and the generated catalog copy is updated to match.
   
   Minor from the review: in `testIsSensitiveHeader`, `X-Api-Key` and 
`X-Auth-Token` are now grouped with the suffix matches.
   
   Tests: camel-util full module suite passes (362 tests, including 
`SensitiveUtilsTest` 13/13), and `LoggingHttpActivityListenerTest` passes. The 
extended `HttpLoggingActivityMaskHeadersTest` compiles but could not be run in 
my sandbox (it starts a local HTTP server and loopback connections are blocked 
there), so CI is its first full run. The change is 7 files, +139/-19 against 
current `main`.
   
   One step is still outstanding: this branch still points at the previous 
commit (`7c6c193b`), because the API token available in this session cannot 
update or create branch refs (both were refused), so the PR still shows the 
old, conflicting diff. As soon as the branch is updated to `7bcccac7` — the 
commit is already in this fork — the PR will show the rebased change. Leaving 
this PR open in the meantime.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to