Skip to content

Commit 7bbcb7a

Browse files
authored
docs(js): Add more specific PII info on RequestDataIntegration (#16026)
1 parent 480db26 commit 7bbcb7a

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

docs/platforms/javascript/common/configuration/integrations/requestdata.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ This integration only works inside server environments (Node.js, Bun, Deno).
3232

3333
</Alert>
3434

35+
<Include name="platforms/configuration/integrations/requestdata-v11-alert" />
36+
3537
_Import name: `Sentry.requestDataIntegration`_
3638

3739
This integration is enabled by default. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations).

docs/platforms/javascript/common/data-management/data-collected/index.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@ By default, Sentry sends the size of the body content of incoming HTTP requests.
6262
If `sendDefaultPii` is enabled, you can send Form Data with `captureActionFormDataKeys` in the Remix <PlatformLink to="/manual-setup/#server-side-configuration">server-side configuration</PlatformLink>.
6363
</PlatformSection>
6464

65+
<PlatformSection notSupported={["javascript", "javascript.angular", "javascript.capacitor", "javascript.cordova", "javascript.ember", "javascript.gatsby", "javascript.react", "javascript.solid", "javascript.svelte", "javascript.vue", "javascript.wasm"]}>
66+
67+
## Server-Side Request Data
68+
69+
On the server-side, the <PlatformLink to="/configuration/integrations/requestdata/">RequestData Integration</PlatformLink> captures incoming request data including cookies, headers, query strings, request body (`data`), URL, and user information. By default, most of these fields are captured (except IP address).
70+
71+
<Include name="platforms/configuration/integrations/requestdata-v11-alert" />
72+
73+
</PlatformSection>
74+
6575
## Response Body
6676

6777
By default, the Sentry SDK doesn't send the body content of responses received from outgoing requests. By default, the SDK will send the response body size based on the `content-length` header.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Alert level="warning" title="Upcoming Changes in v11">
2+
3+
In version 11, the default behavior of the RequestData integration will likely change to be more privacy-conscious. Fields like `cookies`, `data`, `headers`, `query_string`, and `user` will default to `false` instead of `true`. To continue capturing this data after upgrading to v11, you'll need to either explicitly configure the <PlatformLink to="/configuration/integrations/requestdata/">RequestData Integration</PlatformLink> or set <PlatformLink to="/configuration/options/#sendDefaultPii">`sendDefaultPii: true`</PlatformLink>.
4+
5+
</Alert>

0 commit comments

Comments
 (0)