Closed hans2520 closed 1 year ago
Hi @hans2520 !
Thanks for this!
The --disable-telemetry flag removes all telemetry data from your system (like Python version) that we send for anonymous data collection. It will still send the safety version number since we need to know this.
I realize this isn't particularly clear, so I'll update all the docs and readmes to explain this.
I will also suggest to the team that we change the name of that flag to be more clear, to something like: --disable-optional-telemetry-data or --disable-anonymous-data-statistics
Best, Justin
@Jwomers I kind of figured. When your param is named "telemetry" -- even though you need that info, it just seems like it's not working. That's the other thing you might want to look into changing rather than the flag name, is the the json param so that it's something like "config" or "config_info", etc. You'll know what makes most sense!
Description
Safety
--disable-telemetry
option does not appear to disable telemetryWhat I Did
We can see below safety is attempting to reach out to
https://pyup.io/aws/safety/free/insecure.json?telemetry=%7B%22safety_version%22%3A+%222.0.0%22%7D
despite--disable-telemetry
flag passed in.