Open samlevy3 opened 1 month ago
@samlevy3 According to this doc it is unique combination of both keys
.
@imrannayer So there is no way to throttle based on IP
and also on TLS_JA3_FINGERPRINT
?
@samlevy3 I am not sure about it. Can u plz open a support ticket for it? Support can help u.
Hello!
I had a question about whether it was possible to apply multiple rate limiting rules for requests to the same path (
/example
) (want to limit on IP and separately limit on JA3 signature).Specifying two rules doesn't seem to work because if I did something like this:
Then all requests would match the first rule (priority 13) and would either be denied or allowed by that rule. As a result, the only throttling applied would be by IP and it would never throttle by fingerprint (At least that is my understanding).
I then saw an option to rate limit on multiple keys using
enforce_on_key_configs
(https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_security_policy#enforce_on_key_configs).However, the documentation says "If specified, any combination of enforce_on_key_type/enforce_on_key_name is treated as the key on which rate limit threshold/action is enforced". I found the word choice of any combination vague because I couldn't tell if it was JUST the unique combination of keys or if it essentially created multiple unique keys to rate limit through different combinations of the keys provided.
For example,
I was hoping this would throttle on
IP
or onTLS_JA3_FINGERPRINT
(whichever limit was reached first) but to me it seems more likely that it would throttle on the unique combination of the two. Is that correct? And if so, is there another way to rate limit the same requests using bothIP
andTLS_JA3_FINGERPRINT
?