[
https://issues.apache.org/jira/browse/KAFKA-5094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15976518#comment-15976518
]
ASF GitHub Bot commented on KAFKA-5094:
---------------------------------------
GitHub user rajinisivaram opened a pull request:
https://github.com/apache/kafka/pull/2879
KAFKA-5094: Replace SCRAM credentials in broker logs with tag hidden
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rajinisivaram/kafka KAFKA-5094
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2879.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2879
----
commit b5251fa1c07bce83b56e68063d4a3ef2cef20c2c
Author: Rajini Sivaram <[email protected]>
Date: 2017-04-20T11:08:13Z
KAFKA-5094: Replace SCRAM credentials in broker logs with tag hidden
----
> Censor SCRAM config change logging
> ----------------------------------
>
> Key: KAFKA-5094
> URL: https://issues.apache.org/jira/browse/KAFKA-5094
> Project: Kafka
> Issue Type: Improvement
> Components: log
> Affects Versions: 0.10.2.0
> Reporter: Johan Ström
> Assignee: Rajini Sivaram
>
> (As mentioned in comment on KAFKA-4943):
> Another possibly bad thing is that Kafka logs the credentials in the clear
> too (0.10.2.0):
> {code}
> [2017-04-05 16:29:00,266] INFO Processing notification(s) to /config/changes
> (kafka.common.ZkNodeChangeNotificationListener)
> [2017-04-05 16:29:00,282] INFO Processing override for entityPath:
> users/kafka with config:
> {SCRAM-SHA-512=salt=ZGl6dnRzeWQ5ZjJhNWo1bWdxN2draG96Ng==,stored_key=BEdel+ChGSnpdpV0f8s8J/fWlwZJbUtAD1N6FygpPLK1AiVjg0yiHCvigq1R2x+o72QSvNkyFITuVZMlrj8hZg==,server_key=/RZ/EcGAaXwAKvFknVpsBHzC4tBXBLPJQnN4tM/s0wJpMcR9qvvJTGKM9Nx+zoXCc9buNoCd+/2LpL+yWde+/w==,iterations=4096}
> (kafka.server.DynamicConfigManager)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)