The Pre-Function plugin (also known as Kong Functions, Pre-Plugin) lets you dynamically run Lua code from Kong Gateway before other plugins in each phase.
This plugin is part of a pair of serverless plugins. If you need to run Lua code after other plugins in each phase, see the Post-Function plugin.
Warning: The Pre-Function and Post-Function serverless plugins allow anyone who can enable the plugin to execute arbitrary code. If your organization has security concerns about this, disable the plugins in your
kong.conffile.
Note: This plugin does not support conditional expressions.