Saturday, 13 May 2023

apigee policies

 Apigee has a wide variety of policies that can be applied to API proxies to control and modify API requests and responses:

• Rate Limit - Limits the rate of requests from clients. Helps prevent API throttling attacks.


• Quota - Sets thresholds on the number of requests clients can make over a time period.


• Cache - Stores responses to cacheable requests to reduce load on backend servers.


• Rewrite - Modifies URL paths, query parameters and headers in requests.


• JavaScript - Allows executing arbitrary JavaScript code to inspect and modify requests.

• Conditional - Applies other policies conditionally based on requests attributes.

• Latency - Measures and reports on the latency of requests.


• Log - Logs requests at different severity levels for auditing and debugging.


• OAuth - Implements OAuth 1.0a and 2.0 protocols for securing APIs.


• Trace - Generates traces to correlate requests with response latency and errors.


• XML Security - Implements XML security standards like XML Encryption and Signature.

• Fault - Generates errors and faults for testing policies and clients.


• Extract Variables - Extracts values from requests and makes them available as variables.


• Thread Local Storage - Stores request-specific data for sharing between policies.


• Callout - Allows executing external scripts or services during request processing.


• Content Security Policy (CSP) - Enforces a CSP to protect against cross-site scripting attacks.


• And many more...

These policies give Apigee a lot of flexibility and power to shape, secure, transform and control API traffic in a granular fashion. They can be chained together in any order within an API proxy to achieve the required business logic and requirements.

Moreover, Apigee allows creating custom policies by extending its open plugin model. So organizations have unlimited potential to develop domain-specific policies for their unique API management needs.

Hope this gives you a good overview of the breadth of policies available within Apigee's API management platform! Let me know if you have any other questions.

No comments:

Post a Comment

What is the difference between the Rate Limit and Quota policies?

  The   Rate Limit   and   Quota policies   in Apigee serve similar but distinct purposes: Rate Limit: • Limits the number of requests withi...