Eval rules

akamai_appsec_eval_rules

Returns the action and the condition-exception information for a rule or set of rules being used in evaluation mode.

data "akamai_appsec_eval_rules" "my_eval_rules" {
  config_id          = 12345
  security_policy_id = "abcd_123456"
  rule_id            = "12345"
}

output "my_eval_rules" {
  value = data.akamai_appsec_eval_rules.my_eval_rules
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.
rule_idAn evaluation rule ID.

Attributes

AttributeDescription
eval_rule_actionAction taken anytime the evaluation rule is triggered. This information is returned only when a single rule is retrieved. Possible values are:
  • alert. Event recorded.
  • deny. Event blocked.
  • deny. Took your custom action against the event.
  • none. No action taken.
condition_exceptionConditions and exceptions associated with the rule. This information is returned only when a single rule is retrieved.