Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Visible password at sensu-client logs after restart #1804
Configuring single rabbitmq, sensu is able to redact the password in client logs after restart.
Logs for single rabbitmq config :
Logs for multiple rabbitmq config :
This issue seems to occur because multilpe rabbitmq config is stored in a nested array format. Sensu is not able to look up the password keyword inside the hash, inside the array and hence, not able to redact the password in logs.
This is sensu-settings issue. We need to apply redact_sensitive on this line: https://github.com/sensu/sensu-settings/blob/master/lib/sensu/settings/loader.rb#L169