Part of #5420. Phase 2 — behavior-neutral consumer migration (via the SendDefaultPii bridge). Gate core-SDK user info collection on resolved `UserInfo` instead of reading `SendDefaultPii` directly: - `src/Sentry/Internal/Enricher.cs:85-93` — env username (`IsEnvironmentUser`), `User.IpAddress ??= "{{auto}}"`. - `src/Sentry/Internal/MainSentryEventProcessor.cs:76-79` — `Environment.MachineName` as ServerName. - `src/Sentry/SentryLog.cs:161-163` — `server.address` attribute on logs. Explicitly user-set `User` data remains untouched (never gated).
Activity
linear-code commentedon Jul 22, 2026
NET-763
test(data-collection): Cover user-set data with UserInfo on and off
docs(data-collection): Say unmigrated integrations ignore the categories
feat: DataCollection.UserInfo now gates the environment username and …