MuleSoft Flex for wizard¶
The Wallarm Edge node can be connected to your MuleSoft Flex Gateway in either synchronous and asynchronous mode - without blocking any requests.
Follow the steps below to set up the connection.
Upload the Wallarm policy to MuleSoft Exchange
-
Download the provided code bundle for your platform.
-
Extract the policy archive.
-
Ensure the machine you will use to publish the policy meets all necessary requirements.
-
Navigate to MuleSoft Anypoint Platform → Access Management → Business Groups → choose your organization → copy its business group ID.
-
In the extracted policy directory →
Cargo.toml
→[package.metadata.anypoint]
→group_id
, specify the copied group ID: -
Authenticate with Anypoint CLI in the same terminal session where you are working with the policy:
-
Build and publish the policy:
Your custom policy is now available in your MuleSoft Anypoint Platform Exchange.
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
http://
orhttps://
in thewallarm_node
parameter. -
If necessary, modify other parameters.
-
Apply the policy.