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