GuideReference
TrainingSupportCommunity

Penalty box conditions

akamai_appsec_penalty_box_conditions

ūüöß

Beta

Hello. We're still working on this feature, but we've reached a point in development that it's important to check in and see what you think.

Have a go at it and let us know if you find any issues or have suggestions.

Set the conditions that trigger penalty box settings for a given security policy.

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
    }
  ]
}