Impart Security 플러그인 설정 레퍼런스
Impart Security 플러그인 설정 레퍼런스 (Impart Security Plugin Configuration Reference)
이 문서는 Kong의 Impart Security 플러그인에서 설정할 수 있는 모든 파라미터를 JSON 스키마 형태로 정리한 구성 레퍼런스예요. inspector_rpc_addr, max_body_size, settings_enabled, timeout_ms 같은 플러그인 고유 옵션과 consumer_group, protocols 같은 공통 옵션의 기본값과 의미를 한눈에 확인할 수 있어요. 특히 LLM/MCP 트래픽처럼 바디가 큰 요청을 검사할 때 max_body_size와 timeout_ms를 늘려야 한다는 점이 항목 설명에 담겨 있으니, 플러그인 동작을 튜닝하거나 설정값을 결정할 때 참고로 삼으면 좋아요
출처: 문서
본문
{
"properties": {
"config": {
"properties": {
"inspector_rpc_addr": {
"default": "/tmp/impart.sock",
"description": "Socket to communicate with the Impart inspector.",
"type": "string"
},
"max_body_size": {
"default": 10000,
"description": "Maximum number of request/response body bytes captured for inspection. Larger bodies are truncated. Raise this for LLM/MCP traffic, which carries bodies well over the 10 KB default.",
"exclusiveMinimum": 0,
"type": "integer"
},
"settings_enabled": {
"default": true,
"description": "Poll the inspector for per-route inspection profiles (SettingsRPC) so request inspection sends the resolved inspection mode and honors per-route body-size / timeout overrides. When disabled, the static max_body_size / timeout_ms apply to all routes.",
"type": "boolean"
},
"settings_interval_ms": {
"default": 30000,
"description": "Interval (milliseconds) between inspection-profile (SettingsRPC) polls. Mirrors the nginx module's 30s settings poll. Ignored when settings_enabled is false.",
"exclusiveMinimum": 0,
"type": "integer"
},
"timeout_ms": {
"default": 100,
"description": "Per-call timeout (milliseconds) for the inspector RPC send/receive. Raise for slow LLM/MCP inspection. Mirrors the nginx module's impart_send_timeout / impart_read_timeout. Used as the fallback when no inspection profile resolves a per-route timeout.",
"exclusiveMinimum": 0,
"type": "integer"
}
},
"required": []
},
"consumer_group": {
"additionalProperties": false,
"description": "If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups",
"properties": {
"id": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"protocols": {
"default": [
"http",
"https"
],
"description": "A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.",
"items": {
"enum": [
"http",
"https"
],
"required": [],
"type": "string"
},
"type": "array"
},
"route": {
"additionalProperties": false,
"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.",
"properties": {
"id": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"service": {
"additionalProperties": false,
"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.",
"properties": {
"id": {
"type": "string"
}
},
"required": [],
"type": "object"
}
},
"required": []
}
관련 리소스
더 알아보기 (Learn more)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.