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:
Caleb Doxsey 2020-07-22 10:44:05 -06:00 committed by GitHub
parent 1d82be2c0e
commit 504197d83b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 576 additions and 277 deletions

View file

@ -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",