Behavorial DDoS profile

akamai_appsec_behavioral_ddos_profile

Get information about a Behavioral DDoS (BDE) profile.

data "akamai_appsec_behavioral_ddos_profile" "my_bde_profile" {
  config_id                  = 12345
  behavioral_ddos_profile_id = 987654
}

output "my_bde_profile" {
  value = data.akamai_appsec_behavioral_ddos_profile.my_bde_profile
}
my_bde_profile = {
  behavioral_ddos_profile_id = 987654
  bypass_conditions = [
    {
      check_ips            = null
      index                = 0
      name_wildcard        = false
      names                = ["X-My-Header"]
      positive_match       = true
      type                 = "RequestHeaderCondition"
      value_case_sensitive = false
      value_wildcard       = false
      values               = ["my-value"]
    },
  ]
  bypass_conditions_match_type = "ALL"
  config_id                    = 12345
  create_date                  = "2026-11-19T15:22:28Z"
  created_by                   = "jsmith"
  description                  = "Behavioral DDoS profile for my site."
  exceptions = [
    {
      hosts = ["www.example.com"]
      paths = ["/health"]
    },
  ]
  hostnames   = ["www.example.com", "api.example.com"]
  name        = "my_bde_profile"
  sensitivity = "MODERATE"
  sensitivity_overrides = [
    {
      host        = "api.example.com"
      path        = "/login"
      sensitivity = "STRICT"
    },
  ]
  suspend     = null
  update_date = "2026-11-19T15:22:28Z"
  updated_by  = "jsmith"
  used        = true
}

Arguments

Send your security configuration ID along with the ID of the profile for which you want information.

ArgumentRequiredDescription
config_id✔️Your security configuration's ID.
behavioral_ddos_profile_id✔️A BDE profile's ID.

Attributes

Returned to you are details about your BDE profile.

AttributeDescription
nameThe profile's name.
descriptionA human-readable statement about the profile.
sensitivityThe profile's detection sensitivity level. Possible values are CONSERVATIVE, MODERATE, or STRICT.
hostnamesA list of hostnames the profile applies to.
bypass_conditionsA list of conditions that let matching requests bypass the profile. Contains:

  • type. The type of condition, for example RequestHeaderCondition or NetworkListCondition.

  • names. A list of names to match, for example header names used with RequestHeaderCondition.

  • name_wildcard. When true, uses wildcard matching for names.

  • values. A list of values to match.

  • value_case_sensitive. When true, uses case-sensitive value matching.

  • value_wildcard. When true, uses wildcard matching for values.

  • check_ips. The IP address checked with NetworkListCondition, for example connecting or xff.

  • positive_match. When true, the condition matches when the request meets it. When false, the condition matches when the request doesn't meet it.

  • index. The condition's position in the list.
bypass_conditions_match_typeHow the profile evaluates its bypass_conditions. Possible values are:

  • ALL. A request bypasses the profile only when it matches every condition.

  • ANY. A request bypasses the profile when it matches at least one condition.
exceptionsA list of host and path combinations the profile doesn't apply to. Contains:

  • hosts. A list of excluded hostnames.

  • paths. A list of excluded paths.
sensitivity_overridesA list of per-host sensitivity levels that override the profile's sensitivity. Contains:

  • host. The hostname to which the override applies.

  • path. The path to which the override applies.

  • sensitivity. The override sensitivity level.
suspendA scheduled window during which the profile is suspended. Contains:

  • hostnames. A list of suspended hostnames.

  • from_date. The start of the suspension window as an ISO 8601 timestamp.

  • to_date. The end of the suspension window as an ISO 8601 timestamp.
usedWhen true, the profile is in use by a security policy.
create_dateThe date the profile was created.
created_byThe name of the user who created the profile.
update_dateThe date of the profile's last change.
updated_byThe name of the user who last changed the profile.

Did this page help you?