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_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 = null
  apply_api_constraints             = null
  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 any 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_controlsEnables account protection controls.
apply_api_constraintsEnables API constraints.
apply_application_layer_controlsEnables application layer controls.
apply_botman_controlsEnables Bot Management controls.
apply_malware_controlsEnables malware controls.
apply_network_layer_controlsEnables network layer controls.
apply_rate_controlsEnables rate controls.
apply_reputation_controlsEnables reputation controls.
apply_slow_post_controlsEnables slow post controls.
apply_url_protection_controlsEnables URL protection controls.

Attributes

Returned is a list of all available policy protections with your settings.

A value is null appears for any protection option not set.