Key |
Returned |
Description |
condition
complex
|
always |
condition returned by operation
|
|
size_constraint_set_id
string
|
when type is size and state is present |
ID of the size constraint set
Sample:
de84b4b3-578b-447e-a9a0-0db35c995656
|
|
ip_set_id
string
|
when type is ip and state is present |
ID of condition
Sample:
78ad334a-3535-4036-85e6-8e11e745217b
|
|
condition_id
string
|
when state is present |
type-agnostic ID for the condition
Sample:
dd74b1ff-8c06-4a4f-897a-6b23605de413
|
|
ip_set_descriptors
complex
|
when type is ip and state is present |
list of IP address filters
|
|
|
type
string
|
always |
Type of IP address (IPV4 or IPV6)
Sample:
IPV4
|
|
|
value
string
|
always |
IP address
Sample:
10.0.0.0/8
|
|
geo_match_constraints
complex
|
when type is geo and state is present |
List of geographical constraints
|
|
|
type
string
|
|
Type of geo constraint
Sample:
Country
|
|
|
value
string
|
|
Value of geo constraint (typically a country code)
Sample:
AT
|
|
byte_match_tuples
complex
|
always |
list of byte match tuples
|
|
|
text_transformation
string
|
|
Transformation to apply to the field before matching
Sample:
NONE
|
|
|
field_to_match
complex
|
always |
Field to match
|
|
|
|
data
string
|
|
Which specific header (if type is header)
Sample:
content-type
|
|
|
|
type
string
|
|
Type of field
Sample:
HEADER
|
|
|
target_string
string
|
|
String to look for
Sample:
Hello
|
|
|
positional_constraint
string
|
|
Position in the field to match
Sample:
STARTS_WITH
|
|
name
string
|
when state is present |
Name of condition
Sample:
my_waf_condition
|
|
geo_match_set_id
string
|
when type is geo and state is present |
ID of the geo match set
Sample:
dd74b1ff-8c06-4a4f-897a-6b23605de413
|
|
size_constraints
complex
|
when type is size and state is present |
List of size constraints to apply
|
|
|
text_transformation
string
|
|
transformation applied to the text before matching
Sample:
NONE
|
|
|
field_to_match
complex
|
|
Field on which the size constraint is applied
|
|
|
|
type
string
|
|
Field name
Sample:
QUERY_STRING
|
|
|
comparison_operator
string
|
|
Comparison operator to apply
Sample:
GT
|
|
|
size
int
|
|
size to compare against the field
Sample:
300
|
|
regex_match_tuples
complex
|
when type is regex and state is present |
List of regex matches
|
|
|
text_transformation
string
|
|
transformation applied to the text before matching
Sample:
NONE
|
|
|
field_to_match
complex
|
|
Field on which the regex match is applied
|
|
|
|
type
string
|
when type is regex and state is present |
The field name
Sample:
QUERY_STRING
|
|
|
regex_pattern_set_id
string
|
|
ID of the regex pattern
Sample:
6fdf7f2d-9091-445c-aef2-98f3c051ac9e
|
|
byte_match_set_id
string
|
always |
ID for byte match set
Sample:
c4882c96-837b-44a2-a762-4ea87dbf812b
|
|
regex_match_set_id
string
|
when type is regex and state is present |
ID of the regex match set
Sample:
5ea3f6a8-3cd3-488b-b637-17b79ce7089c
|
|
sql_injection_match_set_id
string
|
when type is sql and state is present |
ID of the SQL injection match set
Sample:
de84b4b3-578b-447e-a9a0-0db35c995656
|
|
sql_injection_match_tuples
complex
|
when type is sql and state is present |
List of SQL injection match sets
|
|
|
text_transformation
string
|
|
transformation applied to the text before matching
Sample:
URL_DECODE
|
|
|
field_to_match
complex
|
|
Field on which the SQL injection match is applied
|
|
|
|
type
string
|
|
Field name
Sample:
QUERY_STRING
|
|
xss_match_tuples
complex
|
when type is xss and state is present |
List of XSS match sets
|
|
|
text_transformation
string
|
|
transformation applied to the text before matching
Sample:
URL_DECODE
|
|
|
field_to_match
complex
|
|
Field on which the XSS match is applied
|
|
|
|
type
string
|
|
Field name
Sample:
QUERY_STRING
|
|
xss_match_set_id
string
|
when type is xss and state is present |
ID of the XSS match set
Sample:
de84b4b3-578b-447e-a9a0-0db35c995656
|