Rate-Limiting Policy #611
-
Hey there! I am aware that, for example, Envoy provides a rate-limiting filter. Has someone already implemented a Rego policy for rate limiting, or is it not possible with OPA and Rego? Thanks in advance! Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No, not with OPA alone. OPA doesn't keep state like it would be required to create a rate-limiting policy. You would need new builtins, or another process to update the OPA store with the required data. |
Beta Was this translation helpful? Give feedback.
No, not with OPA alone. OPA doesn't keep state like it would be required to create a rate-limiting policy. You would need new builtins, or another process to update the OPA store with the required data.