GuideReference
TrainingSupportCommunity
Guide

Bot sequence

akamai_botman_custom_bot_category_item_sequence

Modifies the order in which bots within a custom bot category are evaluated. Bots are evaluated in the same order in which they appear in the array.

resource "akamai_botman_custom_bot_category_item_sequence" "custom_category_item_sequence" {
  config_id    = data.akamai_appsec_configuration.configuration.config_id
  category_id  = "1a2bcd3e-4d5f-6g7h-8i9j-0k1l2m3n4o5p"
  bot_ids 	 = ["1a2bcd3e-8i9j-6g7h-4d5f-0k1l2m3n4o5p", "647efc82-123a-45b6-78c9-1a2bcd3e4a8z", "1x2y3zd4-a1b2-c3d4-87b4-bf7623550472"]
}

To get your current custom bot category sequence, use the akamai_botman_custom_bot_item_category_sequence data source.

Arguments

To set the evaluation order, create a JSON array containing the IDs of your custom bot categories.

ArgumentRequiredDescription
config_idIdentifies the security configuration associated with the custom bot category sequence.
category_idIdentifies the bot category.
bot_idsJSON array of bot IDs, with individual IDs separated by using commas. The order of the bots in the array determines the order in which those bots are evaluated.

Attributes

Returned to you is a bot_ids set with the IDs listed in the new order.

AttributeDescription
config_idIdentifies the security configuration associated with the custom bot category sequence.
category_idIdentifies the bot category.
bot_idsAn array of bot IDs with individual IDs separated by using commas. The order of the bots in the array determines the order in which those bots are evaluated by Bot Manager.