bdxmq opened a new issue, #11452:
URL: https://github.com/apache/dolphinscheduler/issues/11452

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   SensitiveDataConverter passwordHandler
   /**
        * dataSource sensitive param
        */
       public static final String DATASOURCE_PASSWORD_REGEX = 
"(?<=((?i)password((\\\\\":\\\\\")|(=')))).*?(?=((\\\\\")|(')))";
   
   The log password printed at runtime is not replaced with * sign
   
   ### What you expected to happen
   
   "password":"view1"
   can replace to
   "password":"****"
   
   ### How to reproduce
   
   the old pattern is ok.
   DATASOURCE_PASSWORD_REGEX = "(?<=(\"password\":\")).*?(?=(\"))"
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.0.0
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to