Attack groups

akamai_appsec_attack_groups

Returns the action and the condition-exception information for an attack group or set of attack groups. Attack groups are collections of Kona Rule Set rules used to streamline the management of website protections.

data "akamai_appsec_attack_groups" "my_attack_group" {
  config_id          = 12345
  security_policy_id = "abcd_123456"
  attack_group       = "SQL"
}
output "attack_group_action" {
  value = data.akamai_appsec_attack_groups.my_attack_group
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.
attack_groupUnique name of the attack group you want to return information for. If not included, information is returned for all your attack groups.

Attributes

AttributeDescription
attack_group_actionAction taken anytime the attack group is triggered. This information is returned only when a single attack group is retrieved. Possible values are:
  • alert. Records the event.
  • deny. Blocks the event.
  • deny. Takes your custom action against the event.
  • none. No action taken.
condition_exceptionConditions and exceptions assigned to the attack group. This information is returned only when a single attack group is retrieved
jsonJSON-formatted list of the action and the condition-exception information for the attack group. This information is returned only when a single attack group is retrieved
output_textTabular report showing the attack group's action as well as Boolean values indicating whether conditions and exceptions have been configured for the group.