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