Skip to content

fix(java): mention that send-default-pii must be enabled for HTTP request bodies to be captured #12799

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

Merged
merged 3 commits into from
Feb 24, 2025
Merged
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
3 changes: 3 additions & 0 deletions docs/platforms/java/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ This parameter controls whether integrations should capture HTTP request bodies.
- `medium`: Medium and small requests will be captured (typically 10KB).
- `always`: The SDK will always capture the request body as long as Sentry can make sense of it.

For request bodies to be captured, the <PlatformIdentifier name="send-default-pii" /> flag must also be enabled.
Please consult the <PlatformLink to="/configuration/options/#send-default-pii">documentation for <PlatformIdentifier name="send-default-pii" /></PlatformLink> to evaluate whether you would want to enable it, making sure to manually remove the data you don't want to send using our features for <PlatformLink to="/data-management/sensitive-data">managing Sensitive Data</PlatformLink>.

</ConfigKey>

<ConfigKey name="enabled">
Expand Down