Skip to content

Remove potentially sensitive data from URLs in HTTP integration #6209

Closed
@mydea

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions