Penalty box

akamai_appsec_penalty_box

Modifies the penalty box settings for a 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.

resource "akamai_appsec_penalty_box" "penalty_box" {
  config_id              = 12345
  security_policy_id     = "abcd_123456"
  penalty_box_protection = true
  penalty_box_action     = "deny"
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.
penalty_box_protection✔️When set to true to enable penalty box protection
penalty_box_action✔️Action taken any time penalty box protection is triggered. Possible values are:
  • alert. Records the event.
  • deny. Blocks the event.
  • deny. Takes your custom action against the event.
  • none. No action taken.