You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that full support for the sendDefaultPii flag implies a behaviourally breaking change: We currently instruct users to use hooks like beforeSend, beforeBreadcrumbs or traceSampler to filter out PII on the SDK side. If people do not do this, they will get e.g. user data by default in their events. Since sendDefaultPii defaults to false, users who do not currently filter our PII will not anymore receive this information.
Therefore, we'll introduce this option in two steps:
Right now, we only add the flag with the intention of controlling dynamic sampling context content
to provide an easier way for users to control PII from the SDK
and a central flag from which PII relevant data can be controlled for existing features and future development of the SDK
Also a note on inspiration:
Organizations can have very different use cases and very different definitions of what is PII. So while the immediate is for DSC. The future of this shall also provide more control and security to organizations that want to control data which might be included in transaction routes or user information for example.
The JS SDK currently does not support the
sendDefaultPii
option that is part of the Sentry SDK specification. We add this option toNote that full support for the
sendDefaultPii
flag implies a behaviourally breaking change: We currently instruct users to use hooks likebeforeSend
,beforeBreadcrumbs
ortraceSampler
to filter out PII on the SDK side. If people do not do this, they will get e.g. user data by default in their events. SincesendDefaultPii
defaults tofalse
, users who do not currently filter our PII will not anymore receive this information.Therefore, we'll introduce this option in two steps:
sendDefaultPii
behaviour in the JS SDKs #5347 (tracked in a separate issue. This one is closed once the first step is merged)The text was updated successfully, but these errors were encountered: