Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/platforms/android/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,12 @@ AndroidManifest.xml key: `io.sentry.additional-context`.

<SdkOption name="sendDefaultPii" type="bool" defaultValue="false">

If this flag is enabled, certain personally identifiable information (PII) is added by active integrations.
<Alert level="warning">
`sendDefaultPii` is deprecated and will be removed in the next major version
(v9). Use [`dataCollection`](#dataCollection) instead.
</Alert>

This is a legacy flag. Use [`dataCollection`](#dataCollection) for granular control over automatically collected data.
If this flag is enabled, certain personally identifiable information (PII) is added by active integrations.

For backwards compatibility, `sendDefaultPii` keeps its existing behavior when no Data Collection field is configured. As soon as you configure any `dataCollection` field, Data Collection becomes the source of truth for its categories and `sendDefaultPii` no longer controls them.

Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/java/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,17 @@ Note that enabling this option may increase the payload size of events sent to S

<SdkOption name="sendDefaultPii" type="boolean" defaultValue="false">

<Alert level="warning">
`sendDefaultPii` is deprecated and will be removed in the next major version
(v9). Use [`dataCollection`](#dataCollection) instead.
</Alert>

If this flag is enabled, certain personally identifiable information (PII) is added by active integrations. By default, no such data is sent.

This option is turned off by default.

If you enable this option, be sure to manually remove what you don't want to send using our features for managing [_Sensitive Data_](../../data-management/sensitive-data/).

This is a legacy flag. Use [`dataCollection`](#dataCollection) for granular control over automatically collected data.

For backwards compatibility, `sendDefaultPii` keeps its existing behavior when no Data Collection field is configured. As soon as you configure any `dataCollection` field, Data Collection becomes the source of truth for its categories and `sendDefaultPii` no longer controls them.

Unencoded Logback messages aren't a Data Collection category. To include original message templates and parameters when an encoder is configured, use the Logback appender's `includeUnencodedMessage` option. The legacy `sendDefaultPii` behavior remains supported for compatibility. OpenTelemetry-derived HTTP data also isn't controlled by Data Collection yet. Sensitive HTTP header attributes continue to use `sendDefaultPii`; URL and query string attributes are collected when present regardless of that flag.
Expand Down
Loading