Skip to content

Remove potentially sensitive data from URLs in HTTP integration #6209

Description

@mydea

Currently, the integration for outgoing HTTP requests creates span with the URL of the outgoing request as part of the span description.
However, the URL can contain senstive data - think GET /api?accessToken=XXX.

As a first step, we should strip out any query param values from there, in order to avoid sending sensitive data.

This happens both in the node SDK's HTTP integration, as well as in the browser tracing integration for fetch/xhr.

ref getsentry/develop#760

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions