microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.73k stars 867 forks source link

Mask base64 values of secrets in pipeline logs #5030

Closed MantavyaDh closed 4 days ago

MantavyaDh commented 2 weeks ago

Purpose of this Change

This PR enables masking of base64 encoding of secret in the pipeline logs.

What Changed

Added the base64 encoded secret to the existing secret masker along with possible escape sequence characters.

Testing