DataDome 플러그인 구성 참조
DataDome 플러그인 구성 참조 (DataDome Plugin Configuration Reference)
이 문서는 Kong에서 DataDome 플러그인을 구성할 때 사용하는 파라미터들을 스키마 형태로 정리한 참조 자료예요. DataDome API 서버 엔드포인트, 라이선스 키, 타임아웃, URL 포함/제외 정규식 패턴 같은 config 필드를 항목별로 확인할 수 있어요. 아울러 consumer, consumer_group, route, service, protocols처럼 플러그인이 어떤 요청에 적용될지 범위를 좁히는 필드들도 함께 설명하고 있어요. 실제 설정값을 채워 넣기 전에 각 필드의 역할을 파악하는 데 유용하게 쓸 수 있어요
출처: 문서
본문
{
"properties": {
"config": {
"properties": {
"datadome_endpoint": {
"description": "Hostname of the API Server",
"type": "string"
},
"datadome_server_side_key": {
"default": " ",
"description": "DataDome license key",
"type": "string"
},
"datadome_timeout": {
"description": "Timeout for regular API calls",
"type": "integer"
},
"datadome_url_pattern_exclusion": {
"description": "Regular expression to exclude URLs",
"type": "string"
},
"datadome_url_pattern_inclusion": {
"description": "Regular expression to include URLs",
"type": "string"
}
},
"required": []
},
"consumer": {
"additionalProperties": false,
"description": "If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.",
"properties": {
"id": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"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)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.