Custom regex injectionv3.9+

You can specify a custom regex for matching by using the custom_injections parameter in the Injection Protection plugin config. To create a custom regex, you must define the following:

  • The name of the regex (used in Gateway logs)
  • The regex string you want to check for a match
  • The content you want to check for a regex match (such as headers, path and query, and body)

Set up the plugin

Something wrong?

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!