ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ambari] akiyamaneko opened a new pull request #3267: [AMBARI-25593] ambari-agent.log output prints password in plain text
Date Thu, 26 Nov 2020 16:15:31 GMT

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
   
   ![ambari-agent-secret-shows-ok](https://user-images.githubusercontent.com/52202080/100372929-ea323380-3044-11eb-95d0-722dc4667f0a.png)
   
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



Mime
View raw message