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