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

fix: redact sensitive fields when printing grpc request #158

Merged

Conversation

vadasambar
Copy link
Contributor

@vadasambar vadasambar commented May 7, 2024

This helps prevent sensitive information in the requests from leaking out in the logs.

@vadasambar vadasambar marked this pull request as ready for review May 7, 2024 07:27
@vadasambar vadasambar requested a review from a team as a code owner May 7, 2024 07:27
@vadasambar
Copy link
Contributor Author

@imuni4fun @mugdha-adhav @nloke

@mugdha-adhav
Copy link
Collaborator

@vadasambar could you please paste an output of how the log messages are printed after this change?

@vadasambar
Copy link
Contributor Author

@vadasambar could you please paste an output of how the log messages are printed after this change?

https://github.com/vadasambar/protosanitizer-poc

Does this help?

@mugdha-adhav
Copy link
Collaborator

Does this help?

Yeah, looks good. As we are also using klog, I would expect similar results in the logging behaviour.

@mugdha-adhav
Copy link
Collaborator

If you need a release for this change, I would suggest to update Chart.yaml and Makefile with new version to avoid another commit/PR.

@vadasambar
Copy link
Contributor Author

vadasambar commented May 8, 2024

@mugdha-adhav thanks. I have updated the Makefile and Chart.yaml

@mugdha-adhav mugdha-adhav merged commit 8e08b35 into warm-metal:main May 8, 2024
7 checks passed
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.

2 participants