About Custom Policies

When built-in policies that are available do not cover your use case, Policy SDK helps you build your own custom policies.

API execution is based on a policy-based execution flow, which is also referred to as policy pipeline. Policies are applied to an API definition to secure, throttle, route, or log requests sent to your API. Depending on the policies applied, requests can be rejected when they do not meet criteria you specify when configuring each policy. Oracle provides predefined built-in policies for Security, Traffic Management, Interface Management, Routing, and so on.

However, the set of built-in policies that are available might not cover all your use cases. Use Policy SDK to build your own custom policies to address the use cases that built-in policies do not address.

For more information, see Understanding Policies in Using Oracle API Platform Cloud Service guide.