GuideReference
TrainingSupportCommunity
Guide

Custom-bot category

akamai_botman_custom_bot_category

Creates or modifies a bot category that you can use in addition to the Akamai-defined bot categories.

To configure a custom category you need to create a JSON array containing the desired settings and values. That array is then used as the value of the custom category argument.

Example

resource "akamai_botman_custom_bot_category" "custom_bot_category" {
  config_id           = data.akamai_appsec_configuration.configuration.config_id
  custom_bot_category = file("${path.module}/custom_bot_category.json")
}

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the custom bot category.
  • custom_bot_category (Required). JSON-formatted collection of bot settings and setting values. In the preceding sample code, the syntax file("${path.module}/custom_bot_category.json") points to the location of a JSON file containing the custom category settings and values.