rbac: add uri_template for path matching (#31447)

Added uri_template with envoy.path.match extension category to allow matching with URI templates in RBAC.

Risk Level: low
Testing: unit, integration
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Fixes #30724

Signed-off-by: kozjan <jan.kozlowski@allegro.com>

Mirrored from https://github.com/envoyproxy/envoy @ 20c7368afa9d686a109f9601ae1b9b6028b74b0a
main
update-envoy[bot] 1 year ago
parent f3ccedc2d0
commit d0553ff15f
  1. 6
      envoy/config/rbac/v3/rbac.proto

@ -194,7 +194,7 @@ message Policy {
}
// Permission defines an action (or actions) that a principal can take.
// [#next-free-field: 13]
// [#next-free-field: 14]
message Permission {
option (udpa.annotations.versioning).previous_message_type = "envoy.config.rbac.v2.Permission";
@ -270,6 +270,10 @@ message Permission {
// Extension for configuring custom matchers for RBAC.
// [#extension-category: envoy.rbac.matchers]
core.v3.TypedExtensionConfig matcher = 12;
// URI template path matching.
// [#extension-category: envoy.path.match]
core.v3.TypedExtensionConfig uri_template = 13;
}
}

Loading…
Cancel
Save