Adding a PingIntelligence policy
About this task
To add a PingIntelligence policy to the Akana API Gateway:
Steps
-
Sign on to Akana Policy Manager, navigate to the Tenant, and click Operational Policies under Policies.
-
Select Add Policy.
-
For Type, select Private Operational Script Policy from the drop-down list, and click Next.

-
Enter Policy Name and Description, click Finish, and then click Close.

-
Navigate to Workbench.
-
In the Private Operational Script Policy section, select the policy name and click Modify.

-
Click on Imports. Select the script added in Adding an input script and import it by clicking <<.
-
Select JavaScript for Language from the list.
-
Copy the contents of the
pi_policy.js
script and paste them into Expression under Source.

-
Click Finish and then click Close.
-
In the WorkFlow Actions, click Activate Policy to activate the PingIntelligence policy.