Sentry.Maui sends the user's device name with no PII gate
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start by reading MauiDeviceData.ApplyMauiDeviceData and its caller, SentryMauiEventProcessor, then review how SendDefaultPii is applied to device data and the related discussion in #5932. Decide how device names should interact with DataCollection; done means device names are gated consistently with the agreed option and covered by tests for the relevant settings.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Sentry.Maui sends the name of the user's device on every event, with no option gating it. MauiDeviceData.ApplyMauiDeviceData (called from SentryMauiEventProcessor) sets:
device.Name ??= deviceInfo.Name;
SendDefaultPii doesn't gate it, and no DataCollection option does either. It has been this way since #1713 (2022).
On the platforms MAUI targets, DeviceInfo.Name is often the user's own name for their device:
| Platform | MAUI's DeviceInfo.Name |
Typical value |
|---|---|---|
| Android | Settings.Global device_name (API 25+), falling back to Model |
The name the user gave the phone, e.g. "Jane's Pixel" |
| iOS | UIDevice.CurrentDevice.Name |
Generic ("iPhone") on iOS 16+ unless the app has Apple's user-assigned device name entitlement; the user's name for it before that |
| Windows | EasClientDeviceInformation.FriendlyName |
The computer name |
| macOS | SCDynamicStoreCopyComputerName |
The computer name, e.g. "Jane's MacBook Pro" |
Other SDKs
- sentry-cocoa doesn't send a device name. The device context has
modelandmodel_idonly. - sentry-java (Android) doesn't set a device name.
- sentry-dart sets
device.namefrom the hostname, and only whensendDefaultPiiis on.
So MAUI is the only mobile SDK we found that sends it unconditionally.
Data collection
The data collection spec puts "Device and environment context (OS, runtime, non-PII identifiers)" in technical context, which no dataCollection option gates, and puts "Identity (name, …)" under PII. A user-chosen device name is closer to the second. No dataCollection option covers it, the same gap as the hostname sent as server_name, discussed in #5932.
To decide
- Gate it on
SendDefaultPiinow, as Dart does. This changes what existing MAUI apps send by default. - What gates it once
DataCollectionis configured. If .NET adds a top-levelAttachServerNamethat defaults tofalseon Android and iOS (the shape #5932 discusses for the hostname), device name could follow the same switch or get its own.
Part of #5420.
- Lenguaje dominante
- C#
- Estrellas
- 775
- Forks
- 262
- Merge medio
- 1 d 16 h
- PR fusionados (30 d)
- 118
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getsentry/sentry-dotnet
-
chore: remove stale IL3050/IL3053 workaround from the iOS samplePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoState: Needs Discussion
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
getsentry/sentry-dotnet#6071 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Heap dumps: every SDK shutdown logs "Error waiting for GarbageCollectionMonitor task to complete"Posiblemente ocupada @pcbeingused33 la tomó hoy. AbiertoState: Needs Discussion
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
getsentry/sentry-dotnet#6039 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
.NET Platform: Android Task
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
getsentry/sentry-dotnet#6020 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Move the Blazor WebAssembly sample off the deprecated DevServerPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto.NET Framework: Blazor
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
getsentry/sentry-dotnet#5906 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Docs MSBuild Needs Docs Update
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
getsentry/sentry-dotnet#5691 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de getsentry/sentry-dotnet
Issues similares
-
In-car displays show 0 km/h and P while the AV drivesPosiblemente ocupada @bazilinskyy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
bazilinskyy/coupled-sim#366 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
BaryoDev/umbraco-pwa#196 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
microsoft/fluentui-blazor#5688 ·
Los mantenedores suelen responder en 1 día
-
bug flaky lsp-transport small
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día