Custom deny
akamai_appsec_custom_deny
Returns information about custom deny actions. Custom denies allow you to craft your own error messages or redirect pages to use when HTTP requests are denied.
data "akamai_appsec_custom_deny" "my_custom_deny_list" {
config_id = 12345
}
output "my_custom_deny_list" {
value = data.akamai_appsec_custom_deny.my_custom_deny_list
}
Arguments
| Argument | Required | Description |
|---|---|---|
config_id | ✔️ | A security configuration ID. |
custom_deny_id | Unique identifier of the custom deny you want to return information for. If not included. information is returned for all your custom denies. |
Attributes
| Attribute | Description |
|---|---|
json | JSON-formatted list of custom deny information |
output_text | Tabular report of the custom deny information. |
Updated 16 days ago
