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

redacting passwords from catalogue output #515

Closed
jaxxstorm opened this issue Jul 5, 2016 · 4 comments
Closed

redacting passwords from catalogue output #515

jaxxstorm opened this issue Jul 5, 2016 · 4 comments
Assignees

Comments

@jaxxstorm
Copy link
Contributor

I previously added the ability to use sensu's redaction feature to this module. I'd now like to stop the passwords that are set in sensu::client_custom being output into the catalogue output. Currently, you see things like this:

custom changed 'healthcheck => {"password"=>"a_password"}' to 'sensu => {"api"=>{"password"=>"another_password"}}'

This is suboptimal :)

There are 2 options, and I'd like to see which people think are best.

I can add an option so that the diff's aren't shown on sensu::custom or add another parameter, maybe sensu::sensitive_values and then have that ALWAYS not show diffs.

Thoughts?

@ghoneycutt
Copy link
Collaborator

Related to issue #682 to use Puppet v4's data types. We can use the sensitive data type for passwords.

https://docs.puppet.com/puppet/4.10/lang_data_sensitive.html

@jeffmccune
Copy link
Collaborator

With the use of Sensitive, we'll need to drop support for Puppet 4.5.0.

@ghoneycutt
Copy link
Collaborator

I'm OK with that as we still support the last five versions.

@ghoneycutt
Copy link
Collaborator

Puppet does not yet have the ability to test the usage of the Sensitive data type. Without this, we can't test and ultimately support it. Once this is testable, let's support it.

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

No branches or pull requests

5 participants