Hide sanitized items from logs

Configure the AI Sanitizer policy to anonymize phone numbers and keep the sanitized items out of your log policies. Use this when the logs themselves must not hold sensitive data.

Prerequisites

Environment variables

  • SANITIZER_SERVICE_HOST: The sanitizer service’s host

Set up the policy

Attach the policy

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!