2024-02-28 14:34:09 +08:00
|
|
|
{
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"state": "on",
|
2024-03-16 22:44:06 +08:00
|
|
|
"name": "no cookie",
|
2024-02-28 14:34:09 +08:00
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
"field": "URL",
|
2024-03-16 22:44:06 +08:00
|
|
|
"pattern": "eq",
|
|
|
|
"rule": "/test/\\d+\\.html"
|
2024-02-28 14:34:09 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"field": "Cookie",
|
2024-03-16 22:44:06 +08:00
|
|
|
"pattern": "eq",
|
|
|
|
"rule": ""
|
2024-02-28 14:34:09 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "deny",
|
2024-03-22 18:58:08 +08:00
|
|
|
"code": 403,
|
2024-03-16 22:44:06 +08:00
|
|
|
"res": "",
|
|
|
|
"ipBlock": "off",
|
|
|
|
"ipBlockTime": 60,
|
2024-02-28 14:34:09 +08:00
|
|
|
"description": "拦截不带Cookie的请求"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|