Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mabartos
Copy link
Contributor

@mabartos mabartos commented Nov 25, 2025


public static final Option<List<String>> HTTP_ACCESS_LOG_MASKED_COOKIES = OptionBuilder.listOptionBuilder("http-access-log-masked-cookies", String.class)
.category(OptionCategory.HTTP_ACCESS_LOG)
.description("Set of HTTP Cookie headers whose values must be masked when the 'long' pattern or '%{ALL_REQUEST_HEADERS}' format is enabled with the 'http-access-log-pattern' option.")
.hidden() // hidden for now as we do not have the full Quarkus support for this yet
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it matter if there's quarkus support whether this is hidden?

Will this ever be set by a user? If so, we could consider making it additive to the default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was rather for purposes to be on a safe side, but yes, it might not be hidden.

It's expected that some additives will be there: #44433

@mabartos
Copy link
Contributor Author

Put on hold, as we probably wait for Quarkus to have it included (needs to be discussed with them).

This PR can hang in here for cases it's not included in Quarkus in the foreseeable future.

@mabartos mabartos added the status/hold PR should not be merged. On hold for later. label Nov 26, 2025
@mabartos mabartos marked this pull request as draft November 26, 2025 12:02
@shawkins
Copy link
Contributor

This PR can hang in here for cases it's not included in Quarkus in the foreseeable future.

Makes sense. One more thought - it would be safer to specify what headers / cookies can be shown vs. what should be masked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flaky-test status/hold PR should not be merged. On hold for later. team/cloud-native

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mask certain HTTP headers in the HTTP access log

2 participants