このページは、まだ日本語ではご利用いただけません。翻訳中です。
Partner Plugin: This plugin is developed, tested, and maintained by Traceable.ai
Traceable’s Kong plugin lets Traceable capture a copy of the API traffic that is flowing through Kong Gateway. Using this data, Traceable is able to create a security posture profile of APIs hosted on Kong. Based on its findings, the Traceable plugin can also block traffic coming from malicious actors and IPs into Kong Gateway.
How it works
The Traceable Kong Plugin captures request and response data to forward to a locally running Traceable Module Extension (TME).
Prerequisites
The Traceable Kong Plugin requires a Traceable Platform Agent to be deployed in your environment. For complete deployment instructions of the Traceable Platform Agent, visit the traceable.ai docs site.
How to install
Once you have deployed a Traceable Platform Agent, you are ready to install the plugin using the LuaRocks package manager:
-
Install the traceable plugin:
luarocks install kong-plugin-traceable
-
Update your loaded plugins list in Kong Gateway.
In your
kong.conf
, appendtraceable
to theplugins
field. Make sure the field is not commented out.plugins = bundled,traceable
-
Restart Kong Gateway:
kong restart
Using the plugin
Enable the Traceable plugin on a service:
$curl -X POST http://localhost:8001/services/{serviceId}/plugins/ \
--data "name=traceable" \
--data "config.ext_cap_endpoint=<ext_cap_endpoint>" \
--data "config.service_name=<name_of_service>" \
--data "config.allow_on_failure=<true/false>"