Slow POST

akamai_appsec_slow_post

Modifies slow POST protection settings for a security configuration and security policy. Slow POST protections help defend a site against attacks that try to tie up the site by using extremely slow requests and responses.

resource "akamai_appsec_slow_post" "slow_post" {
  config_id                  = 12345
  security_policy_id         = "abcd_123456"
  slow_rate_action           = "alert"
  slow_rate_threshold_rate   = 10
  slow_rate_threshold_period = 30
  duration_threshold_timeout = 20
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.
slow_rate_action✔️Action to be taken if slow POST protection is triggered. Possible values are:
  • alert. Records the event.
  • abort. Blocks the event.
slow_rate_threshold_rateAverage rate (in bytes per second over the specified time period) allowed before the specified action is triggered.
slow_rate_threshold_periodAmount of time (in seconds) that the server should allow a request before marking the request as being too slow.
duration_threshold_timeoutMaximum amount of time (in seconds) that the first eight kilobytes of the POST body must be received in to avoid triggering the specified action.