KannarFr commented on code in PR #23386:
URL: https://github.com/apache/pulsar/pull/23386#discussion_r2370484257
##########
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java:
##########
@@ -295,6 +295,13 @@ public class ProxyConfiguration implements
PulsarConfiguration {
+ "is enabled.")
private Boolean webServiceLogDetailedAddresses;
+ @FieldContext(category = CATEGORY_SERVER, doc =
+ "Defines how the broker will anonymize the role and
originalAuthRole before logging. "
+ + "Possible values are: NONE (no anonymization), REDACTED
(replaces with '[REDACTED]'), "
+ + "hash:SHA256 (hashes using SHA-256), and hash:MD5
(hashes using MD5). Default is NONE."
+ )
+ private String authenticationRoleLoggingAnonymizer = "NONE";
+
Review Comment:
https://github.com/apache/pulsar/pull/23386/commits/4347a9ee7b5b9bd6e98f87c0399e9fa5e4d15dea
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -445,6 +446,14 @@ The max allowed delay for delayed delivery (in
milliseconds). If the broker rece
)
private String clusterName;
+ @FieldContext(
+ category = CATEGORY_SERVER,
+ doc = "Defines how the broker will anonymize the role and
originalAuthRole before logging. "
+ + "Possible values are: NONE (no anonymization), REDACTED
(replaces with '[REDACTED]'), "
+ + "hash:SHA256 (hashes using SHA-256), and hash:MD5
(hashes using MD5). Default is NONE."
+ )
+ private String authenticationRoleLoggingAnonymizer = "NONE";
Review Comment:
https://github.com/apache/pulsar/pull/23386/commits/4347a9ee7b5b9bd6e98f87c0399e9fa5e4d15dea
--
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]