2020-08-27 17:20:58 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +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-11 16:40:19 +00:00
|
|
|
"any": true
|
2021-02-22 21:00:15 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"principals": [
|
2021-02-22 21:00:15 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"authenticated": {
|
|
|
|
"principalName": {
|
|
|
|
"safeRegex": {
|
|
|
|
"regex": "^spiffe://test.consul/ns/default/dc/[^/]+/svc/web$"
|
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-11 16:40:19 +00:00
|
|
|
"statPrefix": "connect_authz"
|
2021-02-22 21:00:15 +00:00
|
|
|
}
|
2020-08-27 17:20:58 +00:00
|
|
|
}
|