Skip to content

Replay networkDetailAllowUrls is hard to use when you just want to block a couple known url patterns #8435

Description

@ryan953

Example config:
https://github.com/getsentry/getsentry/pull/11002

          networkDetailAllowUrls: [
            // Disallow:
            // `/api/0/customers/*`
            // `/api/0/invoices/*`
            // `/api/0/projects/<org>/<proj>/replays/<id>/replay-segments/`
            // Allow: all others
            /\/api\/0\/(?!(projects|customers|invoices)\/).*/,
            /\/api\/0\/projects\/[^/]*\/[^/]*\/(?!(replays\/))/,
            /\/api\/0\/projects\/[^/]*\/[^/]*\/replays\/[^/]*\/?!(recording-segments\/)/,
          ],

this should be easier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions