strongdm 6.7.1 → 6.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/.git/ORIG_HEAD +1 -1
  3. data/.git/index +0 -0
  4. data/.git/logs/HEAD +3 -3
  5. data/.git/logs/refs/heads/master +2 -2
  6. data/.git/logs/refs/remotes/origin/HEAD +1 -1
  7. data/.git/objects/pack/{pack-757ca4731668a732671503ca8a7e87450627a2ec.idx → pack-0dcf1b734229e84f3c3baa668d79743a0683c5e4.idx} +0 -0
  8. data/.git/objects/pack/{pack-757ca4731668a732671503ca8a7e87450627a2ec.pack → pack-0dcf1b734229e84f3c3baa668d79743a0683c5e4.pack} +0 -0
  9. data/.git/packed-refs +4 -2
  10. data/.git/refs/heads/master +1 -1
  11. data/lib/constants.rb +1 -0
  12. data/lib/grpc/approval_workflow_approvers_history_pb.rb +49 -0
  13. data/lib/grpc/approval_workflow_approvers_history_services_pb.rb +37 -0
  14. data/lib/grpc/approval_workflow_approvers_pb.rb +81 -0
  15. data/lib/grpc/approval_workflow_approvers_services_pb.rb +43 -0
  16. data/lib/grpc/approval_workflow_steps_history_pb.rb +49 -0
  17. data/lib/grpc/approval_workflow_steps_history_services_pb.rb +37 -0
  18. data/lib/grpc/approval_workflow_steps_pb.rb +78 -0
  19. data/lib/grpc/approval_workflow_steps_services_pb.rb +43 -0
  20. data/lib/grpc/approval_workflows_history_pb.rb +49 -0
  21. data/lib/grpc/approval_workflows_history_services_pb.rb +37 -0
  22. data/lib/grpc/approval_workflows_pb.rb +91 -0
  23. data/lib/grpc/approval_workflows_services_pb.rb +46 -0
  24. data/lib/grpc/plumbing.rb +1014 -230
  25. data/lib/grpc/secret_store_types_pb.rb +8 -0
  26. data/lib/models/porcelain.rb +547 -0
  27. data/lib/strongdm.rb +54 -1
  28. data/lib/svc.rb +739 -0
  29. data/lib/version +1 -1
  30. data/lib/version.rb +1 -1
  31. metadata +16 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19e34edc1879afa5af1ed296b024ac7b00c80cadc31c39165900a1b8dabfb678
4
- data.tar.gz: a04715787a5a3f74b0712dc1e64aef44e57a222b71b363b593dcf7ee9fc2e98f
3
+ metadata.gz: 01e139c5626fb5e12f04ad99f36d84b1f2a8dc177a8cf40d4c5476791a79f763
4
+ data.tar.gz: d03216b6abbd7380a9dd1908a3fb879a19e295ffd9122e27d4fee5ffe824b9d9
5
5
  SHA512:
6
- metadata.gz: 2fdf4a93acbf9a66d916ad5dca2641987bf621ba61b4cecb70413204737be20b703c62970b4c3c9aa512f7917ba5b6fb1a6296a66c3e0fe0c78e74a416c1b1e7
7
- data.tar.gz: 03f09adaad8fdad09cab97330974de53243a762f15f81f7e3ab428eba005862b485888cf23f93d461361ecf773a1f72d08d33ad06d85c0caa55f5d4ca91c3d73
6
+ metadata.gz: b9f0809caae9bccfb3d053fdd3c38a857cee644f027ceb6465a97720f602bfc0873deca9f38dfffdefd1232943cf39abb8700f6c3ad8829a38d1d8717fb346a1
7
+ data.tar.gz: 0ee1b94b8d957f91fe7a85a087758e3794640b619f0f7c72e576f377a4f5ddfb5dbbadaa39f438b62f2f9a39fe899b3b2bc704228b642eae5f9ba340698e022c
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- e37aa2b50ffd917949a8e1c7a1fa28d12071fa69
1
+ 0429c9a2739f699ea33db7e6dd85e6be47e9190e
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709332852 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709332852 +0000 checkout: moving from master to master
3
- e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709332852 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 0429c9a2739f699ea33db7e6dd85e6be47e9190e sdmrelease <support@strongdm.com> 1709586078 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 0429c9a2739f699ea33db7e6dd85e6be47e9190e 0429c9a2739f699ea33db7e6dd85e6be47e9190e sdmrelease <support@strongdm.com> 1709586078 +0000 checkout: moving from master to master
3
+ 0429c9a2739f699ea33db7e6dd85e6be47e9190e d8a1092c15d3618de31ada43875014d96bd21e36 sdmrelease <support@strongdm.com> 1709586078 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709332852 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709332852 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 0429c9a2739f699ea33db7e6dd85e6be47e9190e sdmrelease <support@strongdm.com> 1709586078 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 0429c9a2739f699ea33db7e6dd85e6be47e9190e d8a1092c15d3618de31ada43875014d96bd21e36 sdmrelease <support@strongdm.com> 1709586078 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709332852 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 0429c9a2739f699ea33db7e6dd85e6be47e9190e sdmrelease <support@strongdm.com> 1709586078 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- 3e28afb8b757876c463b22aac13ee618d9ead204 refs/remotes/origin/development
3
- e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 refs/remotes/origin/master
2
+ d8a1092c15d3618de31ada43875014d96bd21e36 refs/remotes/origin/development
3
+ 0429c9a2739f699ea33db7e6dd85e6be47e9190e 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
@@ -99,3 +99,5 @@ e015e0386c2f0b99314bb46ae71631afdbcf4ed0 refs/tags/v6.4.0
99
99
  998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 refs/tags/v6.5.0
100
100
  b28e0cc368d9174e5858abd41992efff0a030bcb refs/tags/v6.6.0
101
101
  e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 refs/tags/v6.7.0
102
+ 3e28afb8b757876c463b22aac13ee618d9ead204 refs/tags/v6.7.1
103
+ 0429c9a2739f699ea33db7e6dd85e6be47e9190e refs/tags/v6.8.0
@@ -1 +1 @@
1
- 3e28afb8b757876c463b22aac13ee618d9ead204
1
+ d8a1092c15d3618de31ada43875014d96bd21e36
data/lib/constants.rb CHANGED
@@ -327,6 +327,7 @@ module SDM
327
327
  ORG_AUDIT_REMOTE_IDENTITY_GROUPS = "audit:remoteidentitygroups"
328
328
  ORG_AUDIT_SECRET_STORES = "audit:secretstores"
329
329
  ORG_AUDIT_WORKFLOWS = "audit:workflows"
330
+ ORG_AUDIT_APPROVAL_FLOWS = "audit:approvalflows"
330
331
  ORG_AUDIT_ACCESS_REQUESTS = "audit:accessrequests"
331
332
  WORKFLOW_LIST = "workflow:list"
332
333
  WORKFLOW_EDIT = "workflow:edit"
@@ -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: approval_workflow_approvers_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "approval_workflow_approvers_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+
25
+ Google::Protobuf::DescriptorPool.generated_pool.build do
26
+ add_file("approval_workflow_approvers_history.proto", :syntax => :proto3) do
27
+ add_message "v1.ApprovalWorkflowApproverHistoryListRequest" do
28
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
29
+ optional :filter, :string, 2
30
+ end
31
+ add_message "v1.ApprovalWorkflowApproverHistoryListResponse" do
32
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
33
+ repeated :history, :message, 2, "v1.ApprovalWorkflowApproverHistory"
34
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
35
+ end
36
+ add_message "v1.ApprovalWorkflowApproverHistory" do
37
+ optional :activity_id, :string, 1
38
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
39
+ optional :approval_workflow_approver, :message, 3, "v1.ApprovalWorkflowApprover"
40
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
41
+ end
42
+ end
43
+ end
44
+
45
+ module V1
46
+ ApprovalWorkflowApproverHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverHistoryListRequest").msgclass
47
+ ApprovalWorkflowApproverHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverHistoryListResponse").msgclass
48
+ ApprovalWorkflowApproverHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverHistory").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: approval_workflow_approvers_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflow_approvers_history_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowApproversHistory
23
+ # ApprovalWorkflowApproversHistory records all changes to the state of an ApprovalWorkflowApprover.
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.ApprovalWorkflowApproversHistory"
30
+
31
+ # List gets a list of ApprovalWorkflowApproverHistory records matching a given set of criteria.
32
+ rpc :List, ::V1::ApprovalWorkflowApproverHistoryListRequest, ::V1::ApprovalWorkflowApproverHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end
@@ -0,0 +1,81 @@
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: approval_workflow_approvers.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("approval_workflow_approvers.proto", :syntax => :proto3) do
25
+ add_message "v1.ApprovalWorkflowApproverCreateRequest" do
26
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
27
+ optional :approval_workflow_approver, :message, 2, "v1.ApprovalWorkflowApprover"
28
+ end
29
+ add_message "v1.ApprovalWorkflowApproverCreateResponse" do
30
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
31
+ optional :approval_workflow_approver, :message, 2, "v1.ApprovalWorkflowApprover"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.ApprovalWorkflowApproverGetRequest" do
35
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
36
+ optional :id, :string, 2
37
+ end
38
+ add_message "v1.ApprovalWorkflowApproverGetResponse" do
39
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
40
+ optional :approval_workflow_approver, :message, 2, "v1.ApprovalWorkflowApprover"
41
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
42
+ end
43
+ add_message "v1.ApprovalWorkflowApproverDeleteRequest" do
44
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
45
+ optional :id, :string, 2
46
+ end
47
+ add_message "v1.ApprovalWorkflowApproverDeleteResponse" do
48
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
49
+ optional :id, :string, 2
50
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
51
+ end
52
+ add_message "v1.ApprovalWorkflowApproverListRequest" do
53
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
54
+ optional :filter, :string, 2
55
+ end
56
+ add_message "v1.ApprovalWorkflowApproverListResponse" do
57
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
58
+ repeated :approval_workflow_approvers, :message, 2, "v1.ApprovalWorkflowApprover"
59
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
60
+ end
61
+ add_message "v1.ApprovalWorkflowApprover" do
62
+ optional :id, :string, 1
63
+ optional :approval_flow_id, :string, 2
64
+ optional :approval_step_id, :string, 3
65
+ optional :account_id, :string, 4
66
+ optional :role_id, :string, 5
67
+ end
68
+ end
69
+ end
70
+
71
+ module V1
72
+ ApprovalWorkflowApproverCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverCreateRequest").msgclass
73
+ ApprovalWorkflowApproverCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverCreateResponse").msgclass
74
+ ApprovalWorkflowApproverGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverGetRequest").msgclass
75
+ ApprovalWorkflowApproverGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverGetResponse").msgclass
76
+ ApprovalWorkflowApproverDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverDeleteRequest").msgclass
77
+ ApprovalWorkflowApproverDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverDeleteResponse").msgclass
78
+ ApprovalWorkflowApproverListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverListRequest").msgclass
79
+ ApprovalWorkflowApproverListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverListResponse").msgclass
80
+ ApprovalWorkflowApprover = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApprover").msgclass
81
+ 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: approval_workflow_approvers.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflow_approvers_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowApprovers
23
+ # ApprovalWorkflowApprovers link approval workflow approvers to an ApprovalWorkflowStep
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.ApprovalWorkflowApprovers"
30
+
31
+ # Create creates a new approval workflow approver.
32
+ rpc :Create, ::V1::ApprovalWorkflowApproverCreateRequest, ::V1::ApprovalWorkflowApproverCreateResponse
33
+ # Get reads one approval workflow approver by ID.
34
+ rpc :Get, ::V1::ApprovalWorkflowApproverGetRequest, ::V1::ApprovalWorkflowApproverGetResponse
35
+ # Delete deletes an existing approval workflow approver.
36
+ rpc :Delete, ::V1::ApprovalWorkflowApproverDeleteRequest, ::V1::ApprovalWorkflowApproverDeleteResponse
37
+ # Lists existing approval workflow approvers.
38
+ rpc :List, ::V1::ApprovalWorkflowApproverListRequest, ::V1::ApprovalWorkflowApproverListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ 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: approval_workflow_steps_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "approval_workflow_steps_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+
25
+ Google::Protobuf::DescriptorPool.generated_pool.build do
26
+ add_file("approval_workflow_steps_history.proto", :syntax => :proto3) do
27
+ add_message "v1.ApprovalWorkflowStepHistoryListRequest" do
28
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
29
+ optional :filter, :string, 2
30
+ end
31
+ add_message "v1.ApprovalWorkflowStepHistoryListResponse" do
32
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
33
+ repeated :history, :message, 2, "v1.ApprovalWorkflowStepHistory"
34
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
35
+ end
36
+ add_message "v1.ApprovalWorkflowStepHistory" do
37
+ optional :activity_id, :string, 1
38
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
39
+ optional :approval_workflow_step, :message, 3, "v1.ApprovalWorkflowStep"
40
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
41
+ end
42
+ end
43
+ end
44
+
45
+ module V1
46
+ ApprovalWorkflowStepHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepHistoryListRequest").msgclass
47
+ ApprovalWorkflowStepHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepHistoryListResponse").msgclass
48
+ ApprovalWorkflowStepHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepHistory").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: approval_workflow_steps_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflow_steps_history_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowStepsHistory
23
+ # ApprovalWorkflowStepsHistory records all changes to the state of an ApprovalWorkflowStep.
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.ApprovalWorkflowStepsHistory"
30
+
31
+ # List gets a list of ApprovalWorkflowStepHistory records matching a given set of criteria.
32
+ rpc :List, ::V1::ApprovalWorkflowStepHistoryListRequest, ::V1::ApprovalWorkflowStepHistoryListResponse
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: approval_workflow_steps.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("approval_workflow_steps.proto", :syntax => :proto3) do
25
+ add_message "v1.ApprovalWorkflowStepCreateRequest" do
26
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
27
+ optional :approval_workflow_step, :message, 2, "v1.ApprovalWorkflowStep"
28
+ end
29
+ add_message "v1.ApprovalWorkflowStepCreateResponse" do
30
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
31
+ optional :approval_workflow_step, :message, 2, "v1.ApprovalWorkflowStep"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.ApprovalWorkflowStepGetRequest" do
35
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
36
+ optional :id, :string, 2
37
+ end
38
+ add_message "v1.ApprovalWorkflowStepGetResponse" do
39
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
40
+ optional :approval_workflow_step, :message, 2, "v1.ApprovalWorkflowStep"
41
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
42
+ end
43
+ add_message "v1.ApprovalWorkflowStepDeleteRequest" do
44
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
45
+ optional :id, :string, 2
46
+ end
47
+ add_message "v1.ApprovalWorkflowStepDeleteResponse" do
48
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
49
+ optional :id, :string, 2
50
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
51
+ end
52
+ add_message "v1.ApprovalWorkflowStepListRequest" do
53
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
54
+ optional :filter, :string, 2
55
+ end
56
+ add_message "v1.ApprovalWorkflowStepListResponse" do
57
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
58
+ repeated :approval_workflow_steps, :message, 2, "v1.ApprovalWorkflowStep"
59
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
60
+ end
61
+ add_message "v1.ApprovalWorkflowStep" do
62
+ optional :id, :string, 1
63
+ optional :approval_flow_id, :string, 2
64
+ end
65
+ end
66
+ end
67
+
68
+ module V1
69
+ ApprovalWorkflowStepCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepCreateRequest").msgclass
70
+ ApprovalWorkflowStepCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepCreateResponse").msgclass
71
+ ApprovalWorkflowStepGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepGetRequest").msgclass
72
+ ApprovalWorkflowStepGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepGetResponse").msgclass
73
+ ApprovalWorkflowStepDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepDeleteRequest").msgclass
74
+ ApprovalWorkflowStepDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepDeleteResponse").msgclass
75
+ ApprovalWorkflowStepListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepListRequest").msgclass
76
+ ApprovalWorkflowStepListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepListResponse").msgclass
77
+ ApprovalWorkflowStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStep").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: approval_workflow_steps.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflow_steps_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowSteps
23
+ # ApprovalWorkflowSteps link approval workflow steps to an ApprovalWorkflow
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.ApprovalWorkflowSteps"
30
+
31
+ # Create creates a new approval workflow step.
32
+ rpc :Create, ::V1::ApprovalWorkflowStepCreateRequest, ::V1::ApprovalWorkflowStepCreateResponse
33
+ # Get reads one approval workflow step by ID.
34
+ rpc :Get, ::V1::ApprovalWorkflowStepGetRequest, ::V1::ApprovalWorkflowStepGetResponse
35
+ # Delete deletes an existing approval workflow step.
36
+ rpc :Delete, ::V1::ApprovalWorkflowStepDeleteRequest, ::V1::ApprovalWorkflowStepDeleteResponse
37
+ # Lists existing approval workflow steps.
38
+ rpc :List, ::V1::ApprovalWorkflowStepListRequest, ::V1::ApprovalWorkflowStepListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ 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: approval_workflows_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "approval_workflows_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+
25
+ Google::Protobuf::DescriptorPool.generated_pool.build do
26
+ add_file("approval_workflows_history.proto", :syntax => :proto3) do
27
+ add_message "v1.ApprovalWorkflowHistoryListRequest" do
28
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
29
+ optional :filter, :string, 2
30
+ end
31
+ add_message "v1.ApprovalWorkflowHistoryListResponse" do
32
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
33
+ repeated :history, :message, 2, "v1.ApprovalWorkflowHistory"
34
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
35
+ end
36
+ add_message "v1.ApprovalWorkflowHistory" do
37
+ optional :activity_id, :string, 1
38
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
39
+ optional :approval_workflow, :message, 3, "v1.ApprovalWorkflow"
40
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
41
+ end
42
+ end
43
+ end
44
+
45
+ module V1
46
+ ApprovalWorkflowHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowHistoryListRequest").msgclass
47
+ ApprovalWorkflowHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowHistoryListResponse").msgclass
48
+ ApprovalWorkflowHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowHistory").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: approval_workflows_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflows_history_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowsHistory
23
+ # ApprovalWorkflowsHistory records all changes to the state of an ApprovalWorkflow.
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.ApprovalWorkflowsHistory"
30
+
31
+ # List gets a list of ApprovalWorkflowHistory records matching a given set of criteria.
32
+ rpc :List, ::V1::ApprovalWorkflowHistoryListRequest, ::V1::ApprovalWorkflowHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end