request_cookie
Version: v2025-02-18 | Includes use: Yes |
---|
Criterion name: Request Cookie
Match the cookie name or value passed with the request.
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" "request_cookie" {
rules_v2025_02_18 {
name = "Request Cookie"
comments = "Matches the cookie name or value passed with the request."
criterion {
request_cookie {
match_wildcard_name = false
match_operator = "IS"
match_case_sensitive_name = true
match_wildcard_value = false
match_case_sensitive_value = true
value = ""
cookie_name = ""
}
}
}
}
"criterion": [
{
"name": "requestCookie",
"options": {
"matchWildcardName": false,
"matchOperator": "IS",
"matchCaseSensitiveName": true,
"matchWildcardValue": false,
"matchCaseSensitiveValue": true,
"value": "",
"cookieName": ""
}
}
]
Options
Option | Description |
---|---|
cookie_name |
The name of the cookie, for example,
visitor in visitor:anon .
|
match_operator |
Narrows the match criteria. Value is one of:
|
value |
The cookie's value, for example,
anon in visitor:anon .
|
lower_bound |
Specifies the match's minimum value.
|
upper_bound |
Specifies the match's maximum value.
|
match_wildcard_name |
Allows wildcards in the
cookie_name field, where ? matches a single character and * matches zero or more characters.
|
match_case_sensitive_name |
Sets a case-sensitive match for the
cookie_name field.
|
match_wildcard_value |
Allows wildcards in the
value field, where ? matches a single character and * matches zero or more characters.
|
match_case_sensitive_value |
Sets a case-sensitive match for the
value field.
|
Updated 16 minutes ago