v1.9.0
What's Changed
- Feature: add
RequestAttributesAppender
api by @Ahoo-Wang in #57 - Feature: support
request.attributes.
- Feature: support
request.attributes.ipRegion
- Feature: add
Ip2RegionRequestAttributesAppender
{
"name": "RegionWhitelist",
"effect": "deny",
"actions": [
{
"type": "all"
}
],
"conditions": [
{
"negate": true,
"type": "reg",
"part": "request.attributes.ipRegion",
"pattern": "^中国\\|0\\|(上海|广东省)\\|.*"
}
]
}
Full Changelog: v1.8.9...v1.9.0