Cloudflare for wizard¶
You can connect the Wallarm Edge node to Cloudflare to inspect traffic in either synchronous or asynchronous mode - without blocking any requests.
Follow the steps below to set up the connection.
-
Download the provided code bundle for your platform.
-
Create a Cloudflare worker using the downloaded code.
-
Set the Wallarm node URL in the
wallarm_node
parameter. -
If using asynchronous (out-of-band) mode, set the
wallarm_mode
parameter toasync
. -
If required, modify other parameters.
-
In Website → your domain, go to Workers Routes → Add route:
- In Route, specify the paths to be routed to Wallarm for analysis (e.g.,
*.example.com/*
for all paths). - In Worker, select the Wallarm worker you created.
- In Route, specify the paths to be routed to Wallarm for analysis (e.g.,