GuideReference
TrainingSupportCommunity
Guide

Challenge action

akamai_botman_challenge_action

Returns information about your bot challenge actions. A challenge action is a process (such as ReCAPTCHA) that must be completed successfully before a request can be processed.

Use the action_id argument to limit the returned data to information about a specific challenge action.

Example

data "akamai_botman_challenge_action" "challenge_actions" {
  config_id = data.akamai_appsec_configuration.configuration.config_id
}

output "challenge_actions_json" {
  value = data.akamai_botman_challenge_action.challenge_actions.json
}

data "akamai_botman_challenge_action" "challenge_action" {
  config_id = data.akamai_appsec_configuration.configuration.config_id
  action_id = "cc9c3f89-e179-4892-89cf-d5e623ba9dc7"
}

output "challenge_action_json" {
  value = data.akamai_botman_challenge_action.challenge_action.json
}

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the challenge actions.
  • action_id (Optional). Unique identifier of the challenge action to be returned. If omitted, information is returned for all your challenge actions.

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 challenge actions and how they’re configured.