-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telemetry enhancement: Add "kill switch" for strict corporate environments #50
Comments
As currently it works with DOTNET infrastructure, it may be great to first check that customer opt out of DOTNET telemetry: DOTNET_CLI_TELEMETRY_OPTOUT. With it, for most customers it will still be active by default. For customers, that worry about telemetry data enough to opt-out Microsoft telemetry, it will not irritate them unless they explicitly allowed it. |
@iskiselev only thing is apparently from .net7 dotnet telemetry is opt-in, not opt-out. However, the analyzer can still display a diagnostics message when opted-out. The least of all evils to just raise the awareness. |
@psimsa , after more research (https://learn.microsoft.com/en-us/dotnet/core/tools/telemetry, dotnet/sdk#14556, dotnet/sdk#25935) dotnet cli telemetry is still opt-out in all Microsoft builds and for source build (used by OS maintainers) it is disabled. |
I agree with @iskiselev that SL should follow whatever is set for Also, telemetry should be entirely orthogonal with the sponsorship validation/verification. I'd even go as far as saying that telemetry should just follow the dotnet envvar and not even require a separate one (after all, if you don't trust MS for telemetry, why would you trust anyone else?). Although perhaps you might want to disable just SL? In that case, you'd most likely disable it entirely, and not just telemetry though? So:
I don't see a good scenario where you'd opt out of SL telemetry but still want the sponsoring check... |
@kzu, if sponsorship validation would be reimplemented to not include any trackable information, it would really be orthogonal to telemetry. While sponsorship check is done by fetching any data from internet in a build, it still too similar to telemetry - just because it is possible to collect some information from network request, even if it does not include any PII. It still include IP address, so it is possible to say how often some IP builds SL-dependent projects - which is, in fact telemetry. If SL check would be reimplemented (for example, all network request will be done by separately installed tool - while customer build will either use data already provided by tool or log message suggesting to install it) - in that case, telemetry and sponsorship checking would be really separate entities. |
I've decided to drop telemetry for now see #34 (comment). Hopefully this is something nuget itself can do better. |
While I understand and support the motivation behind SponsorLink, in order to be usable in many corporate environments it needs to provide ability to disable the telemetry.
Similar to how this is handled in .Net, where telemetry is on by default and you can disable it by setting environment variable, SL could provide similar functionality.
Proposal:
That should satisfy many corporate security departments while still keeping the awareness up.
The text was updated successfully, but these errors were encountered: