Behavorial DDoS actions

akamai_appsec_behavioral_ddos_actions

Get the actions a security policy takes for each of your Behavioral DDoS (BDE) profiles.

data "akamai_appsec_behavioral_ddos_actions" "my_bde_actions" {
  config_id          = 12345
  security_policy_id = "abcd_123456"
}

output "my_bde_actions" {
  value = data.akamai_appsec_behavioral_ddos_actions.my_bde_actions
}
my_bde_actions = {
  behavioral_ddos_actions = [
    {
      action                     = "deny"
      behavioral_ddos_profile_id = 987654
      hostname_count             = 2
      profile_name               = "my_bde_profile"
      sensitivity                = "MODERATE"
    },
    {
      action                     = "alert"
      behavioral_ddos_profile_id = 789012
      hostname_count             = 1
      profile_name               = "my_other_bde_profile"
      sensitivity                = "STRICT"
    },
  ]
  config_id          = 12345
  security_policy_id = "abcd_123456"
}

Arguments

Pass your security configuration and policy IDs to get the actions for all of your profiles.

ArgumentRequiredDescription
config_id✔️Your security configuration's ID.
security_policy_id✔️Your security policy's ID.

Attributes

Returned to you is a behavioral_ddos_actions list with an entry for each profile.

AttributeDescription
behavioral_ddos_profile_idThe BDE profile's ID.
actionThe action taken when the profile is triggered. Possible values are:

  • alert. Record the event.

  • deny. Block the request.

  • none. Take no action.
profile_nameThe profile's name.
sensitivityThe profile's sensitivity level. Possible values are CONSERVATIVE, MODERATE, or STRICT.
hostname_countThe number of hostnames the profile applies to.

Did this page help you?