Skip to content

Gateway controller should validate LLMProvider and LLMProxy policies #888

@Tharsanan1

Description

@Tharsanan1

Please select the area the issue is related to

Area/Management (Management API or Management Portal UI), Area/AIPolicies (AI Gateway Policies, Guardrails)

Please select the aspect the issue is related to

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

Description

When i add a non existing policy to the LLMProvider i m not getting bad request. Gateway controller does not validate the policy it sends it to the policy engine. When i send the request to the gateway i see the policy engine is complaining the policy is not availble in the logs

Steps to Reproduce

Create a LLMProvider and attach a policy with wrong name, version wrong params.

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

Assignees

Labels

Area/AIPoliciesIssues related to policies,guardrails in AI GatewayArea/ManagementAny issues related to Management API or Management Portal UIAspect/APIAPI definitions, contracts, OpenAPI, interfacesSeverity/MajorType/Bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions