mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-01 18:33:19 +02:00
custom rego in databroker (#1124)
* add support for sub policies * add support for sub policies * update authz rego policy to support sub policies
This commit is contained in:
parent
1d82be2c0e
commit
504197d83b
10 changed files with 576 additions and 277 deletions
|
@ -45,7 +45,7 @@ func TestConfigSource(t *testing.T) {
|
|||
|
||||
data, _ := ptypes.MarshalAny(&configpb.Config{
|
||||
Name: "config",
|
||||
Policies: []*configpb.Policy{
|
||||
Routes: []*configpb.Route{
|
||||
{
|
||||
From: "https://from.example.com",
|
||||
To: "https://to.example.com",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue