このページは、まだ日本語ではご利用いただけません。翻訳中です。
Contact 3rd party for support: This plugin is developed, tested, and maintained by Impart Security
Impart’s API Protection and WAF platform delivers comprehensive protection for APIs, microservices, and serverless applications in cloud-native environments.
Use the Impart plugin to:
- Discover and catalog your API and web application Attack Surface.
- Protect your APIs and web applications from injection, enumeration, automated threats, and other attacks.
- Find and help you fix your API and web application vulnerabilities and misconfigurations with built in API testing.
- Reduce your API and web application risk profile.
How it works
The Impart Kong plugin allows Impart to inspect your HTTP traffic within your own environment to detect threats, anomalies, and other interesting insights. These insights are used to protect your APIs in real time through an integration with Kong that introduces minimal additional latency, fails open to ensure reliability, and keeps sensitive data within your own environment to protect your privacy.
How to install
Custom plugins can be installed via LuaRocks. A Lua plugin is distributed in .rock
format, which is
a self-contained package that can be installed locally or from a remote server.
If you used one of the official Kong Gateway installation packages, the LuaRocks utility
should already be installed in your system.
Install the .rock
in your LuaRocks tree, that is, the directory in which LuaRocks
installs Lua modules.
-
Install the Impart plugin:
luarocks install kong-plugin-impart
-
Update your loaded plugins list in Kong Gateway.
In your
kong.conf
, appendimpart
to theplugins
field. Make sure the field is not commented out.plugins = bundled,impart # Comma-separated list of plugins this node # should load. By default, only plugins # bundled in official distributions are # loaded via the `bundled` keyword.
-
Restart Kong Gateway:
kong restart
Using the plugin
This plugin requires having installed an Impart Inspector. Navigate to the Impart console for step-by-step instructions.
Kong Gateway
If you already configured an API, execute the command below after replacing <YOUR_API>
with the name of your API and <inspector_rpc_addr>
if different than the default.
curl -i -X POST http://localhost:8001/services/<YOUR_API>/plugins \
-F "name=impart" \
-F "config.inspector_rpc_addr=<inspector_rpc_addr>"
Kong Konnect
If you are a Konnect administrator, install the Impart plugin as a custom plugin.
If the plugin has already been installed by an administrator, you can enable it through Konnect:
- Depending on where you want to enable Impart, select Plugins.
- Click on + New Plugin
- On Custom Plugins, select Kong Plugin Impart.
- Fill in the
Inspector Rpc Addr
field. - Click Save.
For further information, please check our Impart Kong documentation page.