Penalty box conditions
akamai_appsec_penalty_box_conditions
Create, update, or delete the conditions that trigger penalty box settings for a given security policy. To delete your settings, run terraform destroy.
resource "akamai_appsec_penalty_box_conditions" "my_conditions" {
  config_id = 12345
  security_policy_id = abcd_123456
  penalty_box_conditions = file("$path.root/conditions.json")
}
Arguments
| Argument | Required | Description | 
|---|---|---|
| config_id | ✔ | A security configuration ID. | 
| security_policy_id | ✔ | A security policy ID. | 
| penalty_box_conditions | ✔ | A pointer to a JSON file with your penalty box conditions. File contains: {
  "conditionOperator": "AND",
  "conditions": [
    {
      "type": "filenameMatch",
      "filenames": [
        "my-json-files"
      ],
      "order": 0,
      "positiveMatch": true
    }
  ]
}
 | 
Attributes
There is no standard output for this resource, but setting an output method returns these attributes.
| Attribute | Description | 
|---|---|
| config_id | Your security configuration's ID. | 
| id | A concatenation of your security configuration and policy IDs. | 
| json | A JSON encoded representation of your condition details. | 
| output_text | A table representation of your condition details. | 
| security_policy_id | Your security policy's ID. | 
Updated 18 days ago
