by shigemk2

当面は技術的なことしか書かない

AWS WAF Rule

If you define more than one Rule in a WebACL, AWS WAF evaluates each request against the Rules in order based on the value of Priority. AWS WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different.

ルールのPriorityがよくわからなかったけど、Priority 0-2のルールが3つあったとして、Priority 0のルールに該当しなかったらWAFが弾くのではなく、ルールが複数あったらOR条件になるらしい。 ので、Priority 0に引っ掛からなかったらPriority 1のルールをチェックして、、、、というふうに順番にチェックしていく。

docs.aws.amazon.com