feat(integrations): Gate user info behind data_collection config - #6876
Merged
@sentry/warden / warden
completed
Jul 23, 2026 in 0s
2 issues
Medium
AWS Lambda body handling skipped when data_collection is enabled - `sentry_sdk/integrations/aws_lambda.py:441-456`
When has_data_collection_enabled is true, the elif should_send_default_pii() branch is skipped, so request body is neither collected nor redacted.
AWS Lambda user-info tests use non-standard event structure - `tests/integrations/aws_lambda/test_aws_lambda.py:430-432`
The test payload changed from standard requestContext.identity to a top-level identity field that doesn't match real AWS API Gateway events, causing tests to verify behavior with a fictional event structure instead of production reality.
4 skills analyzed
| Skill | Findings | Duration | Cost |
|---|---|---|---|
| security-review | 0 | 14.4s | $0.06 |
| code-review | 2 | 15m 17s | $1.35 |
| find-bugs | 0 | 37m 9s | $1.93 |
| skill-scanner | 0 | 23m 8s | $0.08 |
⏱ 75m 49s · 12.2M in / 263.6k out · $3.42
Loading