Eval penalty box

Updates the penalty box settings for a security policy in evaluation mode.

When a client triggers a Web Application Firewall rule, the action you select for the evaluation penalty box continues to apply to any requests from that client for 10 minutes.

Note: Each call after the initial trigger restarts the 10 minute timeout window.

resource "akamai_appsec_eval_penalty_box" "eval_penalty_box" {
  config_id              = 12345
  security_policy_id     = "abcd_1234567"
  penalty_box_protection = true
  penalty_box_action     = "deny"
}

Arguments

ArgumentRequiredDescription
config_idA security configuration ID
security_policy_idA security policy ID.
penalty_box_protectionSet to true to enable evaluation penalty box protections.
penalty_box_actionThe penalty box action taken when triggered. Possible values are:
  • alert. Records information about the request.
  • deny. Blocks the request.
  • deny_custom_{custom_deny_id}. Takes your custom action against the request.
  • none. No action taken.

Attributes

Returned to you is your penalty box's enablement status and action setting.

Attribute Description
penalty_box_protection When set to true penalty box protections are enabled.
penalty_box_action The penalty box action taken when triggered. Value is one of:
  • alert. Records information about the request.
  • deny. Blocks the request.
  • deny_custom_{custom_deny_id}. Takes your custom action against the request.
  • none. No action taken.