-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ref(core): Deprecate sendDefaultPii in favor or dataCollection
#21277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,8 @@ declare const process: { | |
| const nodeStackParser = createStackParser(nodeStackLineParser()); | ||
|
|
||
| /** Get the default integrations for the browser SDK. */ | ||
| export function getDefaultIntegrations(options: Options): Integration[] { | ||
| export function getDefaultIntegrations(_options: Options): Integration[] { | ||
| // todo(v11): remove options parameter | ||
| return [ | ||
| dedupeIntegration(), | ||
| // TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration` | ||
|
|
@@ -56,8 +57,7 @@ export function getDefaultIntegrations(options: Options): Integration[] { | |
| linkedErrorsIntegration(), | ||
| winterCGFetchIntegration(), | ||
| consoleIntegration(), | ||
| // TODO(v11): integration can be included - but integration should not add IP address etc | ||
| ...(options.sendDefaultPii ? [requestDataIntegration()] : []), | ||
| requestDataIntegration(), | ||
| ]; | ||
|
Comment on lines
59
to
61
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The Suggested FixReinstate a guard around the Prompt for AI AgentDid we get this right? 👍 / 👎 to inform future reviews. |
||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super-l: Should we use different
denyexamples for each entry?For
cookieswe could usecsrfortoken, and forqueryParamsthere would bestatefor OAuth requests.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
csrfandtokenare sensitive and will be filtered always: https://github.com/getsentry/sentry-javascript/blob/develop/packages/core/src/utils/data-collection/filtering-snippets.ts|We can also include
statein there.