Rules
akamai_appsec_rules
DeprecatedHello. 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 your Kona Rule Set (KRS) rules.
data "akamai_appsec_rules" "my_rules" {
config_id = 12345
security_policy_id = "abcd_123456"
rule_id = 12345
}
output "my_rules" {
value = data.akamai_appsec_rules.my_rules
}Arguments
| Argument | Required | Description |
|---|---|---|
config_id | ✔️ | A security configuration ID. |
security_policy_id | ✔️ | A security policy ID. |
rule_id | A rule ID. |
Attributes
| Attribute | Description |
|---|---|
rule_action | Action taken anytime the rule is triggered. Possible values are:
|
condition_exception | Conditions and exceptions associated with the rule |
Updated 6 days ago
