strongdm 2.6.4 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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-9605cb63890b5fed001c49e509929945ac427bf0.idx → pack-dd537cf5e4da62668498c8ce557b8afbf676fbc5.idx} +0 -0
- data/.git/objects/pack/{pack-9605cb63890b5fed001c49e509929945ac427bf0.pack → pack-dd537cf5e4da62668498c8ce557b8afbf676fbc5.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/.yardopts +1 -0
- data/README.md +13 -10
- data/lib/grpc/plumbing.rb +0 -304
- data/lib/grpc/roles_pb.rb +0 -1
- data/lib/models/porcelain.rb +6 -245
- data/lib/strongdm.rb +5 -21
- data/lib/svc.rb +0 -330
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -8
- data/lib/grpc/role_attachments_pb.rb +0 -77
- data/lib/grpc/role_attachments_services_pb.rb +0 -56
- data/lib/grpc/role_grants_pb.rb +0 -77
- data/lib/grpc/role_grants_services_pb.rb +0 -56
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -79,8 +79,8 @@ files:
|
|
79
79
|
- "./.git/logs/HEAD"
|
80
80
|
- "./.git/logs/refs/heads/master"
|
81
81
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
82
|
-
- "./.git/objects/pack/pack-
|
83
|
-
- "./.git/objects/pack/pack-
|
82
|
+
- "./.git/objects/pack/pack-dd537cf5e4da62668498c8ce557b8afbf676fbc5.idx"
|
83
|
+
- "./.git/objects/pack/pack-dd537cf5e4da62668498c8ce557b8afbf676fbc5.pack"
|
84
84
|
- "./.git/packed-refs"
|
85
85
|
- "./.git/refs/heads/master"
|
86
86
|
- "./.git/refs/remotes/origin/HEAD"
|
@@ -107,10 +107,6 @@ files:
|
|
107
107
|
- "./lib/grpc/remote_identity_groups_services_pb.rb"
|
108
108
|
- "./lib/grpc/resources_pb.rb"
|
109
109
|
- "./lib/grpc/resources_services_pb.rb"
|
110
|
-
- "./lib/grpc/role_attachments_pb.rb"
|
111
|
-
- "./lib/grpc/role_attachments_services_pb.rb"
|
112
|
-
- "./lib/grpc/role_grants_pb.rb"
|
113
|
-
- "./lib/grpc/role_grants_services_pb.rb"
|
114
110
|
- "./lib/grpc/roles_pb.rb"
|
115
111
|
- "./lib/grpc/roles_services_pb.rb"
|
116
112
|
- "./lib/grpc/secret_store_types_pb.rb"
|
@@ -1,77 +0,0 @@
|
|
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: role_attachments.proto
|
17
|
-
|
18
|
-
require "google/protobuf"
|
19
|
-
|
20
|
-
require "options_pb"
|
21
|
-
require "spec_pb"
|
22
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
23
|
-
add_file("role_attachments.proto", :syntax => :proto3) do
|
24
|
-
add_message "v1.RoleAttachmentCreateRequest" do
|
25
|
-
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
26
|
-
optional :role_attachment, :message, 2, "v1.RoleAttachment"
|
27
|
-
end
|
28
|
-
add_message "v1.RoleAttachmentCreateResponse" do
|
29
|
-
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
30
|
-
optional :role_attachment, :message, 2, "v1.RoleAttachment"
|
31
|
-
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
32
|
-
end
|
33
|
-
add_message "v1.RoleAttachmentGetRequest" do
|
34
|
-
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
35
|
-
optional :id, :string, 2
|
36
|
-
end
|
37
|
-
add_message "v1.RoleAttachmentGetResponse" do
|
38
|
-
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
39
|
-
optional :role_attachment, :message, 2, "v1.RoleAttachment"
|
40
|
-
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
41
|
-
end
|
42
|
-
add_message "v1.RoleAttachmentDeleteRequest" do
|
43
|
-
optional :meta, :message, 1, "v1.DeleteRequestMetadata"
|
44
|
-
optional :id, :string, 2
|
45
|
-
end
|
46
|
-
add_message "v1.RoleAttachmentDeleteResponse" do
|
47
|
-
optional :meta, :message, 1, "v1.DeleteResponseMetadata"
|
48
|
-
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
49
|
-
end
|
50
|
-
add_message "v1.RoleAttachmentListRequest" do
|
51
|
-
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
52
|
-
optional :filter, :string, 2
|
53
|
-
end
|
54
|
-
add_message "v1.RoleAttachmentListResponse" do
|
55
|
-
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
56
|
-
repeated :role_attachments, :message, 2, "v1.RoleAttachment"
|
57
|
-
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
58
|
-
end
|
59
|
-
add_message "v1.RoleAttachment" do
|
60
|
-
optional :id, :string, 1
|
61
|
-
optional :composite_role_id, :string, 2
|
62
|
-
optional :attached_role_id, :string, 3
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
module V1
|
68
|
-
RoleAttachmentCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleAttachmentCreateRequest").msgclass
|
69
|
-
RoleAttachmentCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleAttachmentCreateResponse").msgclass
|
70
|
-
RoleAttachmentGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleAttachmentGetRequest").msgclass
|
71
|
-
RoleAttachmentGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleAttachmentGetResponse").msgclass
|
72
|
-
RoleAttachmentDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleAttachmentDeleteRequest").msgclass
|
73
|
-
RoleAttachmentDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleAttachmentDeleteResponse").msgclass
|
74
|
-
RoleAttachmentListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleAttachmentListRequest").msgclass
|
75
|
-
RoleAttachmentListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleAttachmentListResponse").msgclass
|
76
|
-
RoleAttachment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleAttachment").msgclass
|
77
|
-
end
|
@@ -1,56 +0,0 @@
|
|
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: role_attachments.proto for package 'v1'
|
17
|
-
|
18
|
-
require "grpc"
|
19
|
-
require "role_attachments_pb"
|
20
|
-
|
21
|
-
module V1
|
22
|
-
module RoleAttachments
|
23
|
-
# RoleAttachments represent relationships between composite roles and the roles
|
24
|
-
# that make up those composite roles. When a composite role is attached to another
|
25
|
-
# role, the permissions granted to members of the composite role are augmented to
|
26
|
-
# include the permissions granted to members of the attached role.
|
27
|
-
#
|
28
|
-
# Deprecated: use multi-role via AccountAttachments instead.
|
29
|
-
class Service
|
30
|
-
include GRPC::GenericService
|
31
|
-
|
32
|
-
self.marshal_class_method = :encode
|
33
|
-
self.unmarshal_class_method = :decode
|
34
|
-
self.service_name = "v1.RoleAttachments"
|
35
|
-
|
36
|
-
# Create registers a new RoleAttachment.
|
37
|
-
#
|
38
|
-
# Deprecated: use multi-role via AccountAttachments instead.
|
39
|
-
rpc :Create, V1::RoleAttachmentCreateRequest, V1::RoleAttachmentCreateResponse
|
40
|
-
# Get reads one RoleAttachment by ID.
|
41
|
-
#
|
42
|
-
# Deprecated: use multi-role via AccountAttachments instead.
|
43
|
-
rpc :Get, V1::RoleAttachmentGetRequest, V1::RoleAttachmentGetResponse
|
44
|
-
# Delete removes a RoleAttachment by ID.
|
45
|
-
#
|
46
|
-
# Deprecated: use multi-role via AccountAttachments instead.
|
47
|
-
rpc :Delete, V1::RoleAttachmentDeleteRequest, V1::RoleAttachmentDeleteResponse
|
48
|
-
# List gets a list of RoleAttachments matching a given set of criteria.
|
49
|
-
#
|
50
|
-
# Deprecated: use multi-role via AccountAttachments instead.
|
51
|
-
rpc :List, V1::RoleAttachmentListRequest, V1::RoleAttachmentListResponse
|
52
|
-
end
|
53
|
-
|
54
|
-
Stub = Service.rpc_stub_class
|
55
|
-
end
|
56
|
-
end
|
data/lib/grpc/role_grants_pb.rb
DELETED
@@ -1,77 +0,0 @@
|
|
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: role_grants.proto
|
17
|
-
|
18
|
-
require "google/protobuf"
|
19
|
-
|
20
|
-
require "options_pb"
|
21
|
-
require "spec_pb"
|
22
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
23
|
-
add_file("role_grants.proto", :syntax => :proto3) do
|
24
|
-
add_message "v1.RoleGrantCreateRequest" do
|
25
|
-
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
26
|
-
optional :role_grant, :message, 2, "v1.RoleGrant"
|
27
|
-
end
|
28
|
-
add_message "v1.RoleGrantCreateResponse" do
|
29
|
-
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
30
|
-
optional :role_grant, :message, 2, "v1.RoleGrant"
|
31
|
-
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
32
|
-
end
|
33
|
-
add_message "v1.RoleGrantGetRequest" do
|
34
|
-
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
35
|
-
optional :id, :string, 2
|
36
|
-
end
|
37
|
-
add_message "v1.RoleGrantGetResponse" do
|
38
|
-
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
39
|
-
optional :role_grant, :message, 2, "v1.RoleGrant"
|
40
|
-
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
41
|
-
end
|
42
|
-
add_message "v1.RoleGrantDeleteRequest" do
|
43
|
-
optional :meta, :message, 1, "v1.DeleteRequestMetadata"
|
44
|
-
optional :id, :string, 2
|
45
|
-
end
|
46
|
-
add_message "v1.RoleGrantDeleteResponse" do
|
47
|
-
optional :meta, :message, 1, "v1.DeleteResponseMetadata"
|
48
|
-
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
49
|
-
end
|
50
|
-
add_message "v1.RoleGrantListRequest" do
|
51
|
-
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
52
|
-
optional :filter, :string, 2
|
53
|
-
end
|
54
|
-
add_message "v1.RoleGrantListResponse" do
|
55
|
-
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
56
|
-
repeated :role_grants, :message, 2, "v1.RoleGrant"
|
57
|
-
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
58
|
-
end
|
59
|
-
add_message "v1.RoleGrant" do
|
60
|
-
optional :id, :string, 1
|
61
|
-
optional :resource_id, :string, 2
|
62
|
-
optional :role_id, :string, 3
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
module V1
|
68
|
-
RoleGrantCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleGrantCreateRequest").msgclass
|
69
|
-
RoleGrantCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleGrantCreateResponse").msgclass
|
70
|
-
RoleGrantGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleGrantGetRequest").msgclass
|
71
|
-
RoleGrantGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleGrantGetResponse").msgclass
|
72
|
-
RoleGrantDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleGrantDeleteRequest").msgclass
|
73
|
-
RoleGrantDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleGrantDeleteResponse").msgclass
|
74
|
-
RoleGrantListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleGrantListRequest").msgclass
|
75
|
-
RoleGrantListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleGrantListResponse").msgclass
|
76
|
-
RoleGrant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleGrant").msgclass
|
77
|
-
end
|
@@ -1,56 +0,0 @@
|
|
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: role_grants.proto for package 'v1'
|
17
|
-
|
18
|
-
require "grpc"
|
19
|
-
require "role_grants_pb"
|
20
|
-
|
21
|
-
module V1
|
22
|
-
module RoleGrants
|
23
|
-
# RoleGrants represent relationships between composite roles and the roles
|
24
|
-
# that make up those composite roles. When a composite role is attached to another
|
25
|
-
# role, the permissions granted to members of the composite role are augmented to
|
26
|
-
# include the permissions granted to members of the attached role.
|
27
|
-
#
|
28
|
-
# Deprecated: use Role access rules instead.
|
29
|
-
class Service
|
30
|
-
include GRPC::GenericService
|
31
|
-
|
32
|
-
self.marshal_class_method = :encode
|
33
|
-
self.unmarshal_class_method = :decode
|
34
|
-
self.service_name = "v1.RoleGrants"
|
35
|
-
|
36
|
-
# Create registers a new RoleGrant.
|
37
|
-
#
|
38
|
-
# Deprecated: use Role access rules instead.
|
39
|
-
rpc :Create, V1::RoleGrantCreateRequest, V1::RoleGrantCreateResponse
|
40
|
-
# Get reads one RoleGrant by ID.
|
41
|
-
#
|
42
|
-
# Deprecated: use Role access rules instead.
|
43
|
-
rpc :Get, V1::RoleGrantGetRequest, V1::RoleGrantGetResponse
|
44
|
-
# Delete removes a RoleGrant by ID.
|
45
|
-
#
|
46
|
-
# Deprecated: use Role access rules instead.
|
47
|
-
rpc :Delete, V1::RoleGrantDeleteRequest, V1::RoleGrantDeleteResponse
|
48
|
-
# List gets a list of RoleGrants matching a given set of criteria.
|
49
|
-
#
|
50
|
-
# Deprecated: use Role access rules instead.
|
51
|
-
rpc :List, V1::RoleGrantListRequest, V1::RoleGrantListResponse
|
52
|
-
end
|
53
|
-
|
54
|
-
Stub = Service.rpc_stub_class
|
55
|
-
end
|
56
|
-
end
|