microsoft / ApplicationInsights-Ruby

Microsoft Application Insights SDK for Ruby
Other
30 stars 36 forks source link

Add parameter to optionally send IP address #78

Open pezholio opened 5 years ago

pezholio commented 5 years ago

In February last year, Microsoft removed logging of the IP address. In some cases this is necessary (for example, to analyse requests after a security breach, or fraud attempt), and doesn't go against GDPR, as long as the user is notified, and data is deleted after a sensible time period. There is some documentation about how to do this, but this only covers .NET

This PR adds an optional parameter to turn on IP logging, adding a clientIP parameter to the customProperties field in Application Insights.

msftclas commented 5 years ago

CLA assistant check
All CLA requirements met.