aserto-grpc-authz 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83cc0063a730c036ce7056220fc099ab5d55a0d03394fa2830a935e47052cbec
4
- data.tar.gz: e05b8d810b0b265473365c2da3ad0a62009b386f93649acae9a1b1034e5e4eab
3
+ metadata.gz: 7c169d82aa409f558506d5d98ed94577eb9cf3baee72d8928affaf9f62c3b21f
4
+ data.tar.gz: ad034c3caa986fc334c795112f243c991f227087f40a5d424733630ca2060ae1
5
5
  SHA512:
6
- metadata.gz: 555af8eab82e355644a2ef3ce3fa39eb1c5eecad46a007feac1b4563cc032404088cddee2be15faec2f4a13f7b1911bdf67c07ae87a9992a28057b64a2eedd8c
7
- data.tar.gz: 22e508be80cc23250c9a435702c0d0a5e3ecf7738e218d4e757bffe17c1622933744fcb05e6edc26f34c63856ec0e42ab3bebf7dde3c10cd87bd3dd7b55f528f
6
+ metadata.gz: c3ecb7807e36d612f343ca86dfa33cebb234fdb0f397313aa7a348dec18194f7e36b08c3e8c4511dbbd18f1446213a095015f1239f258aed8089d8374a08ebf1
7
+ data.tar.gz: 6d7a8e09cfcc45d5ab607b4186d15e2bf86b292a17b538f9863d7e9bab4fb9b97a90d52126acf567defdaa6060a70ae9dfb1e0e6aba41ce408eecf2352c72c08
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Aserto::Grpc::Authz
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/aserto-grpc-authz.svg)](https://badge.fury.io/rb/aserto-grpc-authz)
4
+ [![ci](https://github.com/aserto-dev/ruby-grpc-authz/actions/workflows/ci.yaml/badge.svg)](https://github.com/aserto-dev/ruby-grpc-authz/actions/workflows/ci.yaml)
5
+ [![slack](https://img.shields.io/badge/slack-Aserto%20Community-brightgreen)](https://asertocommunity.slack.com
6
+ )
7
+
3
8
  Ruby generated GRPC client for Aserto Authorizer
4
9
 
5
10
  ## Installation
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -43,6 +43,26 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
43
43
  optional :generated, :bool, 9, json_name: "generated"
44
44
  optional :json_schema, :string, 10, json_name: "jsonSchema"
45
45
  end
46
+ add_enum "aserto.api.v1.ProviderID" do
47
+ value :PROVIDER_ID_UNKNOWN, 0
48
+ value :PROVIDER_ID_ACMECORP, 1
49
+ value :PROVIDER_ID_ASERTO_REGISTRY, 2
50
+ value :PROVIDER_ID_BUNDLER, 3
51
+ value :PROVIDER_ID_AUTH0, 4
52
+ value :PROVIDER_ID_DECISION_LOGS, 5
53
+ value :PROVIDER_ID_DISCOVERY, 6
54
+ value :PROVIDER_ID_EDGE_DIRECTORY, 7
55
+ value :PROVIDER_ID_GHCR_PAT, 8
56
+ value :PROVIDER_ID_GITHUB, 9
57
+ value :PROVIDER_ID_GITHUB_PAT, 10
58
+ value :PROVIDER_ID_GITLAB_PAT, 11
59
+ value :PROVIDER_ID_AUTHORIZER, 12
60
+ value :PROVIDER_ID_OKTA, 13
61
+ value :PROVIDER_ID_OPCR, 14
62
+ value :PROVIDER_ID_OPCR_PUBLIC, 15
63
+ value :PROVIDER_ID_EDGE_AUTHORIZER, 16
64
+ value :PROVIDER_ID_CITADEL, 17
65
+ end
46
66
  add_enum "aserto.api.v1.ProviderKind" do
47
67
  value :PROVIDER_KIND_UNKNOWN, 0
48
68
  value :PROVIDER_KIND_IDP, 1
@@ -52,7 +72,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
52
72
  value :PROVIDER_KIND_DECISION_LOGS, 5
53
73
  value :PROVIDER_KIND_DIRECTORY, 6
54
74
  value :PROVIDER_KIND_DISCOVERY, 7
55
- value :PROVIDER_KIND_SATELLITE, 8
75
+ value :PROVIDER_KIND_EDGE_AUTHORIZER, 8
56
76
  end
57
77
  add_enum "aserto.api.v1.ConnectionType" do
58
78
  value :CONNECTION_TYPE_UNKNOWN, 0
@@ -87,6 +107,7 @@ module Aserto
87
107
  Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.Provider").msgclass
88
108
  Connection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.Connection").msgclass
89
109
  ConfigElement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ConfigElement").msgclass
110
+ ProviderID = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ProviderID").enummodule
90
111
  ProviderKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ProviderKind").enummodule
91
112
  ConnectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ConnectionType").enummodule
92
113
  ConfigElementKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ConfigElementKind").enummodule
@@ -9,8 +9,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("aserto/api/v1/policy_context.proto", :syntax => :proto3) do
10
10
  add_message "aserto.api.v1.PolicyContext" do
11
11
  optional :id, :string, 1, json_name: "id"
12
+ optional :name, :string, 4, json_name: "name"
12
13
  optional :path, :string, 2, json_name: "path"
13
14
  repeated :decisions, :string, 3, json_name: "decisions"
15
+ optional :instance_label, :string, 5, json_name: "instanceLabel"
14
16
  end
15
17
  end
16
18
  end
@@ -0,0 +1,38 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: aserto/api/v2/connection_events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'aserto/api/v1/connection_pb'
7
+ require 'aserto/options/v1/ids_pb'
8
+ require 'aserto/options/v1/events_pb'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("aserto/api/v2/connection_events.proto", :syntax => :proto3) do
12
+ add_message "aserto.api.v2.ConnectionCreated" do
13
+ optional :tenant_id, :string, 1, json_name: "tenantId"
14
+ optional :connection_id, :string, 2, json_name: "connectionId"
15
+ optional :kind, :enum, 3, "aserto.api.v1.ProviderKind", json_name: "kind"
16
+ end
17
+ add_message "aserto.api.v2.ConnectionDeleted" do
18
+ optional :tenant_id, :string, 1, json_name: "tenantId"
19
+ optional :connection_id, :string, 2, json_name: "connectionId"
20
+ optional :kind, :enum, 3, "aserto.api.v1.ProviderKind", json_name: "kind"
21
+ end
22
+ add_message "aserto.api.v2.ConnectionUpdated" do
23
+ optional :tenant_id, :string, 1, json_name: "tenantId"
24
+ optional :connection_id, :string, 2, json_name: "connectionId"
25
+ optional :kind, :enum, 3, "aserto.api.v1.ProviderKind", json_name: "kind"
26
+ end
27
+ end
28
+ end
29
+
30
+ module Aserto
31
+ module Api
32
+ module V2
33
+ ConnectionCreated = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.ConnectionCreated").msgclass
34
+ ConnectionDeleted = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.ConnectionDeleted").msgclass
35
+ ConnectionUpdated = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.ConnectionUpdated").msgclass
36
+ end
37
+ end
38
+ end
@@ -21,7 +21,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
21
21
  add_enum "aserto.api.v2.InstanceType" do
22
22
  value :INSTANCE_TYPE_UNKNOWN, 0
23
23
  value :INSTANCE_TYPE_HOSTED, 1
24
- value :INSTANCE_TYPE_SATELLITE, 2
24
+ value :INSTANCE_TYPE_EDGE_AUTHORIZER, 2
25
25
  end
26
26
  end
27
27
  end
@@ -9,6 +9,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  optional :policy_id, :string, 1, json_name: "policyId"
10
10
  optional :policy_label, :string, 2, json_name: "policyLabel"
11
11
  optional :remote_host, :string, 3, json_name: "remoteHost"
12
+ optional :connection_id, :string, 4, json_name: "connectionId"
12
13
  end
13
14
  add_message "aserto.api.v2.InstanceRegistration" do
14
15
  optional :id, :string, 1, json_name: "id"
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: aserto/options/v1/events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/descriptor_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("aserto/options/v1/events.proto", :syntax => :proto3) do
10
+ add_message "aserto.options.v1.Event" do
11
+ optional :subject_template, :string, 2, json_name: "subjectTemplate"
12
+ end
13
+ end
14
+ end
15
+
16
+ module Aserto
17
+ module Options
18
+ module V1
19
+ Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.options.v1.Event").msgclass
20
+ end
21
+ end
22
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aserto-grpc-authz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aserto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-31 00:00:00.000000000 Z
11
+ date: 2022-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -117,6 +117,7 @@ files:
117
117
  - generated/aserto/api/v1/scc_org_pb.rb
118
118
  - generated/aserto/api/v1/tenant_pb.rb
119
119
  - generated/aserto/api/v1/user_pb.rb
120
+ - generated/aserto/api/v2/connection_events_pb.rb
120
121
  - generated/aserto/api/v2/instance_pb.rb
121
122
  - generated/aserto/api/v2/management_pb.rb
122
123
  - generated/aserto/api/v2/policy_pb.rb
@@ -125,6 +126,7 @@ files:
125
126
  - generated/aserto/api/v2/user_pb.rb
126
127
  - generated/aserto/authorizer/authorizer/v1/authorizer_pb.rb
127
128
  - generated/aserto/authorizer/authorizer/v1/authorizer_services_pb.rb
129
+ - generated/aserto/options/v1/events_pb.rb
128
130
  - generated/aserto/options/v1/ids_pb.rb
129
131
  - generated/google/api/annotations_pb.rb
130
132
  - generated/google/api/http_pb.rb