Skip to content

[Bug]: Advanced Rate Limit not applying globally even when defined globally #2506

Description

@ashera96

Please select the area the issue is related to

Area/Management (Management API or Management Portal UI)

Please select the aspect the issue is related to

Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI)

Description

When advanced-ratelimit policy is configured at an API-level, without specifying the keyExtraction as apiname, it is default to resource level leading it to act as though a resource-level ratelimit policy.

Steps to Reproduce

  1. Create LLM Proxy
  2. Attach global rate-limit policy via the rate-limit configuring tab in the AI Workspace/ advanced-rate-limit policy via the Guardrails & Policies tab.
  3. Deploy and invoke to verify the ratelimiting

Severity Level of the Issue

Severity/Major (Important functionality is broken. Should be prioritized. Doesn't need immediate attention)

Environment Details (with versions)

No response

Metadata

Metadata

Labels

Area/ManagementAny issues related to Management API or Management Portal UIAspect/APIAPI definitions, contracts, OpenAPI, interfacesSeverity/MajorType/Bug

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions