1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
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?