Transform and customize Kong Gateway response exit messages using Lua functions. The plugin’s capabilities range from changing messages, status codes, and headers, to completely transforming the structure of Kong Gateway responses.
untrusted_lua
must be set to eitheron
orsandbox
in yourkong.conf
file for this plugin to work. The default value issandbox
, which means that Lua functions are allowed, but will be executed in a sandbox which has limited access to the Kong Gateway global environment.