Skip to content

feat(integrations): Gate user info behind data_collection config#6876

Open
ericapisani wants to merge 23 commits into
masterfrom
py-2583-misc
Open

feat(integrations): Gate user info behind data_collection config#6876
ericapisani wants to merge 23 commits into
masterfrom
py-2583-misc

Merge branch 'master' into py-2583-misc

72bc9db
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: code-review completed Jul 24, 2026 in 0s

1 issue

code-review: Found 1 issue (1 medium)

Medium

Request body handling skipped when data_collection is configured - `sentry_sdk/integrations/aws_lambda.py:453`

When data_collection is enabled, the elif should_send_default_pii() branch containing request body handling is never reached, so body data is silently dropped even if send_default_pii=True is also set.


⏱ 21m 1s · 1.3M in / 134.1k out · $0.73

Annotations

Check warning on line 453 in sentry_sdk/integrations/aws_lambda.py

See this annotation in the file changed.

@sentry-warden sentry-warden / warden: code-review

Request body handling skipped when data_collection is configured

When `data_collection` is enabled, the `elif should_send_default_pii()` branch containing request body handling is never reached, so body data is silently dropped even if `send_default_pii=True` is also set.