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

sensitive attributed needed for execute[change-admin-user-password-from-default] resource #101

Closed
haidangwa opened this issue Sep 10, 2017 · 0 comments

Comments

@haidangwa
Copy link
Contributor

haidangwa commented Sep 10, 2017

Cookbook version

1.6.0 & 1.7.0

Chef-client version

12.14.89

Platform Details

redhat 6 & 7

Scenario:

install splunk client

Steps to Reproduce:

  • Run the chef-splunk::client recipe with node['splunk']['setup_auth'] = true
  • check the chef client log file

Expected Result:

sensitive password of the splunk admin account should not be displayed

Actual Result:

Recipe: chef-splunk::setup_auth
  * execute[change-admin-user-password-from-default] action run
    - execute /opt/splunkforwarder/bin/splunk edit user admin -password 'REDACTED' -role admin -auth admin:changeme

This execute resource should have the sensitive true property set to hide the admin password.
https://github.com/chef-cookbooks/chef-splunk/blob/master/recipes/setup_auth.rb#L24-L27

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

2 participants