conan-io / conan-package-tools

Conan Package Tools. Helps with massive package creation and CI integration (Travis CI, Appveyor...)
MIT License
165 stars 70 forks source link

Sensitive details are exposed in the build log #535

Closed kasunch closed 3 years ago

kasunch commented 3 years ago

Description of Problem, Request, or Question

When docker is used for building conan packages, entire docker command is included in the build log. Therefore, sensitive information specified via CI environmental variables such as CONAN_LOGIN_USERNAME and CONAN_PASSWORD are also included in their pure form. As this is a security issue, such sensitive information in the build logs has to be hidden or masked.

Environment Details

Steps to reproduce (Include if Applicable)

No spcial steps needed.

Build logs (Include if Available)

Azure pipelines build log file is attached. CONAN_LOGIN_USERNAME and CONAN_PASSWORD has been masked.
log.txt