Attack groups

akamai_appsec_attack_groups

🚧

Deprecated

Hello. Just a note to let you know this data source is deprecated with a scheduled end-of-life in v10.4 of our provider.

This resource's narrow scope, management of only one rule or group, causes rate-limiting issues when you've got multiples. To mitigate that, we're replacing this data source with a new one that lets you manage all of your policy's rules and groups at once, WAF rule set.

See Attack group migration for more information on improvements and argument mapping.

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_textA tabular report listing the name and ID of your endpoints.