sentry-rust icon indicating copy to clipboard operation
sentry-rust copied to clipboard

Prevent PII leak for http requests

Open Swatinem opened this issue 2 years ago • 0 comments

I believe this is relevant for the actix and tower-http integrations. We have no integration for outgoing requests so that is the responsibility of the API user.

Copy-pasted: https://github.com/getsentry/sentry-python/issues/1742


When we do HTTP requests to third party services we create a breadcrumb with the URL and also create a span that has the URL as a description (and also breadcrumbs including this URL are created.)

We created RFC-0038 to decide how to improve the current situation and creating a spec here: https://github.com/getsentry/develop/pull/773

Make sure that all integrations that record outgoing or incoming HTTP request structure the data like described in the spec linked above.

Swatinem avatar Nov 15 '22 15:11 Swatinem