Investigate writing a Kong plugin with Lua to zero the last Octet of an ip address to enable usage of the cloud for analytics without personal information.
1, it will be used for IP anonymous on cloud analytic services like google, snowplow, etc
2, once the plugin enabled for an API behind Kong, it should zero out last octet of client’s real ip and pass as X-Forward-For and Origin to upstream
Investigate writing a Kong plugin with Lua to zero the last Octet of an ip address to enable usage of the cloud for analytics without personal information.
1, it will be used for IP anonymous on cloud analytic services like google, snowplow, etc 2, once the plugin enabled for an API behind Kong, it should zero out last octet of client’s real ip and pass as X-Forward-For and Origin to upstream
https://getkong.org/docs/0.11.x/plugin-development/ https://github.com/Kong/kong-plugin