Kong · Schema

EventGatewayACLRuleResourceNamesDynamicArray

This expression should evaluate to an array of glob patterns, equivalent to the `match` values in the static array form of `resource_names`. **Requires a minimum runtime version of `1.1`**.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source
View JSON Schema on GitHub

JSON Schema

kong-eventgatewayaclruleresourcenamesdynamicarray-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EventGatewayACLRuleResourceNamesDynamicArray",
  "title": "EventGatewayACLRuleResourceNamesDynamicArray",
  "description": "This expression should evaluate to an array of glob patterns,\nequivalent to the `match` values in the static array form of `resource_names`.\n\n**Requires a minimum runtime version of `1.1`**.",
  "type": "string",
  "example": "context.auth.token.claims[\"topics\"]",
  "x-expression": {
    "type": "array",
    "items": {
      "type": "string"
    },
    "fields": [
      {
        "name": "context.auth.principal.name",
        "type": "string",
        "description": "Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER."
      },
      {
        "name": "context.auth.type",
        "type": "string",
        "description": "The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer.\n"
      },
      {
        "name": "context.auth.token.claims",
        "type": "object",
        "description": "All claims from the JWT token. Only populated for sasl_oauth_bearer authentication. Claims can be strings, numbers, booleans, arrays or nested JSON objects."
      }
    ]
  },
  "x-min-runtime-version": "1.1"
}