Anonymize requests with a GitHub token pattern

Configure the policy to anonymize requests using a custom regex pattern for GitHub personal access tokens.

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!