strongdm 4.2.0 → 4.4.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-ab429bd34d8703aafaf2a617c2c9379839382f37.idx → pack-9c459884b97e0a33b1e10aa61914fa82820fa985.idx} +0 -0
- data/.git/objects/pack/{pack-ab429bd34d8703aafaf2a617c2c9379839382f37.pack → pack-9c459884b97e0a33b1e10aa61914fa82820fa985.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +2 -0
- data/lib/grpc/access_request_events_history_pb.rb +48 -0
- data/lib/grpc/access_request_events_history_services_pb.rb +37 -0
- data/lib/grpc/access_requests_history_pb.rb +48 -0
- data/lib/grpc/access_requests_history_services_pb.rb +37 -0
- data/lib/grpc/access_requests_pb.rb +60 -0
- data/lib/grpc/access_requests_services_pb.rb +37 -0
- data/lib/grpc/drivers_pb.rb +2 -0
- data/lib/grpc/options_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +500 -0
- data/lib/grpc/workflow_approvers_history_pb.rb +48 -0
- data/lib/grpc/workflow_approvers_history_services_pb.rb +37 -0
- data/lib/grpc/workflow_assignments_history_pb.rb +48 -0
- data/lib/grpc/workflow_assignments_history_services_pb.rb +37 -0
- data/lib/grpc/workflow_roles_history_pb.rb +48 -0
- data/lib/grpc/workflow_roles_history_services_pb.rb +37 -0
- data/lib/grpc/workflows_history_pb.rb +48 -0
- data/lib/grpc/workflows_history_services_pb.rb +37 -0
- data/lib/grpc/workflows_pb.rb +64 -0
- data/lib/grpc/workflows_services_pb.rb +39 -0
- data/lib/models/porcelain.rb +432 -0
- data/lib/strongdm.rb +63 -1
- data/lib/svc.rb +496 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +20 -4
@@ -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: workflow_assignments_history.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "workflow_assignments_history_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module WorkflowAssignmentsHistory
|
23
|
+
# WorkflowAssignmentsHistory provides records of all changes to the state of a WorkflowAssignment.
|
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.WorkflowAssignmentsHistory"
|
30
|
+
|
31
|
+
# List gets a list of WorkflowAssignmentsHistory records matching a given set of criteria.
|
32
|
+
rpc :List, V1::WorkflowAssignmentsHistoryListRequest, V1::WorkflowAssignmentsHistoryListResponse
|
33
|
+
end
|
34
|
+
|
35
|
+
Stub = Service.rpc_stub_class
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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: workflow_roles_history.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "google/protobuf/timestamp_pb"
|
21
|
+
require "workflows_pb"
|
22
|
+
require "options_pb"
|
23
|
+
require "spec_pb"
|
24
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
25
|
+
add_file("workflow_roles_history.proto", :syntax => :proto3) do
|
26
|
+
add_message "v1.WorkflowRolesHistoryListRequest" do
|
27
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
28
|
+
optional :filter, :string, 2
|
29
|
+
end
|
30
|
+
add_message "v1.WorkflowRolesHistoryListResponse" do
|
31
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
32
|
+
repeated :history, :message, 2, "v1.WorkflowRoleHistory"
|
33
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
34
|
+
end
|
35
|
+
add_message "v1.WorkflowRoleHistory" do
|
36
|
+
optional :activity_id, :string, 1
|
37
|
+
optional :timestamp, :message, 2, "google.protobuf.Timestamp"
|
38
|
+
optional :workflow_role, :message, 3, "v1.WorkflowRole"
|
39
|
+
optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
module V1
|
45
|
+
WorkflowRolesHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRolesHistoryListRequest").msgclass
|
46
|
+
WorkflowRolesHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRolesHistoryListResponse").msgclass
|
47
|
+
WorkflowRoleHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRoleHistory").msgclass
|
48
|
+
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: workflow_roles_history.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "workflow_roles_history_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module WorkflowRolesHistory
|
23
|
+
# WorkflowRolesHistory provides records of all changes to the state of a WorkflowRole
|
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.WorkflowRolesHistory"
|
30
|
+
|
31
|
+
# List gets a list of WorkflowRolesHistory records matching a given set of criteria.
|
32
|
+
rpc :List, V1::WorkflowRolesHistoryListRequest, V1::WorkflowRolesHistoryListResponse
|
33
|
+
end
|
34
|
+
|
35
|
+
Stub = Service.rpc_stub_class
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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: workflows_history.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "google/protobuf/timestamp_pb"
|
21
|
+
require "workflows_pb"
|
22
|
+
require "options_pb"
|
23
|
+
require "spec_pb"
|
24
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
25
|
+
add_file("workflows_history.proto", :syntax => :proto3) do
|
26
|
+
add_message "v1.WorkflowHistoryListRequest" do
|
27
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
28
|
+
optional :filter, :string, 2
|
29
|
+
end
|
30
|
+
add_message "v1.WorkflowHistoryListResponse" do
|
31
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
32
|
+
repeated :history, :message, 2, "v1.WorkflowHistory"
|
33
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
34
|
+
end
|
35
|
+
add_message "v1.WorkflowHistory" do
|
36
|
+
optional :activity_id, :string, 1
|
37
|
+
optional :timestamp, :message, 2, "google.protobuf.Timestamp"
|
38
|
+
optional :workflow, :message, 3, "v1.Workflow"
|
39
|
+
optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
module V1
|
45
|
+
WorkflowHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowHistoryListRequest").msgclass
|
46
|
+
WorkflowHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowHistoryListResponse").msgclass
|
47
|
+
WorkflowHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowHistory").msgclass
|
48
|
+
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: workflows_history.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "workflows_history_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module WorkflowsHistory
|
23
|
+
# WorkflowsHistory provides records of all changes to the state of a Workflow.
|
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.WorkflowsHistory"
|
30
|
+
|
31
|
+
# List gets a list of WorkflowHistory records matching a given set of criteria.
|
32
|
+
rpc :List, V1::WorkflowHistoryListRequest, V1::WorkflowHistoryListResponse
|
33
|
+
end
|
34
|
+
|
35
|
+
Stub = Service.rpc_stub_class
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,64 @@
|
|
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: workflows.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("workflows.proto", :syntax => :proto3) do
|
24
|
+
add_message "v1.WorkflowListRequest" do
|
25
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
26
|
+
optional :filter, :string, 2
|
27
|
+
end
|
28
|
+
add_message "v1.WorkflowListResponse" do
|
29
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
30
|
+
repeated :workflows, :message, 2, "v1.Workflow"
|
31
|
+
end
|
32
|
+
add_message "v1.Workflow" do
|
33
|
+
optional :id, :string, 1
|
34
|
+
optional :name, :string, 2
|
35
|
+
optional :description, :string, 3
|
36
|
+
optional :weight, :int64, 4
|
37
|
+
optional :auto_grant, :bool, 5
|
38
|
+
optional :enabled, :bool, 6
|
39
|
+
optional :requires_reason, :bool, 7
|
40
|
+
optional :access_rules, :string, 8
|
41
|
+
end
|
42
|
+
add_message "v1.WorkflowRole" do
|
43
|
+
optional :workflow_id, :string, 2
|
44
|
+
optional :role_id, :string, 3
|
45
|
+
end
|
46
|
+
add_message "v1.WorkflowApprover" do
|
47
|
+
optional :workflow_id, :string, 2
|
48
|
+
optional :approver_id, :string, 3
|
49
|
+
end
|
50
|
+
add_message "v1.WorkflowAssignment" do
|
51
|
+
optional :workflow_id, :string, 2
|
52
|
+
optional :resource_id, :string, 3
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
module V1
|
58
|
+
WorkflowListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowListRequest").msgclass
|
59
|
+
WorkflowListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowListResponse").msgclass
|
60
|
+
Workflow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Workflow").msgclass
|
61
|
+
WorkflowRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRole").msgclass
|
62
|
+
WorkflowApprover = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApprover").msgclass
|
63
|
+
WorkflowAssignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignment").msgclass
|
64
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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: workflows.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "workflows_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module Workflows
|
23
|
+
# Workflows are the collection of rules that define the resources to which access can be requested,
|
24
|
+
# the users that can request that access, and the mechanism for approving those requests which can either
|
25
|
+
# but automatic approval or a set of users authorized to approve the requests.
|
26
|
+
class Service
|
27
|
+
include GRPC::GenericService
|
28
|
+
|
29
|
+
self.marshal_class_method = :encode
|
30
|
+
self.unmarshal_class_method = :decode
|
31
|
+
self.service_name = "v1.Workflows"
|
32
|
+
|
33
|
+
# Lists existing workflows.
|
34
|
+
rpc :List, V1::WorkflowListRequest, V1::WorkflowListResponse
|
35
|
+
end
|
36
|
+
|
37
|
+
Stub = Service.rpc_stub_class
|
38
|
+
end
|
39
|
+
end
|