strongdm 5.0.3 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) 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-8cf62468935cf8f4caff9468aca31031de0c6406.idx → pack-51b761096c76fe266fe5bd39da9dd6c052697b9b.idx} +0 -0
  8. data/.git/objects/pack/{pack-8cf62468935cf8f4caff9468aca31031de0c6406.pack → pack-51b761096c76fe266fe5bd39da9dd6c052697b9b.pack} +0 -0
  9. data/.git/packed-refs +4 -2
  10. data/.git/refs/heads/master +1 -1
  11. data/lib/constants.rb +7 -0
  12. data/lib/grpc/access_request_events_history_pb.rb +1 -0
  13. data/lib/grpc/access_request_events_history_services_pb.rb +2 -2
  14. data/lib/grpc/access_requests_history_pb.rb +1 -0
  15. data/lib/grpc/access_requests_history_services_pb.rb +2 -2
  16. data/lib/grpc/access_requests_pb.rb +1 -0
  17. data/lib/grpc/access_requests_services_pb.rb +2 -2
  18. data/lib/grpc/account_attachments_history_pb.rb +1 -0
  19. data/lib/grpc/account_attachments_history_services_pb.rb +2 -2
  20. data/lib/grpc/account_attachments_pb.rb +1 -0
  21. data/lib/grpc/account_attachments_services_pb.rb +5 -5
  22. data/lib/grpc/account_grants_history_pb.rb +1 -0
  23. data/lib/grpc/account_grants_history_services_pb.rb +2 -2
  24. data/lib/grpc/account_grants_pb.rb +1 -0
  25. data/lib/grpc/account_grants_services_pb.rb +5 -5
  26. data/lib/grpc/account_permissions_pb.rb +1 -0
  27. data/lib/grpc/account_permissions_services_pb.rb +2 -2
  28. data/lib/grpc/account_resources_history_pb.rb +1 -0
  29. data/lib/grpc/account_resources_history_services_pb.rb +2 -2
  30. data/lib/grpc/account_resources_pb.rb +1 -0
  31. data/lib/grpc/account_resources_services_pb.rb +2 -2
  32. data/lib/grpc/accounts_history_pb.rb +1 -0
  33. data/lib/grpc/accounts_history_services_pb.rb +2 -2
  34. data/lib/grpc/accounts_pb.rb +1 -0
  35. data/lib/grpc/accounts_services_pb.rb +6 -6
  36. data/lib/grpc/activities_pb.rb +1 -0
  37. data/lib/grpc/activities_services_pb.rb +3 -3
  38. data/lib/grpc/control_panel_pb.rb +1 -0
  39. data/lib/grpc/control_panel_services_pb.rb +3 -3
  40. data/lib/grpc/drivers_pb.rb +1 -0
  41. data/lib/grpc/nodes_history_pb.rb +1 -0
  42. data/lib/grpc/nodes_history_services_pb.rb +2 -2
  43. data/lib/grpc/nodes_pb.rb +14 -0
  44. data/lib/grpc/nodes_services_pb.rb +6 -6
  45. data/lib/grpc/options_pb.rb +2 -0
  46. data/lib/grpc/organization_history_pb.rb +1 -0
  47. data/lib/grpc/organization_history_services_pb.rb +2 -2
  48. data/lib/grpc/peering_group_nodes_pb.rb +1 -0
  49. data/lib/grpc/peering_group_nodes_services_pb.rb +5 -5
  50. data/lib/grpc/peering_group_peers_pb.rb +1 -0
  51. data/lib/grpc/peering_group_peers_services_pb.rb +5 -5
  52. data/lib/grpc/peering_group_resources_pb.rb +1 -0
  53. data/lib/grpc/peering_group_resources_services_pb.rb +5 -5
  54. data/lib/grpc/peering_groups_pb.rb +1 -0
  55. data/lib/grpc/peering_groups_services_pb.rb +5 -5
  56. data/lib/grpc/plumbing.rb +4 -2
  57. data/lib/grpc/queries_pb.rb +1 -0
  58. data/lib/grpc/queries_services_pb.rb +2 -2
  59. data/lib/grpc/remote_identities_history_pb.rb +1 -0
  60. data/lib/grpc/remote_identities_history_services_pb.rb +2 -2
  61. data/lib/grpc/remote_identities_pb.rb +1 -0
  62. data/lib/grpc/remote_identities_services_pb.rb +6 -6
  63. data/lib/grpc/remote_identity_groups_history_pb.rb +1 -0
  64. data/lib/grpc/remote_identity_groups_history_services_pb.rb +2 -2
  65. data/lib/grpc/remote_identity_groups_pb.rb +1 -0
  66. data/lib/grpc/remote_identity_groups_services_pb.rb +3 -3
  67. data/lib/grpc/replays_pb.rb +1 -0
  68. data/lib/grpc/replays_services_pb.rb +2 -2
  69. data/lib/grpc/resources_history_pb.rb +1 -0
  70. data/lib/grpc/resources_history_services_pb.rb +2 -2
  71. data/lib/grpc/resources_pb.rb +1 -0
  72. data/lib/grpc/resources_services_pb.rb +7 -7
  73. data/lib/grpc/role_resources_history_pb.rb +1 -0
  74. data/lib/grpc/role_resources_history_services_pb.rb +2 -2
  75. data/lib/grpc/role_resources_pb.rb +1 -0
  76. data/lib/grpc/role_resources_services_pb.rb +2 -2
  77. data/lib/grpc/roles_history_pb.rb +1 -0
  78. data/lib/grpc/roles_history_services_pb.rb +2 -2
  79. data/lib/grpc/roles_pb.rb +1 -0
  80. data/lib/grpc/roles_services_pb.rb +6 -6
  81. data/lib/grpc/secret_store_types_pb.rb +1 -0
  82. data/lib/grpc/secret_stores_history_pb.rb +1 -0
  83. data/lib/grpc/secret_stores_history_services_pb.rb +2 -2
  84. data/lib/grpc/secret_stores_pb.rb +1 -0
  85. data/lib/grpc/secret_stores_services_pb.rb +6 -6
  86. data/lib/grpc/spec_pb.rb +1 -0
  87. data/lib/grpc/tags_pb.rb +1 -0
  88. data/lib/grpc/workflow_approvers_history_pb.rb +1 -0
  89. data/lib/grpc/workflow_approvers_history_services_pb.rb +2 -2
  90. data/lib/grpc/workflow_approvers_pb.rb +3 -1
  91. data/lib/grpc/workflow_approvers_services_pb.rb +6 -6
  92. data/lib/grpc/workflow_assignments_history_pb.rb +1 -0
  93. data/lib/grpc/workflow_assignments_history_services_pb.rb +2 -2
  94. data/lib/grpc/workflow_assignments_pb.rb +1 -0
  95. data/lib/grpc/workflow_assignments_services_pb.rb +2 -2
  96. data/lib/grpc/workflow_roles_history_pb.rb +1 -0
  97. data/lib/grpc/workflow_roles_history_services_pb.rb +2 -2
  98. data/lib/grpc/workflow_roles_pb.rb +1 -0
  99. data/lib/grpc/workflow_roles_services_pb.rb +5 -5
  100. data/lib/grpc/workflows_history_pb.rb +1 -0
  101. data/lib/grpc/workflows_history_services_pb.rb +2 -2
  102. data/lib/grpc/workflows_pb.rb +1 -0
  103. data/lib/grpc/workflows_services_pb.rb +6 -6
  104. data/lib/models/porcelain.rb +9 -7
  105. data/lib/strongdm.rb +3 -3
  106. data/lib/svc.rb +1 -1
  107. data/lib/version +1 -1
  108. data/lib/version.rb +1 -1
  109. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd54f62f24035c911123a92872bb0cd33c7354a11d3658e74665352bd46c4801
4
- data.tar.gz: b203bd8398dd5c85e22d44372aedf89525809161ac29faf83e6e916d4c43c98c
3
+ metadata.gz: 5081b8cd40795644b9179542884498f4ef2717407795b715463265dbd2904a73
4
+ data.tar.gz: 8179288007b3cf722dcd3d7c9794274e855a8727df334358bef0240ed8816c49
5
5
  SHA512:
6
- metadata.gz: 9d688ed6b83eb7c3cf205e96a0c1108c262af514278e15bfac2f7315fc33e3cffeb25d0609a9f700509a6f81b7e8c37aa73c0204641159b7411d590d6f943f93
7
- data.tar.gz: ba80bc70b242b39eb72a8f069830372e922ed0e9f17a8d44c066e2a84d754db3b7475118784640ea38a08fa2bc64dcd3d96b875f4aabe0f637dcffea1ce04011
6
+ metadata.gz: c06b72cfaed87115a77a82d917e1234bcfabc0683c912201c35f983b9355197015d75c5e41fab459a5cea6360276d15373b1ca460dd72c68d2cd5b033a77b466
7
+ data.tar.gz: f1339b9a5083c653e9eb3f9dd06cfe15600e0b6dbefb4de8e753e644371f2b1557470a8248eee0c6649c561c63df2828c76ecc0b6b50017bfe224d32199b2851
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- dc6870bd4816d314f5a02818b7ab8823f622abc7
1
+ d31341d9d50304c3bb6cd397e023906494a0ff21
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 dc6870bd4816d314f5a02818b7ab8823f622abc7 root <root@6a6af5356cdb.(none)> 1697214679 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- dc6870bd4816d314f5a02818b7ab8823f622abc7 dc6870bd4816d314f5a02818b7ab8823f622abc7 root <root@6a6af5356cdb.(none)> 1697214679 +0000 checkout: moving from master to master
3
- dc6870bd4816d314f5a02818b7ab8823f622abc7 1db1f4f075a0a51e14462765c7360e2d6795be82 root <root@6a6af5356cdb.(none)> 1697214679 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 d31341d9d50304c3bb6cd397e023906494a0ff21 sdmrelease <support@strongdm.com> 1701997026 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ d31341d9d50304c3bb6cd397e023906494a0ff21 d31341d9d50304c3bb6cd397e023906494a0ff21 sdmrelease <support@strongdm.com> 1701997026 +0000 checkout: moving from master to master
3
+ d31341d9d50304c3bb6cd397e023906494a0ff21 b724d5bc9ad45c3fbfa394653415d4b7a97ae071 sdmrelease <support@strongdm.com> 1701997026 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 dc6870bd4816d314f5a02818b7ab8823f622abc7 root <root@6a6af5356cdb.(none)> 1697214679 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- dc6870bd4816d314f5a02818b7ab8823f622abc7 1db1f4f075a0a51e14462765c7360e2d6795be82 root <root@6a6af5356cdb.(none)> 1697214679 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 d31341d9d50304c3bb6cd397e023906494a0ff21 sdmrelease <support@strongdm.com> 1701997026 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ d31341d9d50304c3bb6cd397e023906494a0ff21 b724d5bc9ad45c3fbfa394653415d4b7a97ae071 sdmrelease <support@strongdm.com> 1701997026 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 dc6870bd4816d314f5a02818b7ab8823f622abc7 root <root@6a6af5356cdb.(none)> 1697214679 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 d31341d9d50304c3bb6cd397e023906494a0ff21 sdmrelease <support@strongdm.com> 1701997026 +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
- 1db1f4f075a0a51e14462765c7360e2d6795be82 refs/remotes/origin/development
3
- dc6870bd4816d314f5a02818b7ab8823f622abc7 refs/remotes/origin/master
2
+ b724d5bc9ad45c3fbfa394653415d4b7a97ae071 refs/remotes/origin/development
3
+ d31341d9d50304c3bb6cd397e023906494a0ff21 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
@@ -86,3 +86,5 @@ fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb refs/tags/v4.8.0
86
86
  7f2a0f1d6cbfda294fa9a3ec4a868d0c782c3fd0 refs/tags/v5.0.0
87
87
  c5f2bc7e213b06c810559360246ff6b525c35fab refs/tags/v5.0.1
88
88
  dc6870bd4816d314f5a02818b7ab8823f622abc7 refs/tags/v5.0.2
89
+ 1db1f4f075a0a51e14462765c7360e2d6795be82 refs/tags/v5.0.3
90
+ d31341d9d50304c3bb6cd397e023906494a0ff21 refs/tags/v5.0.5
@@ -1 +1 @@
1
- 1db1f4f075a0a51e14462765c7360e2d6795be82
1
+ b724d5bc9ad45c3fbfa394653415d4b7a97ae071
data/lib/constants.rb CHANGED
@@ -217,6 +217,7 @@ module SDM
217
217
  ORG_NAME_UPDATED = "organization name updated"
218
218
  ORG_SETTING_UPDATED = "organization setting updated"
219
219
  ORG_LOG_SYNC_SETTING_UPDATED = "organization log stream setting updated"
220
+ ORG_WORKFLOW_SETTING_UPDATED = "organization workflow setting updated"
220
221
  ORG_CREATED = "organization created"
221
222
  ORG_SCIM_PROVISIONING_UPDATED = "SCIM provider set"
222
223
  ORG_SCIM_PROVISIONING_DELETED = "SCIM provider deleted"
@@ -263,6 +264,10 @@ module SDM
263
264
  RESOURCE_LOCKED = "user locked a resource"
264
265
  RESOURCE_UNLOCKED = "user unlocked a resource"
265
266
  RESOURCE_FORCE_UNLOCKED = "admin force-unlocked a resource"
267
+ ORG_INTEGRATION_INSTALLED = "org integration installed"
268
+ USER_INTEGRATION_AUTHORIZED = "user authorized integration"
269
+ ORG_INTEGRATION_UNINSTALLED = "org integration uninstalled"
270
+ USER_INTEGRATION_DEAUTHORIZED = "user deauthorized integration"
266
271
  end
267
272
 
268
273
  # Permissions, all permissions that may be granted to an account.
@@ -346,6 +351,8 @@ module SDM
346
351
  GRANT_WRITE = "grant:write"
347
352
  REPORT_READ = "report:read"
348
353
  BILLING_READ = "billing:read"
354
+ CREDENTIAL_READ = "credential:read"
355
+ CREDENTIAL_WRITE = "credential:write"
349
356
  end
350
357
 
351
358
  # Query Categories, all the categories of resource against which queries are logged.
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "access_requests_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("access_request_events_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.AccessRequestEventHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module AccessRequestEventsHistory
23
23
  # AccessRequestEventsHistory provides records of all changes to the state of an AccessRequest.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.AccessRequestEventsHistory"
30
30
 
31
31
  # List gets a list of AccessRequestEventHistory records matching a given set of criteria.
32
- rpc :List, V1::AccessRequestEventHistoryListRequest, V1::AccessRequestEventHistoryListResponse
32
+ rpc :List, ::V1::AccessRequestEventHistoryListRequest, ::V1::AccessRequestEventHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "access_requests_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("access_requests_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.AccessRequestHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module AccessRequestsHistory
23
23
  # AccessRequestsHistory provides records of all changes to the state of an AccessRequest.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.AccessRequestsHistory"
30
30
 
31
31
  # List gets a list of AccessRequestHistory records matching a given set of criteria.
32
- rpc :List, V1::AccessRequestHistoryListRequest, V1::AccessRequestHistoryListResponse
32
+ rpc :List, ::V1::AccessRequestHistoryListRequest, ::V1::AccessRequestHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "options_pb"
22
22
  require "spec_pb"
23
23
  require "tags_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("access_requests.proto", :syntax => :proto3) do
26
27
  add_message "v1.AccessRequestListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module AccessRequests
23
23
  # AccessRequests are requests for access to a resource that may match a Workflow.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.AccessRequests"
30
30
 
31
31
  # Lists existing access requests.
32
- rpc :List, V1::AccessRequestListRequest, V1::AccessRequestListResponse
32
+ rpc :List, ::V1::AccessRequestListRequest, ::V1::AccessRequestListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "account_attachments_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("account_attachments_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.AccountAttachmentHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module AccountAttachmentsHistory
23
23
  # AccountAttachmentsHistory records all changes to the state of an AccountAttachment.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.AccountAttachmentsHistory"
30
30
 
31
31
  # List gets a list of AccountAttachmentHistory records matching a given set of criteria.
32
- rpc :List, V1::AccountAttachmentHistoryListRequest, V1::AccountAttachmentHistoryListResponse
32
+ rpc :List, ::V1::AccountAttachmentHistoryListRequest, ::V1::AccountAttachmentHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "spec_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("account_attachments.proto", :syntax => :proto3) do
24
25
  add_message "v1.AccountAttachmentCreateRequest" do
@@ -22,20 +22,20 @@ module V1
22
22
  module AccountAttachments
23
23
  # AccountAttachments assign an account to a role.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.AccountAttachments"
30
30
 
31
31
  # Create registers a new AccountAttachment.
32
- rpc :Create, V1::AccountAttachmentCreateRequest, V1::AccountAttachmentCreateResponse
32
+ rpc :Create, ::V1::AccountAttachmentCreateRequest, ::V1::AccountAttachmentCreateResponse
33
33
  # Get reads one AccountAttachment by ID.
34
- rpc :Get, V1::AccountAttachmentGetRequest, V1::AccountAttachmentGetResponse
34
+ rpc :Get, ::V1::AccountAttachmentGetRequest, ::V1::AccountAttachmentGetResponse
35
35
  # Delete removes a AccountAttachment by ID.
36
- rpc :Delete, V1::AccountAttachmentDeleteRequest, V1::AccountAttachmentDeleteResponse
36
+ rpc :Delete, ::V1::AccountAttachmentDeleteRequest, ::V1::AccountAttachmentDeleteResponse
37
37
  # List gets a list of AccountAttachments matching a given set of criteria.
38
- rpc :List, V1::AccountAttachmentListRequest, V1::AccountAttachmentListResponse
38
+ rpc :List, ::V1::AccountAttachmentListRequest, ::V1::AccountAttachmentListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "account_grants_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("account_grants_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.AccountGrantHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module AccountGrantsHistory
23
23
  # AccountGrantsHistory records all changes to the state of an AccountGrant.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.AccountGrantsHistory"
30
30
 
31
31
  # List gets a list of AccountGrantHistory records matching a given set of criteria.
32
- rpc :List, V1::AccountGrantHistoryListRequest, V1::AccountGrantHistoryListResponse
32
+ rpc :List, ::V1::AccountGrantHistoryListRequest, ::V1::AccountGrantHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -20,6 +20,7 @@ require "google/protobuf"
20
20
  require "google/protobuf/timestamp_pb"
21
21
  require "options_pb"
22
22
  require "spec_pb"
23
+
23
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
25
  add_file("account_grants.proto", :syntax => :proto3) do
25
26
  add_message "v1.AccountGrantCreateRequest" do
@@ -22,20 +22,20 @@ module V1
22
22
  module AccountGrants
23
23
  # AccountGrants assign a resource directly to an account, giving the account the permission to connect to that resource.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.AccountGrants"
30
30
 
31
31
  # Create registers a new AccountGrant.
32
- rpc :Create, V1::AccountGrantCreateRequest, V1::AccountGrantCreateResponse
32
+ rpc :Create, ::V1::AccountGrantCreateRequest, ::V1::AccountGrantCreateResponse
33
33
  # Get reads one AccountGrant by ID.
34
- rpc :Get, V1::AccountGrantGetRequest, V1::AccountGrantGetResponse
34
+ rpc :Get, ::V1::AccountGrantGetRequest, ::V1::AccountGrantGetResponse
35
35
  # Delete removes a AccountGrant by ID.
36
- rpc :Delete, V1::AccountGrantDeleteRequest, V1::AccountGrantDeleteResponse
36
+ rpc :Delete, ::V1::AccountGrantDeleteRequest, ::V1::AccountGrantDeleteResponse
37
37
  # List gets a list of AccountGrants matching a given set of criteria.
38
- rpc :List, V1::AccountGrantListRequest, V1::AccountGrantListResponse
38
+ rpc :List, ::V1::AccountGrantListRequest, ::V1::AccountGrantListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -20,6 +20,7 @@ require "google/protobuf"
20
20
  require "google/protobuf/timestamp_pb"
21
21
  require "options_pb"
22
22
  require "spec_pb"
23
+
23
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
25
  add_file("account_permissions.proto", :syntax => :proto3) do
25
26
  add_message "v1.AccountPermissionListRequest" do
@@ -23,14 +23,14 @@ module V1
23
23
  # AccountPermissions records the granular permissions accounts have, allowing them to execute
24
24
  # relevant commands via StrongDM's APIs.
25
25
  class Service
26
- include GRPC::GenericService
26
+ include ::GRPC::GenericService
27
27
 
28
28
  self.marshal_class_method = :encode
29
29
  self.unmarshal_class_method = :decode
30
30
  self.service_name = "v1.AccountPermissions"
31
31
 
32
32
  # List gets a list of Permission records matching a given set of criteria.
33
- rpc :List, V1::AccountPermissionListRequest, V1::AccountPermissionListResponse
33
+ rpc :List, ::V1::AccountPermissionListRequest, ::V1::AccountPermissionListResponse
34
34
  end
35
35
 
36
36
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "account_resources_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("account_resources_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.AccountResourceHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module AccountResourcesHistory
23
23
  # AccountResourcesHistory records all changes to the state of a AccountResource.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.AccountResourcesHistory"
30
30
 
31
31
  # List gets a list of AccountResourceHistory records matching a given set of criteria.
32
- rpc :List, V1::AccountResourceHistoryListRequest, V1::AccountResourceHistoryListResponse
32
+ rpc :List, ::V1::AccountResourceHistoryListRequest, ::V1::AccountResourceHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -20,6 +20,7 @@ require "google/protobuf"
20
20
  require "google/protobuf/timestamp_pb"
21
21
  require "options_pb"
22
22
  require "spec_pb"
23
+
23
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
25
  add_file("account_resources.proto", :syntax => :proto3) do
25
26
  add_message "v1.AccountResourceListRequest" do
@@ -23,14 +23,14 @@ module V1
23
23
  # AccountResources enumerates the resources to which accounts have access.
24
24
  # The AccountResources service is read-only.
25
25
  class Service
26
- include GRPC::GenericService
26
+ include ::GRPC::GenericService
27
27
 
28
28
  self.marshal_class_method = :encode
29
29
  self.unmarshal_class_method = :decode
30
30
  self.service_name = "v1.AccountResources"
31
31
 
32
32
  # List gets a list of AccountResource records matching a given set of criteria.
33
- rpc :List, V1::AccountResourceListRequest, V1::AccountResourceListResponse
33
+ rpc :List, ::V1::AccountResourceListRequest, ::V1::AccountResourceListResponse
34
34
  end
35
35
 
36
36
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "accounts_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("accounts_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.AccountHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module AccountsHistory
23
23
  # AccountsHistory records all changes to the state of an Account.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.AccountsHistory"
30
30
 
31
31
  # List gets a list of AccountHistory records matching a given set of criteria.
32
- rpc :List, V1::AccountHistoryListRequest, V1::AccountHistoryListResponse
32
+ rpc :List, ::V1::AccountHistoryListRequest, ::V1::AccountHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "options_pb"
22
22
  require "spec_pb"
23
23
  require "tags_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("accounts.proto", :syntax => :proto3) do
26
27
  add_message "v1.AccountCreateRequest" do
@@ -24,22 +24,22 @@ module V1
24
24
  # 1. **Users:** humans who are authenticated through username and password or SSO.
25
25
  # 2. **Service Accounts:** machines that are authenticated using a service token.
26
26
  class Service
27
- include GRPC::GenericService
27
+ include ::GRPC::GenericService
28
28
 
29
29
  self.marshal_class_method = :encode
30
30
  self.unmarshal_class_method = :decode
31
31
  self.service_name = "v1.Accounts"
32
32
 
33
33
  # Create registers a new Account.
34
- rpc :Create, V1::AccountCreateRequest, V1::AccountCreateResponse
34
+ rpc :Create, ::V1::AccountCreateRequest, ::V1::AccountCreateResponse
35
35
  # Get reads one Account by ID.
36
- rpc :Get, V1::AccountGetRequest, V1::AccountGetResponse
36
+ rpc :Get, ::V1::AccountGetRequest, ::V1::AccountGetResponse
37
37
  # Update replaces all the fields of an Account by ID.
38
- rpc :Update, V1::AccountUpdateRequest, V1::AccountUpdateResponse
38
+ rpc :Update, ::V1::AccountUpdateRequest, ::V1::AccountUpdateResponse
39
39
  # Delete removes an Account by ID.
40
- rpc :Delete, V1::AccountDeleteRequest, V1::AccountDeleteResponse
40
+ rpc :Delete, ::V1::AccountDeleteRequest, ::V1::AccountDeleteResponse
41
41
  # List gets a list of Accounts matching a given set of criteria.
42
- rpc :List, V1::AccountListRequest, V1::AccountListResponse
42
+ rpc :List, ::V1::AccountListRequest, ::V1::AccountListResponse
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class
@@ -20,6 +20,7 @@ require "google/protobuf"
20
20
  require "google/protobuf/timestamp_pb"
21
21
  require "options_pb"
22
22
  require "spec_pb"
23
+
23
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
25
  add_file("activities.proto", :syntax => :proto3) do
25
26
  add_message "v1.ActivityGetRequest" do
@@ -24,19 +24,19 @@ module V1
24
24
  # a user creation, resource deletion, sso configuration change, etc. The Activities
25
25
  # service is read-only.
26
26
  class Service
27
- include GRPC::GenericService
27
+ include ::GRPC::GenericService
28
28
 
29
29
  self.marshal_class_method = :encode
30
30
  self.unmarshal_class_method = :decode
31
31
  self.service_name = "v1.Activities"
32
32
 
33
33
  # Get reads one Activity by ID.
34
- rpc :Get, V1::ActivityGetRequest, V1::ActivityGetResponse
34
+ rpc :Get, ::V1::ActivityGetRequest, ::V1::ActivityGetResponse
35
35
  # List gets a list of Activities matching a given set of criteria.
36
36
  # The 'before' and 'after' filters can be used to control the time
37
37
  # range of the output activities. If not provided, one week of back
38
38
  # of activities will be returned.
39
- rpc :List, V1::ActivityListRequest, V1::ActivityListResponse
39
+ rpc :List, ::V1::ActivityListRequest, ::V1::ActivityListResponse
40
40
  end
41
41
 
42
42
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "spec_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("control_panel.proto", :syntax => :proto3) do
24
25
  add_message "v1.ControlPanelGetSSHCAPublicKeyRequest" do
@@ -22,16 +22,16 @@ module V1
22
22
  module ControlPanel
23
23
  # ControlPanel contains all administrative controls.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.ControlPanel"
30
30
 
31
31
  # GetSSHCAPublicKey retrieves the SSH CA public key.
32
- rpc :GetSSHCAPublicKey, V1::ControlPanelGetSSHCAPublicKeyRequest, V1::ControlPanelGetSSHCAPublicKeyResponse
32
+ rpc :GetSSHCAPublicKey, ::V1::ControlPanelGetSSHCAPublicKeyRequest, ::V1::ControlPanelGetSSHCAPublicKeyResponse
33
33
  # VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.
34
- rpc :VerifyJWT, V1::ControlPanelVerifyJWTRequest, V1::ControlPanelVerifyJWTResponse
34
+ rpc :VerifyJWT, ::V1::ControlPanelVerifyJWTRequest, ::V1::ControlPanelVerifyJWTResponse
35
35
  end
36
36
 
37
37
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "tags_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("drivers.proto", :syntax => :proto3) do
24
25
  add_message "v1.Resource" do
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "nodes_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("nodes_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.NodeHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module NodesHistory
23
23
  # NodesHistory records all changes to the state of a Node.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.NodesHistory"
30
30
 
31
31
  # List gets a list of NodeHistory records matching a given set of criteria.
32
- rpc :List, V1::NodeHistoryListRequest, V1::NodeHistoryListResponse
32
+ rpc :List, ::V1::NodeHistoryListRequest, ::V1::NodeHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
data/lib/grpc/nodes_pb.rb CHANGED
@@ -17,9 +17,11 @@
17
17
 
18
18
  require "google/protobuf"
19
19
 
20
+ require "google/protobuf/duration_pb"
20
21
  require "options_pb"
21
22
  require "spec_pb"
22
23
  require "tags_pb"
24
+
23
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
26
  add_file("nodes.proto", :syntax => :proto3) do
25
27
  add_message "v1.NodeCreateRequest" do
@@ -85,6 +87,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
85
87
  optional :version, :string, 8
86
88
  optional :uuid, :string, 9
87
89
  repeated :maintenance_windows, :message, 11, "v1.NodeMaintenanceWindow"
90
+ optional :discovery_config, :message, 12, "v1.NodeDiscoveryConfig"
88
91
  end
89
92
  add_message "v1.Gateway" do
90
93
  optional :id, :string, 1
@@ -99,11 +102,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
99
102
  optional :version, :string, 10
100
103
  optional :uuid, :string, 11
101
104
  repeated :maintenance_windows, :message, 13, "v1.NodeMaintenanceWindow"
105
+ optional :discovery_config, :message, 14, "v1.NodeDiscoveryConfig"
102
106
  end
103
107
  add_message "v1.NodeMaintenanceWindow" do
104
108
  optional :cron_schedule, :string, 1
105
109
  optional :require_idleness, :bool, 2
106
110
  end
111
+ add_message "v1.NodeDiscoveryConfig" do
112
+ optional :enabled, :bool, 1
113
+ optional :period, :message, 2, "google.protobuf.Duration"
114
+ repeated :enabledTypes, :message, 3, "v1.NodeDiscoveryTypeConfig"
115
+ end
116
+ add_message "v1.NodeDiscoveryTypeConfig" do
117
+ optional :type, :string, 1
118
+ end
107
119
  end
108
120
  end
109
121
 
@@ -122,4 +134,6 @@ module V1
122
134
  Relay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Relay").msgclass
123
135
  Gateway = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Gateway").msgclass
124
136
  NodeMaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NodeMaintenanceWindow").msgclass
137
+ NodeDiscoveryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NodeDiscoveryConfig").msgclass
138
+ NodeDiscoveryTypeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NodeDiscoveryTypeConfig").msgclass
125
139
  end
@@ -24,22 +24,22 @@ module V1
24
24
  # - **Gateways** are the entry points into network. They listen for connection from the strongDM client, and provide access to databases and servers.
25
25
  # - **Relays** are used to extend the strongDM network into segmented subnets. They provide access to databases and servers but do not listen for incoming connections.
26
26
  class Service
27
- include GRPC::GenericService
27
+ include ::GRPC::GenericService
28
28
 
29
29
  self.marshal_class_method = :encode
30
30
  self.unmarshal_class_method = :decode
31
31
  self.service_name = "v1.Nodes"
32
32
 
33
33
  # Create registers a new Node.
34
- rpc :Create, V1::NodeCreateRequest, V1::NodeCreateResponse
34
+ rpc :Create, ::V1::NodeCreateRequest, ::V1::NodeCreateResponse
35
35
  # Get reads one Node by ID.
36
- rpc :Get, V1::NodeGetRequest, V1::NodeGetResponse
36
+ rpc :Get, ::V1::NodeGetRequest, ::V1::NodeGetResponse
37
37
  # Update replaces all the fields of a Node by ID.
38
- rpc :Update, V1::NodeUpdateRequest, V1::NodeUpdateResponse
38
+ rpc :Update, ::V1::NodeUpdateRequest, ::V1::NodeUpdateResponse
39
39
  # Delete removes a Node by ID.
40
- rpc :Delete, V1::NodeDeleteRequest, V1::NodeDeleteResponse
40
+ rpc :Delete, ::V1::NodeDeleteRequest, ::V1::NodeDeleteResponse
41
41
  # List gets a list of Nodes matching a given set of criteria.
42
- rpc :List, V1::NodeListRequest, V1::NodeListResponse
42
+ rpc :List, ::V1::NodeListRequest, ::V1::NodeListResponse
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class