Sentry.Maui sends the user's device name with no PII gate
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 775
- フォーク
- 262
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 118
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/sentry-dotnet のほかの issue
-
chore: remove stale IL3050/IL3053 workaround from the iOS sample対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンState: Needs Discussion
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
getsentry/sentry-dotnet#6071 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Heap dumps: every SDK shutdown logs "Error waiting for GarbageCollectionMonitor task to complete"対応中かも @pcbeingused33 が今日担当しました。 オープンState: Needs Discussion
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
getsentry/sentry-dotnet#6039 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
.NET Platform: Android Task
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
getsentry/sentry-dotnet#6020 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Move the Blazor WebAssembly sample off the deprecated DevServer対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン.NET Framework: Blazor
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
getsentry/sentry-dotnet#5906 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Docs MSBuild Needs Docs Update
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getsentry/sentry-dotnet#5691 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
getsentry/sentry-dotnet の issue をすべて見る
似ている issue
-
In-car displays show 0 km/h and P while the AV drives対応中かも @bazilinskyy が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
bazilinskyy/coupled-sim#366 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BaryoDev/umbraco-pwa#196 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
microsoft/fluentui-blazor#5688 ·
メンテナーはふだん 1 日以内に返信
-
bug flaky lsp-transport small
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信