strongdm 4.3.0 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) 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-e53248831c9814d011695b30ef6c9a23ab4fbf61.idx → pack-9c459884b97e0a33b1e10aa61914fa82820fa985.idx} +0 -0
  8. data/.git/objects/pack/{pack-e53248831c9814d011695b30ef6c9a23ab4fbf61.pack → pack-9c459884b97e0a33b1e10aa61914fa82820fa985.pack} +0 -0
  9. data/.git/packed-refs +3 -2
  10. data/.git/refs/heads/master +1 -1
  11. data/lib/grpc/access_request_events_history_pb.rb +48 -0
  12. data/lib/grpc/access_request_events_history_services_pb.rb +37 -0
  13. data/lib/grpc/access_requests_history_pb.rb +48 -0
  14. data/lib/grpc/access_requests_history_services_pb.rb +37 -0
  15. data/lib/grpc/access_requests_pb.rb +60 -0
  16. data/lib/grpc/access_requests_services_pb.rb +37 -0
  17. data/lib/grpc/plumbing.rb +496 -0
  18. data/lib/grpc/workflow_approvers_history_pb.rb +48 -0
  19. data/lib/grpc/workflow_approvers_history_services_pb.rb +37 -0
  20. data/lib/grpc/workflow_assignments_history_pb.rb +48 -0
  21. data/lib/grpc/workflow_assignments_history_services_pb.rb +37 -0
  22. data/lib/grpc/workflow_roles_history_pb.rb +48 -0
  23. data/lib/grpc/workflow_roles_history_services_pb.rb +37 -0
  24. data/lib/grpc/workflows_history_pb.rb +48 -0
  25. data/lib/grpc/workflows_history_services_pb.rb +37 -0
  26. data/lib/grpc/workflows_pb.rb +64 -0
  27. data/lib/grpc/workflows_services_pb.rb +39 -0
  28. data/lib/models/porcelain.rb +424 -0
  29. data/lib/strongdm.rb +63 -1
  30. data/lib/svc.rb +496 -0
  31. data/lib/version +1 -1
  32. data/lib/version.rb +1 -1
  33. metadata +20 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d8d4a04278e8049447de39ce08ac9a9d2ced2218868136225744161255395ce
4
- data.tar.gz: 862357185c3e6f89cea5de60c4b38aad36bfe8d966711f06f25f16a6a3a71c77
3
+ metadata.gz: fd23439ec19335f852c46558ed148b222ce0e9e04b669682412ba8e1819253b4
4
+ data.tar.gz: 17218a48cb8ebcf6ee5bbd1e908807ca2b4452b387bfa2f00a0ab08059698ed8
5
5
  SHA512:
6
- metadata.gz: 918afd2f9cd451d09e049a2ade82f46df4de00539b944dd33c9b71eaaad6f61852c466d828417b4eb21534dbd66f364c1c1e35a11a8ba63fbf47dd9c7d34a36b
7
- data.tar.gz: 792a62722769d258f06a68ca0e4d47e5df9b282fd6c4eb2b6ba6572f790ec8ca120add65e4f1813c5ac5fcd6ea874991a2596c9d76a1d38e62d9dfc3c18f9db8
6
+ metadata.gz: 53680c45cc575d3a19496c19cc0442ff0430669445d126034bb903a8a86c3b5cb3573379e2da855f5e41d1e66c1fdae49530bfc1779c410f3ba525afd47f159e
7
+ data.tar.gz: 119b60c744aedeb852d9c3fa6367f6fc1484d03048b804cd0b9a55d8ecb3bc955be29d9e564ff9183a4d4411553a74e5b513655bd1664233537a90712bb05762
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 08f4675a1557ed133181105c72b37ffbef084740
1
+ 1cb2610175dbf43344602d4446e90119ee37b10a
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 08f4675a1557ed133181105c72b37ffbef084740 root <root@f10746b2d255.(none)> 1690821323 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 08f4675a1557ed133181105c72b37ffbef084740 08f4675a1557ed133181105c72b37ffbef084740 root <root@f10746b2d255.(none)> 1690821323 +0000 checkout: moving from master to master
3
- 08f4675a1557ed133181105c72b37ffbef084740 1cb2610175dbf43344602d4446e90119ee37b10a root <root@f10746b2d255.(none)> 1690821323 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 1cb2610175dbf43344602d4446e90119ee37b10a root <root@49528c92172b.(none)> 1692039941 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 1cb2610175dbf43344602d4446e90119ee37b10a 1cb2610175dbf43344602d4446e90119ee37b10a root <root@49528c92172b.(none)> 1692039941 +0000 checkout: moving from master to master
3
+ 1cb2610175dbf43344602d4446e90119ee37b10a be896a77988796e24875925fd44919a667749986 root <root@49528c92172b.(none)> 1692039941 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 08f4675a1557ed133181105c72b37ffbef084740 root <root@f10746b2d255.(none)> 1690821323 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 08f4675a1557ed133181105c72b37ffbef084740 1cb2610175dbf43344602d4446e90119ee37b10a root <root@f10746b2d255.(none)> 1690821323 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 1cb2610175dbf43344602d4446e90119ee37b10a root <root@49528c92172b.(none)> 1692039941 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 1cb2610175dbf43344602d4446e90119ee37b10a be896a77988796e24875925fd44919a667749986 root <root@49528c92172b.(none)> 1692039941 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 08f4675a1557ed133181105c72b37ffbef084740 root <root@f10746b2d255.(none)> 1690821323 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 1cb2610175dbf43344602d4446e90119ee37b10a root <root@49528c92172b.(none)> 1692039941 +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
- 1cb2610175dbf43344602d4446e90119ee37b10a refs/remotes/origin/development
3
- 08f4675a1557ed133181105c72b37ffbef084740 refs/remotes/origin/master
2
+ be896a77988796e24875925fd44919a667749986 refs/remotes/origin/development
3
+ 1cb2610175dbf43344602d4446e90119ee37b10a 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
@@ -73,3 +73,4 @@ ffd4706f2b64466550868d42ee2a5a4b88b3a372 refs/tags/v3.6.1
73
73
  66c01691f9e5ba524569f85fa51eb0f4f9f0e99f refs/tags/v4.0.0
74
74
  d39111ffa2c85b26a22a8bb3ddff212ac2228e1f refs/tags/v4.1.0
75
75
  08f4675a1557ed133181105c72b37ffbef084740 refs/tags/v4.2.0
76
+ 1cb2610175dbf43344602d4446e90119ee37b10a refs/tags/v4.3.0
@@ -1 +1 @@
1
- 1cb2610175dbf43344602d4446e90119ee37b10a
1
+ be896a77988796e24875925fd44919a667749986
@@ -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: access_request_events_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "access_requests_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+ Google::Protobuf::DescriptorPool.generated_pool.build do
25
+ add_file("access_request_events_history.proto", :syntax => :proto3) do
26
+ add_message "v1.AccessRequestEventHistoryListRequest" do
27
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
28
+ optional :filter, :string, 2
29
+ end
30
+ add_message "v1.AccessRequestEventHistoryListResponse" do
31
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
32
+ repeated :history, :message, 2, "v1.AccessRequestEventHistory"
33
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
34
+ end
35
+ add_message "v1.AccessRequestEventHistory" do
36
+ optional :activity_id, :string, 1
37
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
38
+ optional :access_request_event, :message, 3, "v1.AccessRequestEvent"
39
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
40
+ end
41
+ end
42
+ end
43
+
44
+ module V1
45
+ AccessRequestEventHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestEventHistoryListRequest").msgclass
46
+ AccessRequestEventHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestEventHistoryListResponse").msgclass
47
+ AccessRequestEventHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestEventHistory").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: access_request_events_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "access_request_events_history_pb"
20
+
21
+ module V1
22
+ module AccessRequestEventsHistory
23
+ # AccessRequestEventsHistory provides records of all changes to the state of an AccessRequest.
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.AccessRequestEventsHistory"
30
+
31
+ # List gets a list of AccessRequestEventHistory records matching a given set of criteria.
32
+ rpc :List, V1::AccessRequestEventHistoryListRequest, V1::AccessRequestEventHistoryListResponse
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: access_requests_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "access_requests_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+ Google::Protobuf::DescriptorPool.generated_pool.build do
25
+ add_file("access_requests_history.proto", :syntax => :proto3) do
26
+ add_message "v1.AccessRequestHistoryListRequest" do
27
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
28
+ optional :filter, :string, 2
29
+ end
30
+ add_message "v1.AccessRequestHistoryListResponse" do
31
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
32
+ repeated :history, :message, 2, "v1.AccessRequestHistory"
33
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
34
+ end
35
+ add_message "v1.AccessRequestHistory" do
36
+ optional :activity_id, :string, 1
37
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
38
+ optional :access_request, :message, 3, "v1.AccessRequest"
39
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
40
+ end
41
+ end
42
+ end
43
+
44
+ module V1
45
+ AccessRequestHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestHistoryListRequest").msgclass
46
+ AccessRequestHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestHistoryListResponse").msgclass
47
+ AccessRequestHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestHistory").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: access_requests_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "access_requests_history_pb"
20
+
21
+ module V1
22
+ module AccessRequestsHistory
23
+ # AccessRequestsHistory provides records of all changes to the state of an AccessRequest.
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.AccessRequestsHistory"
30
+
31
+ # List gets a list of AccessRequestHistory records matching a given set of criteria.
32
+ rpc :List, V1::AccessRequestHistoryListRequest, V1::AccessRequestHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end
@@ -0,0 +1,60 @@
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: access_requests.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "options_pb"
22
+ require "spec_pb"
23
+ Google::Protobuf::DescriptorPool.generated_pool.build do
24
+ add_file("access_requests.proto", :syntax => :proto3) do
25
+ add_message "v1.AccessRequestListRequest" do
26
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
27
+ optional :filter, :string, 2
28
+ end
29
+ add_message "v1.AccessRequestListResponse" do
30
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
31
+ repeated :access_requests, :message, 2, "v1.AccessRequest"
32
+ end
33
+ add_message "v1.AccessRequest" do
34
+ optional :id, :string, 1
35
+ optional :resource_id, :string, 2
36
+ optional :reason, :string, 3
37
+ optional :workflow_id, :string, 4
38
+ optional :account_id, :string, 5
39
+ optional :start_from, :message, 6, "google.protobuf.Timestamp"
40
+ optional :valid_until, :message, 7, "google.protobuf.Timestamp"
41
+ optional :status, :string, 8
42
+ optional :status_at, :message, 9, "google.protobuf.Timestamp"
43
+ optional :grant_id, :string, 10
44
+ end
45
+ add_message "v1.AccessRequestEvent" do
46
+ optional :id, :string, 1
47
+ optional :request_id, :string, 2
48
+ optional :actor_id, :string, 3
49
+ optional :type, :string, 4
50
+ optional :metadata, :string, 5
51
+ end
52
+ end
53
+ end
54
+
55
+ module V1
56
+ AccessRequestListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestListRequest").msgclass
57
+ AccessRequestListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestListResponse").msgclass
58
+ AccessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequest").msgclass
59
+ AccessRequestEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestEvent").msgclass
60
+ 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: access_requests.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "access_requests_pb"
20
+
21
+ module V1
22
+ module AccessRequests
23
+ # AccessRequests are requests for access to a resource that may match 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.AccessRequests"
30
+
31
+ # Lists existing workflows.
32
+ rpc :List, V1::AccessRequestListRequest, V1::AccessRequestListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end