Custom-bot category
akamai_botman_custom_bot_category
Returns information about the custom bot categories you’ve created.
By including the category_id
argument you can limit the returned data to a single category.
Example
data "akamai_botman_custom_bot_category" "custom_categories" {
config_id = data.akamai_appsec_configuration.configuration.config_id
}
output "custom_categories_json" {
value = data.akamai_botman_custom_bot_category.custom_category.json
}
data "akamai_botman_custom_bot_category" "custom_category" {
config_id = data.akamai_appsec_configuration.configuration.config_id
category_id = "2c8add8e-a23c-4c3e-a5c9-8a3dc0d4c0b8"
}
output "custom_category_json" {
value = data.akamai_botman_custom_bot_category.custom_category.json
}
Argument reference
This resource supports the following arguments:
config_id
(Required). Unique identifier of the security configuration associated with the custom bot categories.category_id
(Optional). Unique identifier of the custom bot category you want returned. If omitted, information about all your custom categories is 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 bot categories. This output includes the IDs of both the custom bots and the Akamai-defined bots assigned to a category.
Updated about 1 year ago