Hide passwords in Ladybug






When scrolling through Ladybug reports, it can be embarassing to see passwords exposed. At any time passwords should be shielded against examination by others. Adding a regular expression to DeploymentSpecifics.properties solves this issue.

 

To avoid this, you can add a line in DeploymentSpecifics.properties ; adapt the phrase “password” when necessary.


log.hideRegex=(?<=<password>).*?(?=</password>)

 

The result in Ladybug will be that the password will be replaced by stars.