akiyamaneko opened a new pull request #3267:
URL: https://github.com/apache/ambari/pull/3267
## What changes were proposed in this pull request?
Introduce a new ambari-agent parameter: `secret_hidden_pattern` to define
which kind of attributes in log printing need to be hidden values. This
parameter accepts regular expressions for users to custom hidden rule as the
actual situation. The default value `(?i).*(secret|password).*` means that only
the key contains keyword password would be handled. Usesr can easily custom the
rule such as ``(?i).*(secret|password).*` or other rules to satisify their own
requirements.
## How was this patch tested?
manual tests

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]