- match: prefix: "/service/1" route: cluster: service1 typed_per_filter_config: "envoy.filters.http.rbac": "@type": type.googleapis.com/envoy.config.filter.http.rbac.v2.RBACPerRoute rbac: rules: action: DENY policies: "admin-policy": permissions: - any: true principals: - direct_remote_ip: prefix_len: 0 address_prefix: "0.0.0.0"
"routes": [ { "match": { "prefix": "/service/1" }, "route": { "cluster": "service1" }, "typed_per_filter_config": { "envoy.filters.http.rbac": { "rbac": { "rules": { "action": "DENY", "policies": { "admin-policy": { "permissions": [ { "any": true } ], "principals": [ { "direct_remote_ip": { "address_prefix": "0.0.0.0", "prefix_len": 0 } } ] } } } } } } }