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

Allow user to edit request body string before the string is dumped to the debug logs #182

Closed
dapchen opened this issue Sep 6, 2018 · 4 comments · Fixed by #186
Closed

Comments

@dapchen
Copy link

dapchen commented Sep 6, 2018

Sometimes a request body contains sensitive information that user would like to mask out before they share the request log with other people. Can resty make a request body string editable before the string is dumped to the debug logs?

@jeevatkm
Copy link
Member

jeevatkm commented Sep 6, 2018

@dapchen Its feasible to implement.

I think its better to make generic implementation for handling debug log before logging, so that it would satisfy #180 too.

@jeevatkm
Copy link
Member

jeevatkm commented Sep 19, 2018

@dapchen I have added the implementation debug-log-enhancement fdc2f93, give it try and please let me know. I will merge it.

@dapchen
Copy link
Author

dapchen commented Sep 19, 2018

@jeevatkm I pulled in the debug-log-enhancement. I was able to mask password in my request body. Thank you for making this enhancement!

@jeevatkm
Copy link
Member

@dapchen Thank you for your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants