31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
|
{
|
||
|
"name": "envoy.filters.network.rbac",
|
||
|
"config": {
|
||
|
"rules": {
|
||
|
"action": "DENY",
|
||
|
"policies": {
|
||
|
"consul-intentions": {
|
||
|
"permissions": [
|
||
|
{
|
||
|
"any": true
|
||
|
}
|
||
|
],
|
||
|
"principals": [
|
||
|
{
|
||
|
"authenticated": {
|
||
|
"principal_name": {
|
||
|
"safe_regex": {
|
||
|
"google_re2": {
|
||
|
},
|
||
|
"regex": "^spiffe://[^/]+/ns/default/dc/[^/]+/svc/[^/]+$"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"stat_prefix": "connect_authz"
|
||
|
}
|
||
|
}
|