GuideReference
TrainingSupportCommunity
Guide

Penalty box conditions

akamai_appsec_penalty_box_conditions

Get the conditions that trigger penalty box settings for a security policy.

data "akamai_appsec_penalty_box_conditions" "my_conditions" {
  config_id = 12345
  security_policy_id = abc1_234567
}

output "my_conditions" {
  value = data.akamai_appsec_penalty_box_conditions.my_conditions
}
Changes to Outputs:
  + my_conditions = {
      + config_id          = 12345
      + id                 = "12345:abc1_234567"
      + json               = jsonencode(
            {
              + conditionOperator = ""
              + conditions        = null
            }
        )
      + output_text        = ""
      + security_policy_id = "abc1_234567"
    }

Arguments

Pass your security configuration and policy IDs to get information about your penalty box conditions.

ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.

Attributes

Returned are details about your security policy's penalty box conditions.

AttributeDescription
config_idYour security configuration's ID.
idA concatenation of your security configuration and policy IDs.
jsonA JSON encoded representation of your condition details.
output_textA table representation of your condition details.
security_policy_idYour security policy's ID.