Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary configuration logging #62

Merged
merged 1 commit into from
Sep 29, 2024
Merged

Conversation

yegortokmakov
Copy link
Contributor

I noticed the email plugin is logging all properties passed to the plugin, including credentials in properties file in unmasked view. In the current state it logs not only credentials to the SMTP server, but also properties for other plugins, e.g. stripe api key.

While there are some options to filter sensitive logs, they didn't pick up property values. As this logs are not critical, its safer to remove them altogether.

I noticed the email plugin is logging all properties passed to the plugin, including credentials in properties file in unmasked view. In the current state it logs not only credentials to the SMTP server, but also properties for other plugins, e.g. stripe api key. 

While there are some options to [filter sensitive logs](https://docs.killbill.io/latest/userguide_configuration#_logging_properties), they didn't pick up property values. As this logs are not critical, its safer to remove them altogether.
Copy link
Member

@pierre pierre left a comment

Choose a reason for hiding this comment

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

Thanks!

@pierre pierre merged commit 488471a into killbill:master Sep 29, 2024
12 checks passed
@yegortokmakov yegortokmakov deleted the patch-1 branch September 29, 2024 09:10
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.

2 participants