-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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.
Are there any concerns about this? Hoping to have a maintainer weigh in. |
anyone looking into this, any update will be good. |
Can someone please review and weigh on it |
owner => 'root', | ||
group => $group, | ||
mode => $config_mode, | ||
show_diff => false, |
There was a problem hiding this comment.
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 🤷
There was a problem hiding this comment.
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
Fixes #614