Deny
Overview
The Deny policy action allows you to reject incoming requests to your endpoint.
Example
- YAML
- JSON
# snippet
---
actions:
- type: "deny"
// snippet
{
"actions": [
{
"type": "deny"
}
]
}
Behavior
When this action is executed, the upstream server is never reached and a response is immediately made.
If this action is executed, no further actions or rules in the policy configuration will be executed.
Reference
Supported Directions
- Inbound
Configuration
Type |
---|
deny |