strongdm 15.14.0 → 15.15.0
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 +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-c39a8f7546865b040c99432a08429c454ebf5eaf.idx → pack-22b85a8bfbae54b5ff56d876ba546055c5068835.idx} +0 -0
- data/.git/objects/pack/{pack-c39a8f7546865b040c99432a08429c454ebf5eaf.pack → pack-22b85a8bfbae54b5ff56d876ba546055c5068835.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/accounts_groups_history_pb.rb +49 -0
- data/lib/grpc/accounts_groups_history_services_pb.rb +37 -0
- data/lib/grpc/accounts_groups_pb.rb +78 -0
- data/lib/grpc/accounts_groups_services_pb.rb +43 -0
- data/lib/grpc/drivers_pb.rb +18 -0
- data/lib/grpc/groups_history_pb.rb +49 -0
- data/lib/grpc/groups_history_services_pb.rb +37 -0
- data/lib/grpc/groups_pb.rb +116 -0
- data/lib/grpc/groups_roles_history_pb.rb +49 -0
- data/lib/grpc/groups_roles_history_services_pb.rb +37 -0
- data/lib/grpc/groups_roles_pb.rb +81 -0
- data/lib/grpc/groups_roles_services_pb.rb +43 -0
- data/lib/grpc/groups_services_pb.rb +46 -0
- data/lib/grpc/plumbing.rb +3476 -2138
- data/lib/models/porcelain.rb +990 -56
- data/lib/strongdm.rb +52 -1
- data/lib/svc.rb +769 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +16 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daaba30a6856381a1ee02ad6eaa0ff7a382ecfcec7e89f79bf3a889447f7d9a5
|
4
|
+
data.tar.gz: 02c4d495ee5a0de0b1d69802d2e1cea61794b3c708a52856bdceaf6e5e468929
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a6521677e34dd396a8375b56ca7902ef0f7d4c95922acce21f84f803d76444485ab7d045c3cf63b475120507a6e45420faad96ae797e1d5fbcfd1c163c66e65
|
7
|
+
data.tar.gz: 567c552cc59ce87b6f4ea06ece1514cf0e1346f63ffb374e444c08a02f62a84ffcf6f6e801f670d4dbdc7531ae64f5afd60f3ee446be30811d2052187202a1d7
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3390b048dd31fedb6d32ebf523a31c54e328c3cc
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 3390b048dd31fedb6d32ebf523a31c54e328c3cc root <root@6a2c8e7d538a.(none)> 1758312588 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
3390b048dd31fedb6d32ebf523a31c54e328c3cc 3390b048dd31fedb6d32ebf523a31c54e328c3cc root <root@6a2c8e7d538a.(none)> 1758312588 +0000 checkout: moving from master to master
|
3
|
+
3390b048dd31fedb6d32ebf523a31c54e328c3cc 81598512df57088babfeef6c3a6a69097a700f72 root <root@6a2c8e7d538a.(none)> 1758312588 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 3390b048dd31fedb6d32ebf523a31c54e328c3cc root <root@6a2c8e7d538a.(none)> 1758312588 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
3390b048dd31fedb6d32ebf523a31c54e328c3cc 81598512df57088babfeef6c3a6a69097a700f72 root <root@6a2c8e7d538a.(none)> 1758312588 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 3390b048dd31fedb6d32ebf523a31c54e328c3cc root <root@6a2c8e7d538a.(none)> 1758312588 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
81598512df57088babfeef6c3a6a69097a700f72 refs/remotes/origin/development
|
3
|
+
3390b048dd31fedb6d32ebf523a31c54e328c3cc refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -106,6 +106,7 @@ f5e3068d4f6c73c93d409699726cc9fb3c5cf482 refs/tags/v14.5.0
|
|
106
106
|
ac9b86121b9542f28b614f897f7a61f34363410b refs/tags/v15.10.0
|
107
107
|
2e90626b692fd478a2655f0d24ca5a0581933b8d refs/tags/v15.11.0
|
108
108
|
562421bbcbbe3796fca3322e7770b56688d373e1 refs/tags/v15.13.0
|
109
|
+
3390b048dd31fedb6d32ebf523a31c54e328c3cc refs/tags/v15.14.0
|
109
110
|
95ca84ab082b3f19fa3b0d1799ac55e4beebea64 refs/tags/v15.2.0
|
110
111
|
cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
|
111
112
|
0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
81598512df57088babfeef6c3a6a69097a700f72
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# source: accounts_groups_history.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "google/protobuf/timestamp_pb"
|
21
|
+
require "accounts_groups_pb"
|
22
|
+
require "options_pb"
|
23
|
+
require "spec_pb"
|
24
|
+
|
25
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
26
|
+
add_file("accounts_groups_history.proto", :syntax => :proto3) do
|
27
|
+
add_message "v1.AccountGroupHistoryListRequest" do
|
28
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
29
|
+
optional :filter, :string, 2
|
30
|
+
end
|
31
|
+
add_message "v1.AccountGroupHistoryListResponse" do
|
32
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
33
|
+
repeated :history, :message, 2, "v1.AccountGroupHistory"
|
34
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
35
|
+
end
|
36
|
+
add_message "v1.AccountGroupHistory" do
|
37
|
+
optional :activity_id, :string, 1
|
38
|
+
optional :timestamp, :message, 2, "google.protobuf.Timestamp"
|
39
|
+
optional :account_group, :message, 3, "v1.AccountGroup"
|
40
|
+
optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
module V1
|
46
|
+
AccountGroupHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupHistoryListRequest").msgclass
|
47
|
+
AccountGroupHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupHistoryListResponse").msgclass
|
48
|
+
AccountGroupHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupHistory").msgclass
|
49
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# Source: accounts_groups_history.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "accounts_groups_history_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module AccountsGroupsHistory
|
23
|
+
# AccountsGroupsHistory records all changes to the state of an AccountGroup.
|
24
|
+
class Service
|
25
|
+
include ::GRPC::GenericService
|
26
|
+
|
27
|
+
self.marshal_class_method = :encode
|
28
|
+
self.unmarshal_class_method = :decode
|
29
|
+
self.service_name = "v1.AccountsGroupsHistory"
|
30
|
+
|
31
|
+
# List gets a list of AccountGroupHistory records matching a given set of criteria.
|
32
|
+
rpc :List, ::V1::AccountGroupHistoryListRequest, ::V1::AccountGroupHistoryListResponse
|
33
|
+
end
|
34
|
+
|
35
|
+
Stub = Service.rpc_stub_class
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# source: accounts_groups.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "options_pb"
|
21
|
+
require "spec_pb"
|
22
|
+
|
23
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
24
|
+
add_file("accounts_groups.proto", :syntax => :proto3) do
|
25
|
+
add_message "v1.AccountGroupCreateRequest" do
|
26
|
+
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
27
|
+
optional :account_group, :message, 2, "v1.AccountGroup"
|
28
|
+
end
|
29
|
+
add_message "v1.AccountGroupCreateResponse" do
|
30
|
+
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
31
|
+
optional :account_group, :message, 2, "v1.AccountGroup"
|
32
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
33
|
+
end
|
34
|
+
add_message "v1.AccountGroupGetRequest" do
|
35
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
36
|
+
optional :id, :string, 2
|
37
|
+
end
|
38
|
+
add_message "v1.AccountGroupGetResponse" do
|
39
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
40
|
+
optional :account_group, :message, 2, "v1.AccountGroup"
|
41
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
42
|
+
end
|
43
|
+
add_message "v1.AccountGroupDeleteRequest" do
|
44
|
+
optional :meta, :message, 1, "v1.DeleteRequestMetadata"
|
45
|
+
optional :id, :string, 2
|
46
|
+
end
|
47
|
+
add_message "v1.AccountGroupDeleteResponse" do
|
48
|
+
optional :meta, :message, 1, "v1.DeleteResponseMetadata"
|
49
|
+
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
50
|
+
end
|
51
|
+
add_message "v1.AccountGroupListRequest" do
|
52
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
53
|
+
optional :filter, :string, 2
|
54
|
+
end
|
55
|
+
add_message "v1.AccountGroupListResponse" do
|
56
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
57
|
+
repeated :account_groups, :message, 2, "v1.AccountGroup"
|
58
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
59
|
+
end
|
60
|
+
add_message "v1.AccountGroup" do
|
61
|
+
optional :id, :string, 1
|
62
|
+
optional :account_id, :string, 2
|
63
|
+
optional :group_id, :string, 3
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
module V1
|
69
|
+
AccountGroupCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupCreateRequest").msgclass
|
70
|
+
AccountGroupCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupCreateResponse").msgclass
|
71
|
+
AccountGroupGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupGetRequest").msgclass
|
72
|
+
AccountGroupGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupGetResponse").msgclass
|
73
|
+
AccountGroupDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupDeleteRequest").msgclass
|
74
|
+
AccountGroupDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupDeleteResponse").msgclass
|
75
|
+
AccountGroupListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupListRequest").msgclass
|
76
|
+
AccountGroupListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroupListResponse").msgclass
|
77
|
+
AccountGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGroup").msgclass
|
78
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# Source: accounts_groups.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "accounts_groups_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module AccountsGroups
|
23
|
+
# An AccountGroup links an account and a group.
|
24
|
+
class Service
|
25
|
+
include ::GRPC::GenericService
|
26
|
+
|
27
|
+
self.marshal_class_method = :encode
|
28
|
+
self.unmarshal_class_method = :decode
|
29
|
+
self.service_name = "v1.AccountsGroups"
|
30
|
+
|
31
|
+
# Create create a new AccountGroup.
|
32
|
+
rpc :Create, ::V1::AccountGroupCreateRequest, ::V1::AccountGroupCreateResponse
|
33
|
+
# Get reads one AccountGroup by ID.
|
34
|
+
rpc :Get, ::V1::AccountGroupGetRequest, ::V1::AccountGroupGetResponse
|
35
|
+
# Delete removes an AccountGroup by ID.
|
36
|
+
rpc :Delete, ::V1::AccountGroupDeleteRequest, ::V1::AccountGroupDeleteResponse
|
37
|
+
# List gets a list of AccountGroups matching a given set of criteria.
|
38
|
+
rpc :List, ::V1::AccountGroupListRequest, ::V1::AccountGroupListResponse
|
39
|
+
end
|
40
|
+
|
41
|
+
Stub = Service.rpc_stub_class
|
42
|
+
end
|
43
|
+
end
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -91,6 +91,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
91
91
|
optional :kubernetes_service_account, :message, 804, "v1.KubernetesServiceAccount"
|
92
92
|
optional :kubernetes_service_account_user_impersonation, :message, 808, "v1.KubernetesServiceAccountUserImpersonation"
|
93
93
|
optional :kubernetes_user_impersonation, :message, 812, "v1.KubernetesUserImpersonation"
|
94
|
+
optional :mcp, :message, 4700, "v1.MCP"
|
94
95
|
optional :mtls_mysql, :message, 1106, "v1.MTLSMysql"
|
95
96
|
optional :mtls_postgres, :message, 1306, "v1.MTLSPostgres"
|
96
97
|
optional :maria, :message, 1103, "v1.Maria"
|
@@ -1338,6 +1339,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1338
1339
|
optional :port, :int32, 2
|
1339
1340
|
optional :port_override, :int32, 10
|
1340
1341
|
end
|
1342
|
+
add_message "v1.MCP" do
|
1343
|
+
optional :id, :string, 32768
|
1344
|
+
optional :name, :string, 32769
|
1345
|
+
optional :healthy, :bool, 32770
|
1346
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1347
|
+
optional :secret_store_id, :string, 32772
|
1348
|
+
optional :egress_filter, :string, 32773
|
1349
|
+
optional :bind_interface, :string, 32774
|
1350
|
+
optional :proxy_cluster_id, :string, 32776
|
1351
|
+
optional :subdomain, :string, 32775
|
1352
|
+
optional :hostname, :string, 1
|
1353
|
+
optional :password, :string, 2
|
1354
|
+
optional :port, :int32, 5
|
1355
|
+
optional :port_override, :int32, 4
|
1356
|
+
optional :username, :string, 6
|
1357
|
+
end
|
1341
1358
|
add_message "v1.MTLSMysql" do
|
1342
1359
|
optional :id, :string, 32768
|
1343
1360
|
optional :name, :string, 32769
|
@@ -2177,6 +2194,7 @@ module V1
|
|
2177
2194
|
KubernetesServiceAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccount").msgclass
|
2178
2195
|
KubernetesServiceAccountUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccountUserImpersonation").msgclass
|
2179
2196
|
KubernetesUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesUserImpersonation").msgclass
|
2197
|
+
MCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCP").msgclass
|
2180
2198
|
MTLSMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MTLSMysql").msgclass
|
2181
2199
|
MTLSPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MTLSPostgres").msgclass
|
2182
2200
|
Maria = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Maria").msgclass
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# source: groups_history.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "google/protobuf/timestamp_pb"
|
21
|
+
require "groups_pb"
|
22
|
+
require "options_pb"
|
23
|
+
require "spec_pb"
|
24
|
+
|
25
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
26
|
+
add_file("groups_history.proto", :syntax => :proto3) do
|
27
|
+
add_message "v1.GroupHistoryListRequest" do
|
28
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
29
|
+
optional :filter, :string, 2
|
30
|
+
end
|
31
|
+
add_message "v1.GroupHistoryListResponse" do
|
32
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
33
|
+
repeated :history, :message, 2, "v1.GroupHistory"
|
34
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
35
|
+
end
|
36
|
+
add_message "v1.GroupHistory" do
|
37
|
+
optional :activity_id, :string, 1
|
38
|
+
optional :timestamp, :message, 2, "google.protobuf.Timestamp"
|
39
|
+
optional :group, :message, 3, "v1.Group"
|
40
|
+
optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
module V1
|
46
|
+
GroupHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupHistoryListRequest").msgclass
|
47
|
+
GroupHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupHistoryListResponse").msgclass
|
48
|
+
GroupHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupHistory").msgclass
|
49
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# Source: groups_history.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "groups_history_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module GroupsHistory
|
23
|
+
# GroupsHistory records all changes to the state of a Group.
|
24
|
+
class Service
|
25
|
+
include ::GRPC::GenericService
|
26
|
+
|
27
|
+
self.marshal_class_method = :encode
|
28
|
+
self.unmarshal_class_method = :decode
|
29
|
+
self.service_name = "v1.GroupsHistory"
|
30
|
+
|
31
|
+
# List gets a list of GroupHistory records matching a given set of criteria.
|
32
|
+
rpc :List, ::V1::GroupHistoryListRequest, ::V1::GroupHistoryListResponse
|
33
|
+
end
|
34
|
+
|
35
|
+
Stub = Service.rpc_stub_class
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,116 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# source: groups.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "accounts_pb"
|
21
|
+
require "approval_workflows_pb"
|
22
|
+
require "options_pb"
|
23
|
+
require "roles_pb"
|
24
|
+
require "spec_pb"
|
25
|
+
require "tags_pb"
|
26
|
+
|
27
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
28
|
+
add_file("groups.proto", :syntax => :proto3) do
|
29
|
+
add_message "v1.GroupCreateRequest" do
|
30
|
+
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
31
|
+
optional :group, :message, 2, "v1.Group"
|
32
|
+
end
|
33
|
+
add_message "v1.GroupCreateResponse" do
|
34
|
+
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
35
|
+
optional :group, :message, 2, "v1.Group"
|
36
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
37
|
+
end
|
38
|
+
add_message "v1.GroupCreateFromRolesRequest" do
|
39
|
+
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
40
|
+
repeated :role_ids, :string, 2
|
41
|
+
optional :commit, :bool, 3
|
42
|
+
end
|
43
|
+
add_message "v1.GroupCreateFromRolesResponse" do
|
44
|
+
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
45
|
+
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
46
|
+
repeated :group_from_role, :message, 3, "v1.GroupFromRole"
|
47
|
+
end
|
48
|
+
add_message "v1.GroupFromRole" do
|
49
|
+
optional :rate_limit, :message, 1, "v1.RateLimitMetadata"
|
50
|
+
optional :role, :message, 2, "v1.Role"
|
51
|
+
optional :group, :message, 3, "v1.Group"
|
52
|
+
repeated :accounts, :message, 4, "v1.User"
|
53
|
+
repeated :approval_flows, :message, 5, "v1.ApprovalWorkflow"
|
54
|
+
end
|
55
|
+
add_message "v1.GroupGetRequest" do
|
56
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
57
|
+
optional :id, :string, 2
|
58
|
+
end
|
59
|
+
add_message "v1.GroupGetResponse" do
|
60
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
61
|
+
optional :group, :message, 2, "v1.Group"
|
62
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
63
|
+
end
|
64
|
+
add_message "v1.GroupUpdateRequest" do
|
65
|
+
optional :meta, :message, 1, "v1.UpdateRequestMetadata"
|
66
|
+
optional :id, :string, 2
|
67
|
+
optional :group, :message, 3, "v1.Group"
|
68
|
+
end
|
69
|
+
add_message "v1.GroupUpdateResponse" do
|
70
|
+
optional :meta, :message, 1, "v1.UpdateResponseMetadata"
|
71
|
+
optional :group, :message, 2, "v1.Group"
|
72
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
73
|
+
end
|
74
|
+
add_message "v1.GroupDeleteRequest" do
|
75
|
+
optional :meta, :message, 1, "v1.DeleteRequestMetadata"
|
76
|
+
optional :id, :string, 2
|
77
|
+
end
|
78
|
+
add_message "v1.GroupDeleteResponse" do
|
79
|
+
optional :meta, :message, 1, "v1.DeleteResponseMetadata"
|
80
|
+
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
81
|
+
end
|
82
|
+
add_message "v1.GroupListRequest" do
|
83
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
84
|
+
optional :filter, :string, 2
|
85
|
+
end
|
86
|
+
add_message "v1.GroupListResponse" do
|
87
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
88
|
+
repeated :groups, :message, 2, "v1.Group"
|
89
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
90
|
+
end
|
91
|
+
add_message "v1.Group" do
|
92
|
+
optional :id, :string, 1
|
93
|
+
optional :name, :string, 2
|
94
|
+
optional :description, :string, 3
|
95
|
+
optional :source, :string, 4
|
96
|
+
optional :tags, :message, 5, "v1.Tags"
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
module V1
|
102
|
+
GroupCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupCreateRequest").msgclass
|
103
|
+
GroupCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupCreateResponse").msgclass
|
104
|
+
GroupCreateFromRolesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupCreateFromRolesRequest").msgclass
|
105
|
+
GroupCreateFromRolesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupCreateFromRolesResponse").msgclass
|
106
|
+
GroupFromRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupFromRole").msgclass
|
107
|
+
GroupGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupGetRequest").msgclass
|
108
|
+
GroupGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupGetResponse").msgclass
|
109
|
+
GroupUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupUpdateRequest").msgclass
|
110
|
+
GroupUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupUpdateResponse").msgclass
|
111
|
+
GroupDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupDeleteRequest").msgclass
|
112
|
+
GroupDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupDeleteResponse").msgclass
|
113
|
+
GroupListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupListRequest").msgclass
|
114
|
+
GroupListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupListResponse").msgclass
|
115
|
+
Group = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Group").msgclass
|
116
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# source: groups_roles_history.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "google/protobuf/timestamp_pb"
|
21
|
+
require "groups_roles_pb"
|
22
|
+
require "options_pb"
|
23
|
+
require "spec_pb"
|
24
|
+
|
25
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
26
|
+
add_file("groups_roles_history.proto", :syntax => :proto3) do
|
27
|
+
add_message "v1.GroupRoleHistoryListRequest" do
|
28
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
29
|
+
optional :filter, :string, 2
|
30
|
+
end
|
31
|
+
add_message "v1.GroupRoleHistoryListResponse" do
|
32
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
33
|
+
repeated :history, :message, 2, "v1.GroupRoleHistory"
|
34
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
35
|
+
end
|
36
|
+
add_message "v1.GroupRoleHistory" do
|
37
|
+
optional :activity_id, :string, 1
|
38
|
+
optional :timestamp, :message, 2, "google.protobuf.Timestamp"
|
39
|
+
optional :group_role, :message, 3, "v1.GroupRole"
|
40
|
+
optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
module V1
|
46
|
+
GroupRoleHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleHistoryListRequest").msgclass
|
47
|
+
GroupRoleHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleHistoryListResponse").msgclass
|
48
|
+
GroupRoleHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleHistory").msgclass
|
49
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# Source: groups_roles_history.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "groups_roles_history_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module GroupsRolesHistory
|
23
|
+
# GroupsRolesHistory records all changes to the state of a GroupRole.
|
24
|
+
class Service
|
25
|
+
include ::GRPC::GenericService
|
26
|
+
|
27
|
+
self.marshal_class_method = :encode
|
28
|
+
self.unmarshal_class_method = :decode
|
29
|
+
self.service_name = "v1.GroupsRolesHistory"
|
30
|
+
|
31
|
+
# List gets a list of GroupRoleHistory records matching a given set of criteria.
|
32
|
+
rpc :List, ::V1::GroupRoleHistoryListRequest, ::V1::GroupRoleHistoryListResponse
|
33
|
+
end
|
34
|
+
|
35
|
+
Stub = Service.rpc_stub_class
|
36
|
+
end
|
37
|
+
end
|