Skip to content

Fix a series of secret logging leakage issues#584

Merged
YiDing-Duke merged 7 commits into
confluentinc:2.7from
YiDing-Duke:yi-2.7
Jun 7, 2021
Merged

Fix a series of secret logging leakage issues#584
YiDing-Duke merged 7 commits into
confluentinc:2.7from
YiDing-Duke:yi-2.7

Conversation

@YiDing-Duke

@YiDing-Duke YiDing-Duke commented Jun 7, 2021

Copy link
Copy Markdown

…methods

Current below log statements are not useful. This PR logs readable/masked configs during alterBrokerConfigs/alterTopicConfigs method call.

`[Admin Manager on Broker 1]: Updating topic test with new configuration kafka.server.KafkaConfigc9ba35e3`

Author: Manikumar Reddy <manikumar.reddy@gmail.com>

Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>, Chia-Ping Tsai <chia7712@gmail.com>

Closes apache#9824 from omkreddy/admin-logs
…ache#3849)

This issue has been there for multiple years.

Also adjust the logging to only include overridden topic configs, I
_think_ this behavior changed unintentionally as part of the kraft work
(and made the original issue worse).

Unit test included and also tested manually.

Reviewer: Alok Nikhil <anikhil@confluent.io>, Kowshik Prakasam <kprakasam@confluent.io>

@ditac Aadithya Chandra (ditac) 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.

Can you provide links to the JIRA or commits for RequestChannel and AdminManager changes?

@YiDing-Duke

Copy link
Copy Markdown
Author

Can you provide links to the JIRA or commits for RequestChannel and AdminManager changes?

Yes, I updated the commit info.

@YiDing-Duke YiDing-Duke merged commit 12df617 into confluentinc:2.7 Jun 7, 2021
@YiDing-Duke YiDing-Duke deleted the yi-2.7 branch June 7, 2021 19:42
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.

4 participants