Bot category exception


Updates the bot categories on the category exceptions list.

The exceptions list is formatted by using JSON and configured as the value for the bot_category_exception argument.


resource "akamai_botman_bot_category_exception" "bot_category_exception" {
  config_id              = data.akamai_appsec_configuration.configuration.config_id
  security_policy_id     = "gms1_134637"
  bot_category_exception = file("${path.module}/bot_category_exception.json")

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the bot category exceptions list.
  • security_policy_id (Required). Unique identifier of the security policy associated with the bot category exceptions list.
  • bot_category_exception (Required). JSON-formatted array of the bot category IDs to be excluded from behavior anomaly detection. In the preceding sample code, the syntax file("${path.module}/bot_category_exception.json") points to the location of a JSON file containing the exception list settings and values. 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.