Penalty box

akamai_appsec_penalty_box

Returns penalty box settings for the specified security policy.
When the penalty box is enabled for a policy, clients that trigger a WAF Deny action are placed in the “penalty box”.

There, the action you select for penalty box (either Alert or Deny ) continues to apply to any requests from that client for the next 10 minutes.

data "akamai_appsec_penalty_box" "my_penalty_box" {
  config_id          = 12345
  security_policy_id = "abcd_123456"
}

output "my_penalty_box" {
  value = data.akamai_appsec_penalty_box.my_penalty_box
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.

Attributes

AttributeDescription
actionAction taken any time the penalty box is triggered. Contains:
  • alert. Event recorded.
  • deny. Event blocked.
  • deny. Took your custom action against the event.
  • none. No action taken.
enabledIf true, penalty box protection is enabled.