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

User data in request body #28

Open
sarahschuetz opened this issue Jan 10, 2023 · 6 comments
Open

User data in request body #28

sarahschuetz opened this issue Jan 10, 2023 · 6 comments

Comments

@sarahschuetz
Copy link

Is there a way to prevent the body of the request being sent to Sentry for specified endpoints?
I would like to avoid sending user information to sentry when for example the registration form is not working. I know I can manipulate the data in Sentry, so it is not shown, but ideally it would not even be sent to Sentry.

@roelvanhintum
Copy link
Contributor

@sarahschuetz, there is an anonymous option, that prevents sending info of the logged in user. Other than that there is filtering support in Sentry that could be implemented, if that is what you are looking for.

@sarahschuetz
Copy link
Author

@roelvanhintum yes, I guess filtering is what I'm looking for. To use this hook however, I need a custom module or can I configure it with the plugin somehow?

@roelvanhintum
Copy link
Contributor

This plugin currently doesn't have any support, but feel free to make a pull-request. Otherwise it would involve a custom module.

@sarahschuetz
Copy link
Author

Okay, I wil have a look at it. Thanks!

@sarahschuetz sarahschuetz mentioned this issue Jan 20, 2023
@sarahschuetz
Copy link
Author

@roelvanhintum added a pull-request. Would be great if you can have a look at it :)

@sarahschuetz
Copy link
Author

Hi @roelvanhintum!
Did you have time to take a look at my pull-request?

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

No branches or pull requests

2 participants