Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redact token from error log #196

Merged
merged 1 commit into from
May 10, 2021
Merged

Redact token from error log #196

merged 1 commit into from
May 10, 2021

Conversation

phillebaba
Copy link
Member

@phillebaba phillebaba commented May 10, 2021

Some errors like those from net/http will include the token value. We need to make sure that we redact the token value before logging as to not expose the value.

Fixes #160

Signed-off-by: Philip Laine <[email protected]>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @phillebaba

@phillebaba phillebaba merged commit fd16d09 into main May 10, 2021
@phillebaba phillebaba deleted the fix/invalid-secret branch May 10, 2021 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redact tokens from logs
2 participants