-
Notifications
You must be signed in to change notification settings - Fork 105
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
Mask/redact password and secure_json_data in grafana_datasource; require at least puppet 6.1.0 #221
Conversation
… passwords aren't leaked
fcf18bd
to
5515a3a
Compare
this looks good to me, but I'm far away from being an expert for sensitive type. I'm referring to @alexjfisher here. |
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.
🙋🏻♀️
Dear @nmaludy, thanks for the PR! This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
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.
IIRC, this DSL is only available in Puppet 6, so this would break for puppet 5 users??
I guess a puppet 6 requirement is fine now since Puppet 5 is EoL? @nmaludy can you rebase please? |
@bastelfreak rebase complete! |
can you take a look the linter complains and raise the required puppet version in metadata.json to 6.1.0 ? |
Previously, when configuring a datasource with a password, the
grafana_datasource
resource would leak on the CLI and in the puppet report:Now with this fix, the
password
orsecure_json_data
field changes emit the following diff:There were also several linting / whitespace issues caught by CI, i've fixed these in the PR.