1 個回答
- 最新
- 最多得票
- 最多評論
1
I think the problem is your use of the wildcard in your search string. The string match condition is "contains string," so in order to match on both the examples you've provided, you would need to change it to "/test"
If /test will always be at the start of the URI path then you should change the string match condition to "starts with string" as this consumes fewer WCUs.
Documentation for this can be found here: https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-string-match.html
相關內容
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 9 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
but what if I want to set URI --> /test/a/* what should be string match condition? and for abc.example.com/* what should be string match condition?