From 6dd4b3f503ea0cdae07ca678a2a71d7619b58a1c Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Tue, 25 Feb 2025 15:03:22 +0100 Subject: [PATCH] fix(apple): Usages of sendDefaultPii Document the only usage of sendDefaultPii in the Cocoa SDK. Fixes GH-12751 --- .../apple/common/data-management/data-collected.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/platforms/apple/common/data-management/data-collected.mdx b/docs/platforms/apple/common/data-management/data-collected.mdx index 1ee3e30c4d64c..ce02a8da83d72 100644 --- a/docs/platforms/apple/common/data-management/data-collected.mdx +++ b/docs/platforms/apple/common/data-management/data-collected.mdx @@ -12,6 +12,11 @@ The category types and amount of data collected vary, depending on the integrati The HTTP Client Errors, 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. +## Users' IP Addresses + +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. + +To enable sending the user's IP address, set `sendDefaultPii=true`. ## Request URL