mirror of https://github.com/status-im/consul.git
33 lines
751 B
Plaintext
33 lines
751 B
Plaintext
|
{
|
||
|
"name": "envoy.filters.network.rbac",
|
||
|
"typedConfig": {
|
||
|
"@type": "type.googleapis.com/envoy.config.filter.network.rbac.v2.RBAC",
|
||
|
"rules": {
|
||
|
"action": "DENY",
|
||
|
"policies": {
|
||
|
"consul-intentions-layer4": {
|
||
|
"permissions": [
|
||
|
{
|
||
|
"any": true
|
||
|
}
|
||
|
],
|
||
|
"principals": [
|
||
|
{
|
||
|
"authenticated": {
|
||
|
"principalName": {
|
||
|
"safeRegex": {
|
||
|
"googleRe2": {
|
||
|
|
||
|
},
|
||
|
"regex": "^spiffe://[^/]+/ns/default/dc/[^/]+/svc/[^/]+$"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"statPrefix": "connect_authz"
|
||
|
}
|
||
|
}
|