GuideReference
TrainingSupportCommunity
Guide

Custom-bot category action

akamai_botman_custom_bot_category_action

Returns information about the action taken when a custom bot category is triggered.

Use the category_id argument to return the category action for a specified category. By default, information is returned for all the category actions associated with a specific security policy.

Example

data "akamai_botman_custom_bot_category_action" "category_actions" {
  config_id          = data.akamai_appsec_configuration.configuration.config_id
  security_policy_id = "gms1_134637"
}

output "category_actions_json" {
  value = data.akamai_botman_custom_bot_category_action.category_actions.json
}

data "akamai_botman_custom_bot_category_action" "category_actions" {
  config_id          = data.akamai_appsec_configuration.configuration.config_id
  security_policy_id = "gms1_134637"
  category_id        = "2c8add8e-a23c-4c3e-a5c9-8a3dc0d4c0b8"
}

output "category_actions_json" {
  value = data.akamai_botman_custom_bot_category_action.category_actions.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 (Optional). Unique identifier of the custom category whose action is being returned. If omitted, actions for all your custom categories are returned.

Output options

The following options can be used to determine the information returned and how that returned information is formatted:

  • json. JSON-formatted output containing information about your custom categories and the action assigned to them.