Title: Add `sendDefaultPii` flag to JS SDK · Issue #5340 · getsentry/sentry-javascript · GitHub
Open Graph Title: Add `sendDefaultPii` flag to JS SDK · Issue #5340 · getsentry/sentry-javascript
X Title: Add `sendDefaultPii` flag to JS SDK · Issue #5340 · getsentry/sentry-javascript
Description: The JS SDK currently does not support the sendDefaultPii option that is part of the Sentry SDK specification. We add this option to improve the alignment of the JS SDKs with the other Sentry SDKs This provides an easier way for users to ...
Open Graph Description: The JS SDK currently does not support the sendDefaultPii option that is part of the Sentry SDK specification. We add this option to improve the alignment of the JS SDKs with the other Sentry SDKs T...
X Description: The JS SDK currently does not support the sendDefaultPii option that is part of the Sentry SDK specification. We add this option to improve the alignment of the JS SDKs with the other Sentry SDKs T...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5340
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `sendDefaultPii` flag to JS SDK","articleBody":"The JS SDK currently does not support the `sendDefaultPii` option that is part of the [Sentry SDK specification](https://develop.sentry.dev/sdk/data-handling/#sensitive-data). We add this option to \r\n\r\n1) improve the alignment of the JS SDKs with the other Sentry SDKs\r\n - This provides an easier way for users to control PII from the SDK\r\n - and a central flag from which PII relevant data can be controlled for existing features and future development of the SDK\r\n2) be able to control the the [dynamic sampling context content](https://github.com/getsentry/develop/issues/626) w.r.t PII concerns.\r\n\r\nNote 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. \r\n\r\nTherefore, we'll introduce this option in two steps:\r\n* [x] Right now, we only add the flag with the intention of controlling dynamic sampling context content\r\n* [ ] #5347 (tracked in a separate issue. This one is closed once the first step is merged)","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2022-06-30T09:50:17Z","url":"https://github.com/getsentry/sentry-javascript/issues/5340"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b1bb2fde-45e7-0536-750c-0d4c97a2d35c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C4FC:133E28:231412:314B89:6B04696A |
| html-safe-nonce | 008bdc3493cb03a39fb04799992b434afbefe665e24a670a58e8f93b49f7fa67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEZDOjEzM0UyODoyMzE0MTI6MzE0Qjg5OjZCMDQ2OTZBIiwidmlzaXRvcl9pZCI6IjE3MjAwMzc2MDgxNjU1MDEyOTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a5cdbeb959445b5b1e338cd8d7d3319f235746b20f3334c6694341fefff4eb03 |
| hovercard-subject-tag | issue:1289881996 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/5340/issue_layout |
| twitter:image | https://opengraph.githubassets.com/29d5707c140e3eac82f4be487a704175ba61fdba561e38b8c74c8df44bc445b5/getsentry/sentry-javascript/issues/5340 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/29d5707c140e3eac82f4be487a704175ba61fdba561e38b8c74c8df44bc445b5/getsentry/sentry-javascript/issues/5340 |
| og:image:alt | The JS SDK currently does not support the sendDefaultPii option that is part of the Sentry SDK specification. We add this option to improve the alignment of the JS SDKs with the other Sentry SDKs T... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width