Version: v2023-01-05 | Includes use: Yes |
---|
Criterion name: Query String Parameter
Matches query string field names or values.
Default criterion
These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.
data "akamai_property_rules_builder" "query_string_parameter" {
rules_v2023_01_05 {
name = "Query String Parameter"
comments = "Matches query string field names or values"
criterion {
query_string_parameter {
match_wildcard_name = false
match_operator = "IS_ONE_OF"
parameter_name = ""
match_case_sensitive_name = true
values = []
match_wildcard_value = false
match_case_sensitive_value = true
escape_value = false
}
}
}
}
"criterion": [
{
"name": "queryStringParameter",
"options": {
"matchWildcardName": false,
"matchOperator": "IS_ONE_OF",
"parameterName": "",
"matchCaseSensitiveName": true,
"values": [],
"matchWildcardValue": false,
"matchCaseSensitiveValue": true,
"escapeValue": false
}
}
]
Options
Option | Description |
---|---|
parameter_name |
The name of the query field, for example,
q in ?q=string .
|
match_operator |
Matches the contents of the
values array. Value is one of:
|
values |
The value of the query field, for example,
string in ?q=string .
|
lower_bound |
When the
value is numeric, this specifies the match's minimum value.
|
upper_bound |
When the
value is numeric, this specifies the match's maximum value.
|
match_wildcard_name |
Allows wildcards in the
parameter_name field, where ? matches a single character and * matches zero or more characters.
|
match_wildcard_value |
Allows wildcards in the
value field, where ? matches a single character and * matches zero or more characters.
|
match_case_sensitive_name |
parameter_name field.
|
Sets a case-sensitive match for the
match_case_sensitive_value |
value field.
|
Sets a case-sensitive match for the
escape_value |
value is URl-escaped.
|
Matches when the