MuleSoft Mule for wizard¶
The Wallarm Edge node can be connected to your Mule Gateway in synchronous mode to inspect traffic before it reaches Mule APIs - without blocking any requests.
Follow the steps below to set up the connection.
1. Upload the Wallarm policy to MuleSoft Exchange
-
Download the provided code bundle for your platform.
-
Extract the policy archive.
-
Navigate to MuleSoft Anypoint Platform → Access Management → Business Groups → choose your organization → copy its ID.
-
Specify the copied group ID in the
groupId
parameter of the downloadedpom.xml
file: -
In the extracted archive, create the
conf
directory and asettings.xml
file inside it with the following content:<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>anypoint-exchange-v3</id> <username>myusername</username> <password>mypassword</password> </server> <server> <id>mulesoft-releases-ee</id> <username>myusername</username> <password>mypassword</password> </server> </servers> </settings>
Replace
username
andpassword
with your credentials. -
Deploy the policy to MuleSoft:
Your custom policy is now available in your MuleSoft Anypoint Platform Exchange.
2. Attach the Wallarm policy to your API
You can attach the Wallarm policy to either an individual API or all APIs.
-
To apply the policy to an individual API, navigate to Anypoint Platform → API Manager → select the desired API → Policies → Add policy.
-
To apply the policy to all APIs, go to Anypoint Platform → API Manager → Automated Policies → Add automated policy.
-
Choose the Wallarm policy from Exchange.
-
Specify the Wallarm node URL including
https://
. -
If necessary, modify other parameters.
-
Apply the policy.