generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Add CEL authorization type to the AccessPolicy API.
E.g.:
apiVersion: agentic.networking.x-k8s.io/v1alpha1
kind: XAccessPolicy
spec:
targetRefs: […]
rules:
- authorization:
- type: CEL
cel: 'mcp.tool_name.startsWith("verify_")'Proposed in: Dynamic Auth (0017)
Notes for the implementation
Options for the implementation to investigate:
-
CEL-enabled RBAC filter's
conditionfield: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/rbac/v3/rbac.proto#config-rbac-v3-policy -
Golang filter: https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/golang_filter#config-http-filters-golang
Metadata
Metadata
Assignees
Labels
No labels