Malware policy

akamai_appsec_malware_policy

Creates, modifies, or deletes malware policies. Malware polices help you control what happens when a request is made to upload files of various types. These policies help you control how your website is protected from malicious uploads.

resource "akamai_appsec_malware_policy" "malware_policy" {
  config_id      = 12345
  malware_policy = file("${path.module}/malware_policy.json")
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
malware_policy✔️Path to a JSON file containing a malware policy definition.

Attribute

Returned is a malware_policy_id for the malware policy.