aserto-authorizer 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d35cb125e8edf12d02b89867dd00dca35a9948a717b3aa2fd1e581b3cba42c1
4
- data.tar.gz: c27a3ef2288e4dc7efea04234a1b7fbc56e5db70af4507fd159217e60d3b9a15
3
+ metadata.gz: 2be46468025bb481ebca325c292f6563f701482d6a47aa83ebcc528a5559f43e
4
+ data.tar.gz: 1dafb62df3fb719fef7e1cc3f8b4e7cab562fffc8c61a669120e4c6e5dc8be4c
5
5
  SHA512:
6
- metadata.gz: cbdeaf23acdc0406127f7a4673c38e2684dfdf66cbbf5e28721f5c615e93c6f8263bfd46fbd7529da3f114e0a549438b42b95ac177812bddc8d8e98441caedf2
7
- data.tar.gz: 22dfdbcb2c6e651ff448bb3de738f63e1de083b43c14bce3ea2e89418e17ce681b70ea86f7aa70dd843d224cfed9aea4a1f9a149e8ff6cc0a924b2e28bbf5e0a
6
+ metadata.gz: 8d95465231ce382462f3f199b20e752dd39a49259aaadf889207117daf048daa349f62f38369b6756a277d2badcaa46c75fcaabdd6251292321b8ed54ca2405e
7
+ data.tar.gz: 0e1cbb2cab71826a62873afca89d2dd4d0174515c2e4d589087bb00d8ccda3516d5be6faec2f47f0c41e316e3328c0eb2732216808546d0041fdf56b2537815f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n/aserto/authorizer/v2/api/identity_context.proto\x12\x18\x61serto.authorizer.v2.api\"i\n\x0fIdentityContext\x12\x1a\n\x08identity\x18\x01 \x01(\tR\x08identity\x12:\n\x04type\x18\x02 \x01(\x0e\x32&.aserto.authorizer.v2.api.IdentityTypeR\x04type*o\n\x0cIdentityType\x12\x19\n\x15IDENTITY_TYPE_UNKNOWN\x10\x00\x12\x16\n\x12IDENTITY_TYPE_NONE\x10\x01\x12\x15\n\x11IDENTITY_TYPE_SUB\x10\x02\x12\x15\n\x11IDENTITY_TYPE_JWT\x10\x03\x42\xfa\x01\n\x1c\x63om.aserto.authorizer.v2.apiB\x14IdentityContextProtoP\x01Z@github.com/aserto-dev/go-authorizer/aserto/authorizer/v2/api;api\xa2\x02\x04\x41\x41VA\xaa\x02\x18\x41serto.Authorizer.V2.Api\xca\x02\x18\x41serto\\Authorizer\\V2\\Api\xe2\x02$Aserto\\Authorizer\\V2\\Api\\GPBMetadata\xea\x02\x1b\x41serto::Authorizer::V2::Apib\x06proto3"
8
+ descriptor_data = "\n/aserto/authorizer/v2/api/identity_context.proto\x12\x18\x61serto.authorizer.v2.api\"i\n\x0fIdentityContext\x12\x1a\n\x08identity\x18\x01 \x01(\tR\x08identity\x12:\n\x04type\x18\x02 \x01(\x0e\x32&.aserto.authorizer.v2.api.IdentityTypeR\x04type*\x89\x01\n\x0cIdentityType\x12\x19\n\x15IDENTITY_TYPE_UNKNOWN\x10\x00\x12\x16\n\x12IDENTITY_TYPE_NONE\x10\x01\x12\x15\n\x11IDENTITY_TYPE_SUB\x10\x02\x12\x15\n\x11IDENTITY_TYPE_JWT\x10\x03\x12\x18\n\x14IDENTITY_TYPE_MANUAL\x10\x04\x42\xfa\x01\n\x1c\x63om.aserto.authorizer.v2.apiB\x14IdentityContextProtoP\x01Z@github.com/aserto-dev/go-authorizer/aserto/authorizer/v2/api;api\xa2\x02\x04\x41\x41VA\xaa\x02\x18\x41serto.Authorizer.V2.Api\xca\x02\x18\x41serto\\Authorizer\\V2\\Api\xe2\x02$Aserto\\Authorizer\\V2\\Api\\GPBMetadata\xea\x02\x1b\x41serto::Authorizer::V2::Apib\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -14,7 +14,7 @@ require 'aserto/authorizer/v2/api/module_pb'
14
14
  require 'aserto/authorizer/v2/api/policy_instance_pb'
15
15
 
16
16
 
17
- descriptor_data = "\n%aserto/authorizer/v2/authorizer.proto\x12\x14\x61serto.authorizer.v2\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a google/protobuf/field_mask.proto\x1a/aserto/authorizer/v2/api/identity_context.proto\x1a-aserto/authorizer/v2/api/policy_context.proto\x1a%aserto/authorizer/v2/api/module.proto\x1a.aserto/authorizer/v2/api/policy_instance.proto\"\r\n\x0bInfoRequest\"x\n\x0cInfoResponse\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x16\n\x06\x63ommit\x18\x02 \x01(\tR\x06\x63ommit\x12\x12\n\x04\x64\x61te\x18\x03 \x01(\tR\x04\x64\x61te\x12\x0e\n\x02os\x18\x04 \x01(\tR\x02os\x12\x12\n\x04\x61rch\x18\x05 \x01(\tR\x04\x61rch\"\xc9\x01\n\x10GetPolicyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x39\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\tfieldMask\x12V\n\x0fpolicy_instance\x18\x03 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x00R\x0epolicyInstance\x88\x01\x01\x42\x12\n\x10_policy_instance\"M\n\x11GetPolicyResponse\x12\x38\n\x06result\x18\x01 \x01(\x0b\x32 .aserto.authorizer.v2.api.ModuleR\x06result\"\xbc\x01\n\x13ListPoliciesRequest\x12\x39\n\nfield_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\tfieldMask\x12V\n\x0fpolicy_instance\x18\x02 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x00R\x0epolicyInstance\x88\x01\x01\x42\x12\n\x10_policy_instance\"P\n\x14ListPoliciesResponse\x12\x38\n\x06result\x18\x01 \x03(\x0b\x32 .aserto.authorizer.v2.api.ModuleR\x06result\"\xb0\x03\n\x13\x44\x65\x63isionTreeRequest\x12N\n\x0epolicy_context\x18\x01 \x01(\x0b\x32\'.aserto.authorizer.v2.api.PolicyContextR\rpolicyContext\x12T\n\x10identity_context\x18\x02 \x01(\x0b\x32).aserto.authorizer.v2.api.IdentityContextR\x0fidentityContext\x12\x43\n\x07options\x18\x03 \x01(\x0b\x32).aserto.authorizer.v2.DecisionTreeOptionsR\x07options\x12\x42\n\x10resource_context\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x0fresourceContext\x12V\n\x0fpolicy_instance\x18\x05 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x00R\x0epolicyInstance\x88\x01\x01\x42\x12\n\x10_policy_instance\"g\n\x13\x44\x65\x63isionTreeOptions\x12J\n\x0epath_separator\x18\x01 \x01(\x0e\x32#.aserto.authorizer.v2.PathSeparatorR\rpathSeparatorJ\x04\x08\x02\x10\x03\"f\n\x14\x44\x65\x63isionTreeResponse\x12\x1b\n\tpath_root\x18\x01 \x01(\tR\x08pathRoot\x12+\n\x04path\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x04pathJ\x04\x08\x02\x10\x03\"\xe1\x02\n\tIsRequest\x12N\n\x0epolicy_context\x18\x01 \x01(\x0b\x32\'.aserto.authorizer.v2.api.PolicyContextR\rpolicyContext\x12T\n\x10identity_context\x18\x02 \x01(\x0b\x32).aserto.authorizer.v2.api.IdentityContextR\x0fidentityContext\x12\x42\n\x10resource_context\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x0fresourceContext\x12V\n\x0fpolicy_instance\x18\x04 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x00R\x0epolicyInstance\x88\x01\x01\x42\x12\n\x10_policy_instance\"6\n\x08\x44\x65\x63ision\x12\x1a\n\x08\x64\x65\x63ision\x18\x01 \x01(\tR\x08\x64\x65\x63ision\x12\x0e\n\x02is\x18\x02 \x01(\x08R\x02is\"J\n\nIsResponse\x12<\n\tdecisions\x18\x01 \x03(\x0b\x32\x1e.aserto.authorizer.v2.DecisionR\tdecisions\"\xa5\x01\n\x0cQueryOptions\x12\x18\n\x07metrics\x18\x01 \x01(\x08R\x07metrics\x12\x1e\n\ninstrument\x18\x02 \x01(\x08R\ninstrument\x12\x36\n\x05trace\x18\x03 \x01(\x0e\x32 .aserto.authorizer.v2.TraceLevelR\x05trace\x12#\n\rtrace_summary\x18\x04 \x01(\x08R\x0ctraceSummary\"\xab\x04\n\x0cQueryRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x41\n\x07options\x18\x03 \x01(\x0b\x32\".aserto.authorizer.v2.QueryOptionsH\x00R\x07options\x88\x01\x01\x12S\n\x0epolicy_context\x18\x04 \x01(\x0b\x32\'.aserto.authorizer.v2.api.PolicyContextH\x01R\rpolicyContext\x88\x01\x01\x12Y\n\x10identity_context\x18\x05 \x01(\x0b\x32).aserto.authorizer.v2.api.IdentityContextH\x02R\x0fidentityContext\x88\x01\x01\x12G\n\x10resource_context\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructH\x03R\x0fresourceContext\x88\x01\x01\x12V\n\x0fpolicy_instance\x18\x07 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x04R\x0epolicyInstance\x88\x01\x01\x42\n\n\x08_optionsB\x11\n\x0f_policy_contextB\x13\n\x11_identity_contextB\x13\n\x11_resource_contextB\x12\n\x10_policy_instance\"\xf4\x04\n\x0e\x43ompileRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x1a\n\x08unknowns\x18\x03 \x03(\tR\x08unknowns\x12)\n\x10\x64isable_inlining\x18\x04 \x03(\tR\x0f\x64isableInlining\x12\x41\n\x07options\x18\x05 \x01(\x0b\x32\".aserto.authorizer.v2.QueryOptionsH\x00R\x07options\x88\x01\x01\x12S\n\x0epolicy_context\x18\x06 \x01(\x0b\x32\'.aserto.authorizer.v2.api.PolicyContextH\x01R\rpolicyContext\x88\x01\x01\x12Y\n\x10identity_context\x18\x07 \x01(\x0b\x32).aserto.authorizer.v2.api.IdentityContextH\x02R\x0fidentityContext\x88\x01\x01\x12G\n\x10resource_context\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructH\x03R\x0fresourceContext\x88\x01\x01\x12V\n\x0fpolicy_instance\x18\t \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x04R\x0epolicyInstance\x88\x01\x01\x42\n\n\x08_optionsB\x11\n\x0f_policy_contextB\x13\n\x11_identity_contextB\x13\n\x11_resource_contextB\x12\n\x10_policy_instance\"\xc9\x01\n\x0f\x43ompileResponse\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructR\x06result\x12\x31\n\x07metrics\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x07metrics\x12-\n\x05trace\x18\x03 \x03(\x0b\x32\x17.google.protobuf.StructR\x05trace\x12#\n\rtrace_summary\x18\x04 \x03(\tR\x0ctraceSummary\"\xcb\x01\n\rQueryResponse\x12\x33\n\x08response\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructR\x08response\x12\x31\n\x07metrics\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x07metrics\x12-\n\x05trace\x18\x03 \x03(\x0b\x32\x17.google.protobuf.StructR\x05trace\x12#\n\rtrace_summary\x18\x04 \x03(\tR\x0ctraceSummary*]\n\rPathSeparator\x12\x1a\n\x16PATH_SEPARATOR_UNKNOWN\x10\x00\x12\x16\n\x12PATH_SEPARATOR_DOT\x10\x01\x12\x18\n\x14PATH_SEPARATOR_SLASH\x10\x02*~\n\nTraceLevel\x12\x17\n\x13TRACE_LEVEL_UNKNOWN\x10\x00\x12\x13\n\x0fTRACE_LEVEL_OFF\x10\x01\x12\x14\n\x10TRACE_LEVEL_FULL\x10\x02\x12\x15\n\x11TRACE_LEVEL_NOTES\x10\x03\x12\x15\n\x11TRACE_LEVEL_FAILS\x10\x04\x32\x89\x0e\n\nAuthorizer\x12\x9f\x02\n\x0c\x44\x65\x63isionTree\x12).aserto.authorizer.v2.DecisionTreeRequest\x1a*.aserto.authorizer.v2.DecisionTreeResponse\"\xb7\x01\x92\x41\x8e\x01\n\nAuthorizer\x12\rDecision tree\x1a\x31Returns decision tree for given identity context.*\x18\x61uthorizer.decision_treeb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/api/v2/authz/decisiontree\x12\x9d\x02\n\x02Is\x12\x1f.aserto.authorizer.v2.IsRequest\x1a .aserto.authorizer.v2.IsResponse\"\xd3\x01\x92\x41\xb4\x01\n\nAuthorizer\x12\x0fIs (authorized)\x1a`Determines if identity context is authorized to access the resource guarded by the given policy.*\rauthorizer.isb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/api/v2/authz/is\x12\x82\x02\n\x05Query\x12\".aserto.authorizer.v2.QueryRequest\x1a#.aserto.authorizer.v2.QueryResponse\"\xaf\x01\x92\x41\x8d\x01\n\nAuthorizer\x12\x12Query (authorized)\x1a\x33\x45xecutes a rego query on the loaded policy runtime.*\x10\x61uthorizer.queryb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/api/v2/authz/query\x12\x91\x02\n\x07\x43ompile\x12$.aserto.authorizer.v2.CompileRequest\x1a%.aserto.authorizer.v2.CompileResponse\"\xb8\x01\x92\x41\x94\x01\n\nAuthorizer\x12\x14\x43ompile (authorized)\x1a\x36\x45xecutes a partial query on the loaded policy runtime.*\x12\x61uthorizer.compileb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/api/v2/authz/compile\x12\x80\x02\n\x0cListPolicies\x12).aserto.authorizer.v2.ListPoliciesRequest\x1a*.aserto.authorizer.v2.ListPoliciesResponse\"\x98\x01\x92\x41}\n\x06Policy\x12\rList Policies\x1a/Lists the policy modules for the policy bundle.*\rpolicies.listb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x12\x12\x10/api/v2/policies\x12\xfe\x01\n\tGetPolicy\x12&.aserto.authorizer.v2.GetPolicyRequest\x1a\'.aserto.authorizer.v2.GetPolicyResponse\"\x9f\x01\x92\x41z\n\x06Policy\x12\nGet Policy\x1a\x30Gets the policy modules for the given module Id.*\x0cpolicies.getb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1c\x12\x1a/api/v2/policies/{id=*/**}\x12\x9b\x01\n\x04Info\x12!.aserto.authorizer.v2.InfoRequest\x1a\".aserto.authorizer.v2.InfoResponse\"L\x92\x41\x35\n\x04Info\x12\x04Info\x1a\x1bReturn version information.*\x08info.getb\x00\x82\xd3\xe4\x93\x02\x0e\x12\x0c/api/v2/infoB\x82\x03\n\x18\x63om.aserto.authorizer.v2B\x0f\x41uthorizerProtoP\x01ZCgithub.com/aserto-dev/go-authorizer/aserto/authorizer/v2;authorizer\xa2\x02\x03\x41\x41X\xaa\x02\x14\x41serto.Authorizer.V2\xca\x02\x14\x41serto\\Authorizer\\V2\xe2\x02 Aserto\\Authorizer\\V2\\GPBMetadata\xea\x02\x16\x41serto::Authorizer::V2\x92\x41\x9c\x01*\x01\x02\x32\x10\x61pplication/json:\x10\x61pplication/jsonZM\n\'\n\x10\x41uthorizerAPIKey\x12\x13\x08\x02\x1a\rauthorization \x02\n\"\n\x08TenantID\x12\x16\x08\x02\x1a\x10\x61serto-tenant-id \x02\x62$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x62\x06proto3"
17
+ descriptor_data = "\n%aserto/authorizer/v2/authorizer.proto\x12\x14\x61serto.authorizer.v2\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a google/protobuf/field_mask.proto\x1a/aserto/authorizer/v2/api/identity_context.proto\x1a-aserto/authorizer/v2/api/policy_context.proto\x1a%aserto/authorizer/v2/api/module.proto\x1a.aserto/authorizer/v2/api/policy_instance.proto\"\r\n\x0bInfoRequest\"x\n\x0cInfoResponse\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x16\n\x06\x63ommit\x18\x02 \x01(\tR\x06\x63ommit\x12\x12\n\x04\x64\x61te\x18\x03 \x01(\tR\x04\x64\x61te\x12\x0e\n\x02os\x18\x04 \x01(\tR\x02os\x12\x12\n\x04\x61rch\x18\x05 \x01(\tR\x04\x61rch\"\xc9\x01\n\x10GetPolicyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x39\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\tfieldMask\x12V\n\x0fpolicy_instance\x18\x03 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x00R\x0epolicyInstance\x88\x01\x01\x42\x12\n\x10_policy_instance\"M\n\x11GetPolicyResponse\x12\x38\n\x06result\x18\x01 \x01(\x0b\x32 .aserto.authorizer.v2.api.ModuleR\x06result\"\xbc\x01\n\x13ListPoliciesRequest\x12\x39\n\nfield_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\tfieldMask\x12V\n\x0fpolicy_instance\x18\x02 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x00R\x0epolicyInstance\x88\x01\x01\x42\x12\n\x10_policy_instance\"P\n\x14ListPoliciesResponse\x12\x38\n\x06result\x18\x01 \x03(\x0b\x32 .aserto.authorizer.v2.api.ModuleR\x06result\"\xb0\x03\n\x13\x44\x65\x63isionTreeRequest\x12N\n\x0epolicy_context\x18\x01 \x01(\x0b\x32\'.aserto.authorizer.v2.api.PolicyContextR\rpolicyContext\x12T\n\x10identity_context\x18\x02 \x01(\x0b\x32).aserto.authorizer.v2.api.IdentityContextR\x0fidentityContext\x12\x43\n\x07options\x18\x03 \x01(\x0b\x32).aserto.authorizer.v2.DecisionTreeOptionsR\x07options\x12\x42\n\x10resource_context\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x0fresourceContext\x12V\n\x0fpolicy_instance\x18\x05 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x00R\x0epolicyInstance\x88\x01\x01\x42\x12\n\x10_policy_instance\"g\n\x13\x44\x65\x63isionTreeOptions\x12J\n\x0epath_separator\x18\x01 \x01(\x0e\x32#.aserto.authorizer.v2.PathSeparatorR\rpathSeparatorJ\x04\x08\x02\x10\x03\"f\n\x14\x44\x65\x63isionTreeResponse\x12\x1b\n\tpath_root\x18\x01 \x01(\tR\x08pathRoot\x12+\n\x04path\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x04pathJ\x04\x08\x02\x10\x03\"\xe1\x02\n\tIsRequest\x12N\n\x0epolicy_context\x18\x01 \x01(\x0b\x32\'.aserto.authorizer.v2.api.PolicyContextR\rpolicyContext\x12T\n\x10identity_context\x18\x02 \x01(\x0b\x32).aserto.authorizer.v2.api.IdentityContextR\x0fidentityContext\x12\x42\n\x10resource_context\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x0fresourceContext\x12V\n\x0fpolicy_instance\x18\x04 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x00R\x0epolicyInstance\x88\x01\x01\x42\x12\n\x10_policy_instance\"6\n\x08\x44\x65\x63ision\x12\x1a\n\x08\x64\x65\x63ision\x18\x01 \x01(\tR\x08\x64\x65\x63ision\x12\x0e\n\x02is\x18\x02 \x01(\x08R\x02is\"J\n\nIsResponse\x12<\n\tdecisions\x18\x01 \x03(\x0b\x32\x1e.aserto.authorizer.v2.DecisionR\tdecisions\"\xa5\x01\n\x0cQueryOptions\x12\x18\n\x07metrics\x18\x01 \x01(\x08R\x07metrics\x12\x1e\n\ninstrument\x18\x02 \x01(\x08R\ninstrument\x12\x36\n\x05trace\x18\x03 \x01(\x0e\x32 .aserto.authorizer.v2.TraceLevelR\x05trace\x12#\n\rtrace_summary\x18\x04 \x01(\x08R\x0ctraceSummary\"\xab\x04\n\x0cQueryRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x41\n\x07options\x18\x03 \x01(\x0b\x32\".aserto.authorizer.v2.QueryOptionsH\x00R\x07options\x88\x01\x01\x12S\n\x0epolicy_context\x18\x04 \x01(\x0b\x32\'.aserto.authorizer.v2.api.PolicyContextH\x01R\rpolicyContext\x88\x01\x01\x12Y\n\x10identity_context\x18\x05 \x01(\x0b\x32).aserto.authorizer.v2.api.IdentityContextH\x02R\x0fidentityContext\x88\x01\x01\x12G\n\x10resource_context\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructH\x03R\x0fresourceContext\x88\x01\x01\x12V\n\x0fpolicy_instance\x18\x07 \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x04R\x0epolicyInstance\x88\x01\x01\x42\n\n\x08_optionsB\x11\n\x0f_policy_contextB\x13\n\x11_identity_contextB\x13\n\x11_resource_contextB\x12\n\x10_policy_instance\"\xf4\x04\n\x0e\x43ompileRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x1a\n\x08unknowns\x18\x03 \x03(\tR\x08unknowns\x12)\n\x10\x64isable_inlining\x18\x04 \x03(\tR\x0f\x64isableInlining\x12\x41\n\x07options\x18\x05 \x01(\x0b\x32\".aserto.authorizer.v2.QueryOptionsH\x00R\x07options\x88\x01\x01\x12S\n\x0epolicy_context\x18\x06 \x01(\x0b\x32\'.aserto.authorizer.v2.api.PolicyContextH\x01R\rpolicyContext\x88\x01\x01\x12Y\n\x10identity_context\x18\x07 \x01(\x0b\x32).aserto.authorizer.v2.api.IdentityContextH\x02R\x0fidentityContext\x88\x01\x01\x12G\n\x10resource_context\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructH\x03R\x0fresourceContext\x88\x01\x01\x12V\n\x0fpolicy_instance\x18\t \x01(\x0b\x32(.aserto.authorizer.v2.api.PolicyInstanceH\x04R\x0epolicyInstance\x88\x01\x01\x42\n\n\x08_optionsB\x11\n\x0f_policy_contextB\x13\n\x11_identity_contextB\x13\n\x11_resource_contextB\x12\n\x10_policy_instance\"\xc9\x01\n\x0f\x43ompileResponse\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructR\x06result\x12\x31\n\x07metrics\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x07metrics\x12-\n\x05trace\x18\x03 \x03(\x0b\x32\x17.google.protobuf.StructR\x05trace\x12#\n\rtrace_summary\x18\x04 \x03(\tR\x0ctraceSummary\"\xcb\x01\n\rQueryResponse\x12\x33\n\x08response\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructR\x08response\x12\x31\n\x07metrics\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x07metrics\x12-\n\x05trace\x18\x03 \x03(\x0b\x32\x17.google.protobuf.StructR\x05trace\x12#\n\rtrace_summary\x18\x04 \x03(\tR\x0ctraceSummary*]\n\rPathSeparator\x12\x1a\n\x16PATH_SEPARATOR_UNKNOWN\x10\x00\x12\x16\n\x12PATH_SEPARATOR_DOT\x10\x01\x12\x18\n\x14PATH_SEPARATOR_SLASH\x10\x02*~\n\nTraceLevel\x12\x17\n\x13TRACE_LEVEL_UNKNOWN\x10\x00\x12\x13\n\x0fTRACE_LEVEL_OFF\x10\x01\x12\x14\n\x10TRACE_LEVEL_FULL\x10\x02\x12\x15\n\x11TRACE_LEVEL_NOTES\x10\x03\x12\x15\n\x11TRACE_LEVEL_FAILS\x10\x04\x32\x89\x0e\n\nAuthorizer\x12\x9f\x02\n\x0c\x44\x65\x63isionTree\x12).aserto.authorizer.v2.DecisionTreeRequest\x1a*.aserto.authorizer.v2.DecisionTreeResponse\"\xb7\x01\x92\x41\x8e\x01\n\nAuthorizer\x12\rDecision tree\x1a\x31Returns decision tree for given identity context.*\x18\x61uthorizer.decision_treeb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1f\"\x1a/api/v2/authz/decisiontree:\x01*\x12\x9d\x02\n\x02Is\x12\x1f.aserto.authorizer.v2.IsRequest\x1a .aserto.authorizer.v2.IsResponse\"\xd3\x01\x92\x41\xb4\x01\n\nAuthorizer\x12\x0fIs (authorized)\x1a`Determines if identity context is authorized to access the resource guarded by the given policy.*\rauthorizer.isb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x15\"\x10/api/v2/authz/is:\x01*\x12\x82\x02\n\x05Query\x12\".aserto.authorizer.v2.QueryRequest\x1a#.aserto.authorizer.v2.QueryResponse\"\xaf\x01\x92\x41\x8d\x01\n\nAuthorizer\x12\x12Query (authorized)\x1a\x33\x45xecutes a rego query on the loaded policy runtime.*\x10\x61uthorizer.queryb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x18\"\x13/api/v2/authz/query:\x01*\x12\x91\x02\n\x07\x43ompile\x12$.aserto.authorizer.v2.CompileRequest\x1a%.aserto.authorizer.v2.CompileResponse\"\xb8\x01\x92\x41\x94\x01\n\nAuthorizer\x12\x14\x43ompile (authorized)\x1a\x36\x45xecutes a partial query on the loaded policy runtime.*\x12\x61uthorizer.compileb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1a\"\x15/api/v2/authz/compile:\x01*\x12\x80\x02\n\x0cListPolicies\x12).aserto.authorizer.v2.ListPoliciesRequest\x1a*.aserto.authorizer.v2.ListPoliciesResponse\"\x98\x01\x92\x41}\n\x06Policy\x12\rList Policies\x1a/Lists the policy modules for the policy bundle.*\rpolicies.listb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x12\x12\x10/api/v2/policies\x12\xfe\x01\n\tGetPolicy\x12&.aserto.authorizer.v2.GetPolicyRequest\x1a\'.aserto.authorizer.v2.GetPolicyResponse\"\x9f\x01\x92\x41z\n\x06Policy\x12\nGet Policy\x1a\x30Gets the policy modules for the given module Id.*\x0cpolicies.getb$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1c\x12\x1a/api/v2/policies/{id=*/**}\x12\x9b\x01\n\x04Info\x12!.aserto.authorizer.v2.InfoRequest\x1a\".aserto.authorizer.v2.InfoResponse\"L\x92\x41\x35\n\x04Info\x12\x04Info\x1a\x1bReturn version information.*\x08info.getb\x00\x82\xd3\xe4\x93\x02\x0e\x12\x0c/api/v2/infoB\x82\x03\n\x18\x63om.aserto.authorizer.v2B\x0f\x41uthorizerProtoP\x01ZCgithub.com/aserto-dev/go-authorizer/aserto/authorizer/v2;authorizer\xa2\x02\x03\x41\x41X\xaa\x02\x14\x41serto.Authorizer.V2\xca\x02\x14\x41serto\\Authorizer\\V2\xe2\x02 Aserto\\Authorizer\\V2\\GPBMetadata\xea\x02\x16\x41serto::Authorizer::V2\x92\x41\x9c\x01*\x01\x02\x32\x10\x61pplication/json:\x10\x61pplication/jsonZM\n\'\n\x10\x41uthorizerAPIKey\x12\x13\x08\x02\x1a\rauthorization \x02\n\"\n\x08TenantID\x12\x16\x08\x02\x1a\x10\x61serto-tenant-id \x02\x62$\n\x14\n\x10\x41uthorizerAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x62\x06proto3"
18
18
 
19
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
20
20
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aserto-authorizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aserto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-23 00:00:00.000000000 Z
11
+ date: 2023-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc