This porject includes a set of policies to integrate Axway API Management solution with PingIntelligence for APIs. When you deploy these policies, you will be able to enable additional API protection through PingIntelligence's AI engine.
This artefact was successfully tested for the following versions:
- Axway AMPLIFY API Management 7.5.3 or 7.6.2
- PingIntelligence for APIs v.3.1.1
- Axway AMPLIFY API Management 7.5.3 or 7.6.2
- PingIntelligence for APIs v.3.1.1
You need to use Axway Policy Studio to import provided policies:
- Clone this project or download the policies folder to your machine.
- Open Policy Studio and load your API Gateway configuration project.
- Click the Import Configuration Fragment button at the top of the Policy Studio window.
- Select Axway-PI_integration_policies.xml (located in the policies folder of this project) and click the Open button.
- Accept default values by clicking OK in the next two windows. You should have a new container with 4 policies in it.
- There are 4 externalized parameters that you can find under Environment Configuration -> Environment Settings.
- Set Connect to ASE Request and Connect to ASE Response to an ASE server URL.
- If you enable API key for connecting to the ASE server, specify that key in Add HTTP Header parameters (make sure you update two variables and Request and Response settings).
- The last configuration step is to configure imported policies for API Manager. Click Server Settings in the navigation tree on the left. Expand API Manager in the Server Settings panel.
- Click Request Policies and add the ASE Request Handler policy to the list.
- Click Response Policies and add the ASE Response Handler policy to the list.
- Save the configuration.
- Load the configuration to your Axway API Gateway.
- Configure APIs in Axway API Manager.
- For those APIs that need to be protected by PingIntelligence for APIs, set request policy to ASE Request Handler and response policy to ASE Response Handler.
- Add the following tags for each API to be protected:
- ping_ai (required)
- ping_cookie (optional) - if you want to analyze cookie
- ping_login (optional) - if you want to protect a login URL
- Follow PingIntelligence for APIs documentation to register these APIs with its API Security Enforce component.
- The policies are provided as a sample for integration with PingIntelligence for APIs
- Provided policies implement a single server integration. For a producation deployment, make sure you configure the PingIntelligence for APIs product to support HA
Please read Contributing.md for details on our code of conduct, and the process for submitting pull requests to us.