Kong · Schema

InjectionProtectionPluginConfig

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen-Source

Properties

Name Type Description
config object
name object
protocols array A set of strings representing HTTP protocols.
route object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service object If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
View JSON Schema on GitHub

JSON Schema

kong-injectionprotectionpluginconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InjectionProtectionPluginConfig",
  "title": "InjectionProtectionPluginConfig",
  "x-speakeasy-entity": "PluginInjectionProtection",
  "properties": {
    "config": {
      "type": "object",
      "properties": {
        "custom_injections": {
          "description": "Custom regexes to check for.",
          "type": "array",
          "items": {
            "properties": {
              "name": {
                "description": "A unique name for this injection.",
                "type": "string"
              },
              "regex": {
                "description": "The regex to match against.",
                "type": "string"
              }
            },
            "required": [
              "name",
              "regex"
            ],
            "type": "object"
          }
        },
        "enforcement_mode": {
          "description": "Enforcement mode of the security policy.",
          "type": "string",
          "default": "block",
          "enum": [
            "block",
            "log_only"
          ]
        },
        "error_message": {
          "description": "The response message when validation fails",
          "type": "string",
          "default": "Bad Request"
        },
        "error_status_code": {
          "description": "The response status code when validation fails.",
          "type": "integer",
          "default": 400,
          "maximum": 499,
          "minimum": 400
        },
        "injection_types": {
          "description": "The type of injections to check for.",
          "type": "array",
          "items": {
            "enum": [
              "java_exception",
              "js",
              "sql",
              "sql_low_sensitivity",
              "ssi",
              "xpath_abbreviated",
              "xpath_extended"
            ],
            "type": "string"
          },
          "default": [
            "sql"
          ]
        },
        "locations": {
          "description": "The locations to check for injection.",
          "type": "array",
          "items": {
            "enum": [
              "body",
              "headers",
              "path",
              "path_and_query",
              "query"
            ],
            "type": "string"
          },
          "default": [
            "path_and_query"
          ]
        }
      }
    },
    "name": {
      "const": "injection-protection"
    },
    "protocols": {
      "description": "A set of strings representing HTTP protocols.",
      "type": "array",
      "items": {
        "enum": [
          "grpc",
          "grpcs",
          "http",
          "https"
        ],
        "type": "string"
      },
      "format": "set",
      "default": [
        "grpc",
        "grpcs",
        "http",
        "https"
      ]
    },
    "route": {
      "description": "If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        }
      }
    },
    "service": {
      "description": "If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/kong-injectionprotectionpluginconfig"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.