Block invalid requestsv3.8+

Run the JSON Threat Protection plugin in block mode.

Define a JSON threat protection policy and block any invalid requests. If a request doesn’t conform to the configured policy, the plugin blocks it from being proxied and instead returns the configured status code and error message.

For a tutorial on setting up and validating this plugin, see Validate incoming JSON request bodies with JSON Threat Protection.

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!