AI rules

akamai_appsec_waf_ai_rules

Create and manage your Web Application Firewall AI rules.

Note: Condition exceptions for AI rules cannot be managed through Terraform. If you need to make changes to these, use Akamai Control Center or the API.

resource "akamai_appsec_waf_ai_rules" "my_ai_rules" {
  config_id          = 12345
  security_policy_id = "abcd_123456"
  ai_rule_status     = "ENABLED"
}

Arguments

Pass a security configuration and policy ID to set your AI rule details.

ArgumentRequiredDescription
config_id✔️Your security configuration's ID.
security_policy_id✔️Your security policy's ID.
ai_rule_statusThe security policy's AI rules enablement state. Possible values are:
  • ENABLED
  • DISABLED
rule_idThe AI rule's ID.
actionThe action taken on trigger of the AI rule. Possible values are:
  • alert. Records the event.
  • deny. Blocks the event.
  • deny_custom_{custom_deny_id}. Takes your custom action against the event.
  • none. No action taken.

Attributes

Returned to you is your rule's ID and a description of what the AI rule detects based on your rule list.


Did this page help you?