The PingIntelligence sideband policy supports integration with MuleSoft 3.9 and 4.x API Gateways.
The policy package has the following two files:
- policy.yaml
- policy.xml
Follow the steps to deploy PingIntelligence policy based on the version of the MuleSoft API Gateway. For PingIntelligence to detect attacks based on username, make sure that the PingFederate access token enforcement policy is the first policy deployed. PingIntelligence policy should be the second policy.
Deploying PingIntelligence for MuleSoft 3.9
Before applying the PingIntelligence policy, make sure that the API to which you want to apply the policy is defined. The steps below use an API named PingIntelligenceAPI for illustration purposes.
To deploying the PingIntelligence policy to MuleSoft Anypoint 3.9:
Deploying PingIntelligence for MuleSoft 4.x
The PingIntelligence policy for MuleSoft now supports two languages:
- Groovy
- Java
Based on your environment and requirements, either of the policies can be deployed.
The PingIntelligence MuleSoft Java policy supports asynchronous invocation from the Gateway to PingIntelligence ASE.
The PingIntelligence policy for MuleSoft tar is now comprised of the following structure (after extraction):
pingidentity/
`-- mulesoft-policy
|-- mulesoft-3.9
| |-- policy.xml
| `-- policy.yaml
|-- mulesoft-4.0-groovy
| |-- policy.xml
| |-- policy.yaml
| `-- pom.xml
`-- mulesoft-4.0-java
|-- mule-artifact.json
|-- policy.xml
|-- policy.yaml
`-- pom.xml
Complete the following steps to deploy the PingIntelligence policy for the MuleSoft 4.0 Groovy or Java policy:
To deploy the PingIntelligence policy for the MuleSoft 4.x or MuleSoft 4.0 Groovy or Java policy: