Skip to content

Commit fb0e761

Browse files
fix(apple): Usages of sendDefaultPii (#12833)
Document the only usage of sendDefaultPii in the Cocoa SDK. Fixes GH-12751
1 parent 0a90cb1 commit fb0e761

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/platforms/apple/common/data-management/data-collected.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ The category types and amount of data collected vary, depending on the integrati
1212

1313
The <PlatformLink to="/configuration/http-client-errors">HTTP Client Errors</PlatformLink>, which are enabled by default, send the HTTP headers of the failed request and response to Sentry. The SDK uses a [denylist](https://github.com/getsentry/sentry-cocoa/blob/main/Sources/Swift/Tools/HTTPHeaderSanitizer.swift) to filter out any headers that contain sensitive data.
1414

15+
## Users' IP Addresses
16+
17+
By default, the Sentry SDK doesn't send the user's IP address. Once enabled, the Sentry backend services will infer the user ip address based on the incoming request, unless certain integrations you can enable override this behavior.
18+
19+
To enable sending the user's IP address, set <PlatformLink to="/configuration/options/#send-default-pii">`sendDefaultPii=true`</PlatformLink>.
1520

1621
## Request URL
1722

0 commit comments

Comments
 (0)