Skip to main content

Actions

Traffic Policy actions enable you to modify the behavior of traffic flowing through your endpoints. The following actions are available for use on your endpoints:

TypeDescriptionSupported On
add-headersAdd custom headers to incoming requests or outgoing responses.on_http_request, on_http_response
compress-responseCompress HTTP response bodies from your upstream server.on_http_request, on_http_response
custom-responseSend a predefined custom response directly to the client.on_http_request, on_http_response
denyBlock incoming traffic to an endpoint.on_http_request
jwt-validationValidate JSON Web Tokens (JWT).on_http_request
logAdd metadata to events for logging and monitoring.on_http_request, on_http_response
rate-limitRate limit traffic to your upstream servers.on_http_request
redirectRedirect users through URL transformations using regular expressions.on_http_request
remove-headersRemove headers from incoming requests or outgoing responses.on_http_request, on_http_response
restrict-ipsAllow or deny traffic based on source IP.on_http_request
url-rewriteRewrite request URLs transparently using regular expressions.on_http_request