Eval rule
akamai_appsec_eval_rule
Creates or modifies an evaluation rule's action, conditions, and exceptions.
Evaluation rules are Kona Rule Set rules used when running a security configuration in evaluation mode.
Changes to these rules do not affect the rules used on your production network.
resource "akamai_appsec_eval_rule" "my_eval_rule" {
config_id = 12345
security_policy_id = "abcd_123456"
rule_id = 12345
rule_action = "deny"
condition_exception = file("${path.module}/condition_exception.json")
}
Arguments
| Argument | Required | Description |
|---|---|---|
config_id | ✔️ | A security configuration ID. |
security_policy_id | ✔️ | A security policy ID. |
rule_id | Unique identifier of the evaluation rule being modified. | |
rule_action | ✔️ | Action to be taken any time the evaluation rule is triggered. Possible values are:
|
condition_exception | Path to a JSON file containing the conditions and exceptions to be applied to the evaluation rule. |
Updated 15 days ago
