Modify the penalty box conditions in evaluation mode

Modifies the penalty box condition settings for a security policy in evaluation mode.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

string
required

A unique identifier for a security policy.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
string
required

The logic to apply to a set of penalty box conditions: either OR to satisfy any condition, or AND to satisfy all conditions.

conditions
array of objects
required
length ≥ 0

The conditions list for the penalty box.

conditions*
Responses

Response body
object
string
required

The logic to apply to a set of penalty box conditions: either OR to satisfy any condition, or AND to satisfy all conditions.

AND OR

conditions
array of objects
required
length ≥ 0

The conditions list for the penalty box.

conditions*
object
boolean

Whether to consider the case-sensitivity of the provided query parameter value. This only applies to the uriQueryMatch condition type.

clientLists
array of strings
length ≥ 0

The clientLists that trigger the condition. This only applies to the clientListMatch condition type.

clientLists
extensions
array of strings

The file extensions that trigger the condition. This only applies to the extensionMatch condition type.

extensions
filenames
array of strings

The filenames that trigger the condition. This only applies to the filenameMatch condition type.

filenames
string

The HTTP header that triggers the condition. This only applies to the requestHeaderMatch condition type.

hosts
array of strings

The hostnames that trigger the condition. This only applies to the hostMatch condition type.

hosts
ips
array of strings

The IPs that trigger the condition. This only applies to the ipMatch condition type.

ips
methods
array of strings

The HTTP request methods that trigger the condition. The possible values are GET, POST, HEAD, PUT, DELETE, OPTIONS, TRACE, CONNECT and PATCH. This only applies to the requestMethodMatch condition type.

methods
string

The query parameter name that triggers the condition. This only applies to the uriQueryMatch condition type.

boolean

Whether to consider the case-sensitivity of the provided query parameter name. This only applies to the uriQueryMatch condition type.

paths
array of strings

The paths that trigger the condition. This only applies to the pathMatch condition type.

paths
boolean
required

Whether the condition should trigger on a match (true) or a lack of match (false).

string
required

The condition type to match on. See Export condition type values.

hostMatch pathMatch filenameMatch extensionMatch uriQueryMatch ipMatch requestMethodMatch requestHeaderMatch clientListMatch

boolean

Whether the condition should include X-Forwarded-For (XFF) header. This applies to the ipMatch and clientListMatch condition type.

string

The query parameter value if the condition type is uriQueryMatch and header value if the condition type is requestHeaderMatch. This only applies when the condition type is uriQueryMatch or requestHeaderMatch.

boolean

Whether to consider the case-sensitivity of the provided header value. This only applies to the requestHeaderMatch condition type.

boolean

Whether the provided header value is a wildcard. This only applies to the requestHeaderMatch condition type.

boolean

Whether the provided query parameter value is a wildcard. This only applies to the uriQueryMatch condition type.

Language
Authentication
URL