Security policy protections

📘

Beta

Hello. Just a note to let you know the underlying API on which this resource 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 resource works like you need and expect.

Update your security policy's protection settings.

resource "akamai_appsec_security_policy_protections" "my_security_policy_protections" {
    config_id          = 81541
    security_policy_id = "pani_287262"
    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
}
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

Provide IDs for the security configuration and policy you want to protect along with the enablement state for all of the available policy protections.

All protection options are booleans that either enable or disable protections.

  • Set to true to enable.
  • Set to false to disable.
ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.
apply_account_protection_controls✔️Enables account protection controls.
apply_api_constraints✔️Enables API constraints.
apply_application_layer_controls✔️Enables application layer controls.
apply_botman_controls✔️Enables Bot Management controls.
apply_malware_controls✔️Enables malware controls.
apply_network_layer_controls✔️Enables network layer controls.
apply_rate_controls✔️Enables rate controls.
apply_reputation_controls✔️Enables reputation controls.
apply_slow_post_controls✔️Enables slow post controls.
apply_url_protection_controls✔️Enables URL protection controls.

Attributes

Returned is a list that reflects your request.