MindscapeHQ / raygun4net

Raygun provider for .NET
https://raygun.com
MIT License
126 stars 93 forks source link

Mask request IpAddress #385

Open bernie-r2r opened 6 years ago

bernie-r2r commented 6 years ago

Add a new configuration property "isRequestIpAddressMasked". When set to true, the request IP has the last octet zeroed, effectively anonymizing the IP address.

This property is also available on the .NET 4 RaygunClient. It has not been exposed to any other clients, but it would be trivial to do so.

This change makes it possible to be GDPR compliant (when also ignoring relevant headers and server variables).