---
updatedAt: 2026-03-23T16:27:10.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/llms.txt
---

# URL protection policy actions

akamai_appsec_url_protection_policy_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](https://github.com/akamai/terraform-provider-akamai/issues) to make sure this data source works like you need and expect.

Get information about a protection policy's actions.

```json Query
data "akamai_appsec_url_protection_policy_actions" "my_protection_policy_actions" {
  config_id                = 12345
  security_policy_id       = abcd_12345
  url_protection_policy_id = 987654
}

output "my_protection_policy_actions" {
  value = data.akamai_appsec_url_protection_policy_actions.my_protection_policy_actions
}
```
```json Output
my_protection_policy_actions = {
  config_id                 = 12345
  load_shedding_action      = "none"
  max_rate_threshold_action = "none"
  security_policy_id        = "abcd_123456"
  url_protection_policy_id  = 987654
}
```

## Arguments

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

| Argument                   | Required | Description                       |
| -------------------------- | :------: | --------------------------------- |
| `config_id`                |    ✔️    | Your security configuration's ID. |
| `security_policy_id`       |    ✔️    | Your security policy's ID.        |
| `url_protection_policy_id` |    ✔️    | A URL protection policy ID.       |

## Attributes

Returned to you are the action settings for your protection policy.

<table>
  <thead>
    <th>Attribute</th>
    <th>Description</th>
  <thead>
  <tbody>
    <tr>
      <td><code>max_rate_threshold_action</code></td>
      <td>The action taken when the max rate threshold is exceeded. Possible values are:
        <ul>
          <li><code>alert</code>. Record the event.</li>
          <li><code>deny</code>. Block the request. </li>
          <li><code>deny_custom_{custom_deny_id}</code>. Take the action specified by the custom deny.</li>
          <li><code>challenge_{id}</code>. Inserts a CAPTCHA, cryptographic, or behavioral challenge test to detect automation.</li>
          <li><code>none</code>. Take no action.</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td><code>load_shedding_action</code></td>
      <td>The action taken when load shedding is triggered. Possible values are:
        <ul>
          <li><code>alert</code>. Record the event.</li>
          <li><code>deny</code>. Block the request. </li>
          <li><code>deny_custom_{custom_deny_id}</code>. Take the action specified by the custom deny.</li>
          <li><code>challenge_{id}</code>. Inserts a CAPTCHA, cryptographic, or behavioral challenge test to detect automation.</li>
          <li><code>none</code>. Take no action.</li>
        </ul>
      </td>
    </tr>
  </tbody>
<table>

# Sibling pages

\- [AAP selected hostnames](https://techdocs.akamai.com/terraform/docs/as-ds-aap-selected-hostnames.md)
\- [AI rules](https://techdocs.akamai.com/terraform/docs/as-ds-waf-ai-rules.md)
\- [API endpoints](https://techdocs.akamai.com/terraform/docs/as-ds-api-endpoints.md)
\- [API request constraints](https://techdocs.akamai.com/terraform/docs/as-ds-api-request-constraints.md)
\- [ASE penalty box settings](https://techdocs.akamai.com/terraform/docs/as-ds-ase-penalty-box-settings.md)
\- [Attack groups](https://techdocs.akamai.com/terraform/docs/as-ds-attack-groups.md)
\- [Attack payload logging](https://techdocs.akamai.com/terraform/docs/as-ds-attack-payload-logging.md)
\- [Bypass network lists](https://techdocs.akamai.com/terraform/docs/as-ds-bypass-network-lists.md)
\- [Configuration](https://techdocs.akamai.com/terraform/docs/as-ds-configuration.md)
\- [Configuration version](https://techdocs.akamai.com/terraform/docs/as-ds-configuration-version.md)
\- [Contracts groups](https://techdocs.akamai.com/terraform/docs/as-ds-contracts-groups.md)
\- [Custom deny](https://techdocs.akamai.com/terraform/docs/as-ds-custom-deny.md)
\- [Custom rule actions](https://techdocs.akamai.com/terraform/docs/as-ds-custom-rule-actions.md)
\- [Custom rules](https://techdocs.akamai.com/terraform/docs/as-ds-custom-rules.md)
\- [Eval group](https://techdocs.akamai.com/terraform/docs/as-ds-eval-group.md)
\- [Eval penalty box](https://techdocs.akamai.com/terraform/docs/as-ds-eval-penalty.md)
\- [Eval penalty box conditions](https://techdocs.akamai.com/terraform/docs/as-ds-eval-penalty-box-conditions.md)
\- [Eval rules](https://techdocs.akamai.com/terraform/docs/as-ds-eval-rules.md)
\- [Evasive path match](https://techdocs.akamai.com/terraform/docs/as-ds-evasive-path-match.md)
\- [Failover hostnames](https://techdocs.akamai.com/terraform/docs/as-ds-failover-hostnames.md)
\- [Hostname coverage](https://techdocs.akamai.com/terraform/docs/as-ds-hostname-coverage.md)
\- [Hostname coverage match targets](https://techdocs.akamai.com/terraform/docs/as-ds-hostname-coverage-match-targets.md)
\- [Hostname coverage overlapping](https://techdocs.akamai.com/terraform/docs/as-ds-hostname-coverage-overlapping.md)
\- [IP geo](https://techdocs.akamai.com/terraform/docs/as-ds-ip-geo.md)
\- [JA4 fingerprint](https://techdocs.akamai.com/terraform/docs/as-ds-ja4-fingerprint.md)
\- [Malware content types](https://techdocs.akamai.com/terraform/docs/as-ds-malware-content-types.md)
\- [Malware policies](https://techdocs.akamai.com/terraform/docs/as-ds-malware-policies.md)
\- [Malware policy actions](https://techdocs.akamai.com/terraform/docs/as-ds-malware-policy-actions.md)
\- [Match targets](https://techdocs.akamai.com/terraform/docs/as-ds-match-targets.md)
\- [Penalty box](https://techdocs.akamai.com/terraform/docs/as-ds-peanlty-box.md)
\- [Penalty box conditions](https://techdocs.akamai.com/terraform/docs/as-ds-penalty-box-conditions.md)
\- [PII learning](https://techdocs.akamai.com/terraform/docs/as-ds-pii-learning.md)
\- [Policy actions](https://techdocs.akamai.com/terraform/docs/as-ds-policy-actions.md)
\- [Pragma header](https://techdocs.akamai.com/terraform/docs/as-ds-pragma-header.md)
\- [Prefetch](https://techdocs.akamai.com/terraform/docs/as-ds-prefetch.md)
\- [Rapid rules](https://techdocs.akamai.com/terraform/docs/as-ds-rapid-rules.md)
\- [Rate policies](https://techdocs.akamai.com/terraform/docs/as-ds-rate-policies.md)
\- [Reputation profile actions](https://techdocs.akamai.com/terraform/docs/as-ds-reputation-profile-actions.md)
\- [Reputation profile analysis](https://techdocs.akamai.com/terraform/docs/as-ds-reputation-profile-analysis.md)
\- [Reputation profiles](https://techdocs.akamai.com/terraform/docs/as-ds-reputation-profiles.md)
\- [Request body settings](https://techdocs.akamai.com/terraform/docs/as-ds-request-body-settings.md)
\- [Rule upgrade details](https://techdocs.akamai.com/terraform/docs/as-ds-rule-upgrade-details.md)
\- [Rules](https://techdocs.akamai.com/terraform/docs/as-ds-rules.md)
\- [Security policy](https://techdocs.akamai.com/terraform/docs/as-ds-security-policy.md)
\- [Security policy protections](https://techdocs.akamai.com/terraform/docs/as-ds-security-policy-protections.md)
\- [Selectable hostnames](https://techdocs.akamai.com/terraform/docs/as-ds-selectable-hostnames.md)
\- [Siem definitions](https://techdocs.akamai.com/terraform/docs/as-ds-siem-definitions.md)
\- [Siem settings](https://techdocs.akamai.com/terraform/docs/as-ds-siem-settings.md)
\- [Slow POST](https://techdocs.akamai.com/terraform/docs/as-ds-slow-post.md)
\- [Threat intel](https://techdocs.akamai.com/terraform/docs/as-ds-threat-intel.md)
\- [Tuning recommendations](https://techdocs.akamai.com/terraform/docs/as-ds-tuning-recommendations.md)
\- [Version notes](https://techdocs.akamai.com/terraform/docs/as-ds-version-notes.md)
\- [WAF mode](https://techdocs.akamai.com/terraform/docs/as-ds-waf-mode.md)
\- [WAF rule set](https://techdocs.akamai.com/terraform/docs/as-ds-waf-rule-set.md)
\- [URL evasion defense](https://techdocs.akamai.com/terraform/docs/as-ds-url-evasion-defense.md)
\- [URL protection policy](https://techdocs.akamai.com/terraform/docs/as-ds-url-protection-policy.md)
\- [URL protection policies](https://techdocs.akamai.com/terraform/docs/as-ds-url-protection-policies.md)
\- [URL protection policies actions](https://techdocs.akamai.com/terraform/docs/as-ds-url-protection-policies-actions.md)