LambdaTest/test-at-scale

[Feature]: Move secret masker to logging pkg

Closed this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues

What would you like to add?

We need to move the masker implementation to use it inside our log initialization step ie the logger object returned by the pkg should itself do the masking for underlying log-implementations (be it zap or logrus).

Why should this be worked on?

We need to do this to prevent any accidental leakage of secrets in log files by contributors. Contributors heavily put log lines in their contributions and may accidentally write secrets.

Other details

No response

This issue is stale because it has been open for 60 days with no activity.