Rate policy action

akamai_appsec_rate_policy_action

Creates, modifies, or deletes the actions associated with a rate policy. By default, rate policies take no action when triggered.

Note that you must set separate actions for requests originating from an IPv4 IP address and for requests originating from an IPv6 address.

resource "akamai_appsec_rate_policy_action" "appsec_rate_policy_action" {
  config_id          = 12345
  security_policy_id = "abcd_123456"
  rate_policy_id     = 12345
  ipv4_action        = "deny"
  ipv6_action        = "deny"
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.
rate_policy_id✔️Unique identifier of the rate policy whose action is being modified.
ipv4_action✔️Rate policy action for requests coming from an IPv4 IP address. Possible values are:
  • alert. Records the event.
  • deny. Blocks the event.
  • deny. Takes your custom action against the event.
  • challenge{action_id}. Takes the action assigned to the ID.
  • none. No action taken.
ipv6_action✔️Rate policy action for requests coming from an IPv6 IP address. Possible values are:
  • alert. Records the event.
  • deny. Blocks the event.
  • deny. Takes your custom action against the event.
  • challenge{action_id}. Takes the action assigned to the ID.