GuideReference
TrainingSupportCommunity
Guide

Custom-bot category action

akamai_botman_custom_bot_category_action

Modifies the action taken when a custom bot category is triggered.

Example

data "akamai_appsec_configuration" "configuration" {
  name = "Documentation"
}

resource "akamai_botman_custom_bot_category_action" "custom_category_action" {
  config_id                  = data.akamai_appsec_configuration.configuration.config_id
  security_policy_id         = "gms1_134637"
  category_id                = "2c8add8e-a23c-4c3e-a5c9-8a3dc0d4c0b8"
  custom_bot_category_action = file("${path.module}/action.json")
}

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the custom bot category.
  • security_policy_id (Required). Unique identifier of the security policy associated with the custom bot category.
  • category_id (Required). Unique identifier of the custom bot category being modified.
  • custom_bot_category_action (Required). JSON file containing the action taken when a custom bot category is triggered. Use the Bot Manager API or Bot Manager in Akamai Control Center to create a configuration. Then, export your configuration or use the corresponding data source to get the JSON file.