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

blackbox_exporter:modules leaking sensitive info so adding no diff #615

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mvnarsing
Copy link

@mvnarsing mvnarsing commented Apr 12, 2022

Fixes #614

Copy link

@ernstae ernstae left a comment

Choose a reason for hiding this comment

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

This will address the output showing plaintext passwords, so I'm in support of the change.
The only other choice would be to wrap the content attribute in a Sensitive() and change the content in the YAML ERB to use unwrap(), but I think this implementation is cleaner.

@gburton1
Copy link

Are there any concerns about this? Hoping to have a maintainer weigh in.

@mvnarsing
Copy link
Author

mvnarsing commented Jun 2, 2022

anyone looking into this, any update will be good.

@mvnarsing mvnarsing closed this Jun 2, 2022
@mvnarsing mvnarsing reopened this Jun 2, 2022
@mvnarsing
Copy link
Author

Can someone please review and weigh on it

owner => 'root',
group => $group,
mode => $config_mode,
show_diff => false,
Copy link
Member

Choose a reason for hiding this comment

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

IMO Sensitive support would be better. Or at least make show_diff configurable here. But I don't use this module, so 🤷

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes Sensitive would be better also the erb should be changed to epp

@TheMeier TheMeier added the enhancement New feature or request label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blackbox exporter modules leaking sensitive data as it get logged as plaintext
5 participants