GuideReference
TrainingSupportCommunity
Guide

Eval penalty box conditions

akamai_appsec_eval_penalty_box_conditions

Create, update, or delete the conditions that trigger penalty box evaluation settings for a given security policy. To delete your settings, run terraform destroy.

resource "akamai_appsec_eval_penalty_box_conditions" "my_eval_conditions" { config_id = 12345 security_policy_id = abc1_234567 penalty_box_conditions = file("$path.root/conditions.json") }

Arguments

Pass all arguments to create or update your penalty box's evaluation settings.

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.


Did this page help you?