Security policy protections
Returns information about the protections in effect for the specified security policy.
data "akamai_appsec_security_policy_protections" "my_security_policy_protections" {
config_id = 12345
security_policy_id = "abcd_123456"
}
output "my_security_policy_protections" {
value = data.akamai_appsec_security_policy_protections.my_security_policy_protections
}my_security_policy_protections = {
apply_account_protection_controls = false
apply_api_constraints = true
apply_application_layer_controls = true
apply_botman_controls = false
apply_malware_controls = false
apply_network_layer_controls = true
apply_rate_controls = true
apply_reputation_controls = true
apply_slow_post_controls = true
apply_url_protection_controls = true
config_id = 12345
security_policy_id = "abcd_12345"
}Arguments
| Argument | Required | Description |
|---|---|---|
config_id | ✔️ | A security configuration ID. |
security_policy_id | ✔️ | A security policy ID. |
Attributes
Returned to you are your security policy's protection enablement status.
| Attribute | Description |
|---|---|
apply_application_layer_controls | Returns true if application layer controls are enabled. |
apply_account_protection_controls | Returns true if account protection controls are enabled. |
apply_api_constraints | Returns true if API constraints are enabled. |
apply_botman_controls | Returns true if Bot Manager controls are enabled. |
apply_malware_controls | Returns true if malware controls are enabled. |
apply_network_layer_controls | Returns true if network layer controls are enabled. |
apply_rate_controls | Returns true if rate controls are enabled. |
apply_reputation_controls | Returns true if reputation controls are enabled. |
apply_slow_post_controls | Returns true if slow POST controls are enabled. |
Updated 15 days ago
