Rule
akamai_appsec_rule
Modifies a Kona Rule Set rule's action, conditions, and exceptions.
resource "akamai_appsec_rule" "my_rule" {
config_id = 12345
security_policy_id = "abcd_1234567"
rule_id = 7654321
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 rule being modified. |
rule_action | ✔️ | The action taken when a rule is triggered. If your policy is in ASE_AUTO mode, use condition_exception instead. Possible values are:
|
condition_exception | Path to a JSON file containing a description of the conditions and exceptions to be associated with a rule. |
Updated 4 days ago