Bot category action


Modifies the action taken when an Akamai-defined bot category is triggered.


resource "akamai_botman_akamai_bot_category_action" "bot_category_action" {
  config_id                  = data.akamai_appsec_configuration.configuration.config_id
  security_policy_id         = "gms1_134637"
  category_id                = "2c8add8e-a23c-4c3e-a5c9-8a3dc0d4c0b8"
  akamai_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 bot category.
  • security_policy_id (Required). Unique identifier of the security policy associated with the bot category.
  • category_id (Required). Unique identifier of the Akamai bot category being updated.
  • akamai_bot_category_action (Required). JSON file containing the action to be taken when the 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.