2020-08-27 17:20:58 +00:00
|
|
|
{
|
|
|
|
"name": "envoy.filters.network.rbac",
|
2021-02-22 21:00:15 +00:00
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.config.filter.network.rbac.v2.RBAC",
|
|
|
|
"rules": {
|
|
|
|
"policies": {
|
|
|
|
"consul-intentions-layer4": {
|
|
|
|
"permissions": [
|
|
|
|
{
|
|
|
|
"any": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"principals": [
|
|
|
|
{
|
|
|
|
"authenticated": {
|
|
|
|
"principalName": {
|
|
|
|
"safeRegex": {
|
|
|
|
"googleRe2": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"regex": "^spiffe://[^/]+/ns/default/dc/[^/]+/svc/web$"
|
|
|
|
}
|
2020-08-27 17:20:58 +00:00
|
|
|
}
|
2021-02-22 21:00:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"statPrefix": "connect_authz"
|
|
|
|
}
|
2020-08-27 17:20:58 +00:00
|
|
|
}
|