{ "Name": "tf-jptest-login", "Priority": 7, "Statement": { "RateBasedStatement": { "Limit": 100, "AggregateKeyType": "IP", "ScopeDownStatement": { "AndStatement": { "Statements": [ { "ByteMatchStatement": { "SearchString": "login", "FieldToMatch": { "UriPath": {} }, "TextTransformations": [ { "Priority": 1, "Type": "LOWERCASE" } ], "PositionalConstraint": "CONTAINS" } }, { "NotStatement": { "Statement": { "OrStatement": { "Statements": [ { "IPSetReferenceStatement": { "ARN": "arn:aws:wafv2:us-east-1::global/ipset/tf-local-ips/3761c76e-4c42-4d96-96d9-ada46e4e917e" } }, { "RegexPatternSetReferenceStatement": { "ARN": "arn:aws:wafv2:us-east-1::global/regexpatternset/tf-good-bots/25663cc9-2ed8-4d4f-b0b7-93ad4b28b150", "FieldToMatch": { "SingleHeader": { "Name": "user-agent" } }, "TextTransformations": [ { "Priority": 1, "Type": "LOWERCASE" } ] } } ] } } } } ] } } } }, "Action": { "Block": {} }, "VisibilityConfig": { "SampledRequestsEnabled": true, "CloudWatchMetricsEnabled": true, "MetricName": "tf-jptest-login" } }