Kong Plug In
Prerequisites
An existing deployment of Kong for Linux.
Installation
For deployment instructions follow steps in the Profile
Step 1 - Enforce Policy if not done already.
Step 2 - Run these commands from a Linux server shell:
Install the dependencies
sudo apt-get update
sudo apt-get install -y libbrotli1 libbrotli-dev zlib1g-dev build-essential git curl ca-certificatesRun the command to install the Lua Plug In
luarocks install --server=https://luarocks.org/manifests/cloud-guard-waf cloudguard-waf-kong-plugin
export KONG_PLUGINS="bundled,cloudguard-waf-kong-plugin"
kong restart
curl -i -X POST http://localhost:8001/plugins --data "name=cloudguard-waf-kong-plugin"3: Install the Agent
Run the following commands from the linux server shell, from the same location as previous step:
chmod +x nanoegg
./nanoegg --install --token <token>
The installer creates an initial registration with the CloudGuard WAF cloud and downloads the latest version of the agent installation.
Step 4: Verify installation
The agent will automatically install, connect and should display a successful connection message within the CloudGuard WAF web portal:
To check agent status after the installation from the Linux server shell, you can run:
cpnano -s
Last updated
Was this helpful?