Custom rule action

akamai_appsec_custom_rule_action

Associates an action with a custom rule. Custom rules are rules that you define yourself and are not part of the Kona Rule Set.

resource "akamai_appsec_custom_rule_action" "my_custom_rule_action" {
  config_id          = 12345
  security_policy_id = "abcd_123456"
  custom_rule_id     = 12345
  custom_rule_action = "alert"
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.
custom_rule_id✔️A custom rule ID.
custom_rule_action✔️Action to be taken when the custom rule is invoked. Possible values are:
  • alert. Records information about the request.
  • deny. Blocks the request.
  • deny. Takes your custom action against the event.
  • none. No action taken.