-
Notifications
You must be signed in to change notification settings - Fork 225
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
Bolt logs sensitive data by default in certain contexts #3217
Labels
Bug
Bug reports and fixes.
Comments
Ziaunys
changed the title
Bolt log sensitive data by default in certain contexts
Bolt logs sensitive data by default in certain contexts
Jul 12, 2023
donoghuc
added a commit
to donoghuc/bolt
that referenced
this issue
Aug 10, 2023
Previously compiled catalogs would be logged per target at INFO level. This clogs up logs and can expose Sensitive data in catalogs. This commit moves logging of compiled catalogs to the TRACE log level only. !bug * **Only log compiled catalogs at trace level** ([puppetlabs#3217](puppetlabs#3217)) Previously compiled catalogs would be logged per target at INFO level. This clogs up logs and can expose Sensitive data in catalogs. This commit moves logging of compiled catalogs to the TRACE log level only.
donoghuc
added a commit
that referenced
this issue
Aug 11, 2023
(GH-3217) Only log compiled catalogs at trace level
Shipped in 3.27.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
With the default logging configuration, Bolt logs sensitive parameters of a class that is applied during a Puppet apply block when running a plan.
Expected Behavior
I don't think sensitive data should be logged period, but I would settle for not logging any by default. Additionally, I would not overload the log level to indicate when sensitive data is logged because it seems like an unexpected side effect. Perhaps we there could be a separate setting to determine if sensitive data should be logged.
Steps to Reproduce
Steps to reproduce the behavior:
Note that both sensitive parameters of the class are logged at INFO level.
Environment
The text was updated successfully, but these errors were encountered: