URL protection policies actions

akamai_appsec_url_protection_policies_actions

📘

Beta

Hello. Just a note to let you know the underlying API on which this data source is built is general release and has been vetted, but because this is a new feature for our Terraform provider, we've given it beta label.

This status just means we've paused for a bit to get your feedback to make sure this data source works like you need and expect.

Get information about your protection policies' actions.

data "akamai_appsec_url_protection_policies_actions" "my_protection_policies_actions" {
  config_id          = 12345
  security_policy_id = abcd_12345
}

output "my_protection_policies_actions" {
	value = data.akamai_appsec_url_protection_policies_actions.my_protection_policies_actions
}
my_protection_policies_actions = {
  config_id = 12345
  security_policy_id" = "abcd_12345"
  url_protection_policies_actions = ([
    {
      load_shedding_action = "none"
      max_rate_threshold_action = "none"
      url_protection_policy_id = 987654
    },
    {
      load_shedding_action = "deny"
      max_rate_threshold_action = "alert"
      url_protection_policy_id = 789012
    },
  ])
}

Arguments

Pass your security configuration and policy IDs to get your action settings.

ArgumentRequiredDescription
config_id✔️Your security configuration's ID.
security_policy_id✔️Your security policy's ID.

Attributes

Returned to you is a list of your url_protection_policies_actions settings for your protection policies.

Attribute Description
url_protection_policy_id A URL protection policy's ID.
max_rate_threshold_action The action taken when the max rate threshold is exceeded. Possible values are:
  • alert. Record the event.
  • deny. Block the request.
  • deny_custom_{custom_deny_id}. Take the action specified by the custom deny.
  • challenge_{id}. Inserts a CAPTCHA, cryptographic, or behavioral challenge test to detect automation.
  • none. Take no action.
load_shedding_action The action taken when load shedding is triggered. Possible values are:
  • alert. Record the event.
  • deny. Block the request.
  • deny_custom_{custom_deny_id}. Take the action specified by the custom deny.
  • challenge_{id}. Inserts a CAPTCHA, cryptographic, or behavioral challenge test to detect automation.
  • none. Take no action.