strongdm 3.6.1 → 3.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) 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-c0eff6575c38c9865988c2b59ce4060fff518355.idx → pack-2d53a487ade528ef84cbb5c91cde76bf875d9e95.idx} +0 -0
  8. data/.git/objects/pack/{pack-c0eff6575c38c9865988c2b59ce4060fff518355.pack → pack-2d53a487ade528ef84cbb5c91cde76bf875d9e95.pack} +0 -0
  9. data/.git/packed-refs +4 -2
  10. data/.git/refs/heads/master +1 -1
  11. data/lib/constants.rb +311 -0
  12. data/lib/errors/errors.rb +1 -1
  13. data/lib/grpc/account_attachments_history_pb.rb +48 -0
  14. data/lib/grpc/account_attachments_history_services_pb.rb +37 -0
  15. data/lib/grpc/account_grants_history_pb.rb +48 -0
  16. data/lib/grpc/account_grants_history_services_pb.rb +37 -0
  17. data/lib/grpc/account_permissions_pb.rb +48 -0
  18. data/lib/grpc/account_permissions_services_pb.rb +38 -0
  19. data/lib/grpc/account_resources_pb.rb +49 -0
  20. data/lib/grpc/account_resources_services_pb.rb +38 -0
  21. data/lib/grpc/accounts_history_pb.rb +48 -0
  22. data/lib/grpc/accounts_history_services_pb.rb +37 -0
  23. data/lib/grpc/activities_pb.rb +77 -0
  24. data/lib/grpc/activities_services_pb.rb +41 -0
  25. data/lib/grpc/drivers_pb.rb +66 -0
  26. data/lib/grpc/nodes_history_pb.rb +48 -0
  27. data/lib/grpc/nodes_history_services_pb.rb +37 -0
  28. data/lib/grpc/organization_history_pb.rb +74 -0
  29. data/lib/grpc/organization_history_services_pb.rb +37 -0
  30. data/lib/grpc/plumbing.rb +1106 -1
  31. data/lib/grpc/queries_pb.rb +67 -0
  32. data/lib/grpc/queries_services_pb.rb +39 -0
  33. data/lib/grpc/remote_identities_history_pb.rb +48 -0
  34. data/lib/grpc/remote_identities_history_services_pb.rb +37 -0
  35. data/lib/grpc/remote_identity_groups_history_pb.rb +48 -0
  36. data/lib/grpc/remote_identity_groups_history_services_pb.rb +37 -0
  37. data/lib/grpc/replays_pb.rb +50 -0
  38. data/lib/grpc/replays_services_pb.rb +38 -0
  39. data/lib/grpc/resources_history_pb.rb +48 -0
  40. data/lib/grpc/resources_history_services_pb.rb +37 -0
  41. data/lib/grpc/role_resources_history_pb.rb +48 -0
  42. data/lib/grpc/role_resources_history_services_pb.rb +37 -0
  43. data/lib/grpc/role_resources_pb.rb +46 -0
  44. data/lib/grpc/role_resources_services_pb.rb +38 -0
  45. data/lib/grpc/roles_history_pb.rb +48 -0
  46. data/lib/grpc/roles_history_services_pb.rb +37 -0
  47. data/lib/grpc/secret_stores_history_pb.rb +48 -0
  48. data/lib/grpc/secret_stores_history_services_pb.rb +37 -0
  49. data/lib/models/porcelain.rb +1177 -1
  50. data/lib/strongdm.rb +220 -2
  51. data/lib/svc.rb +1556 -121
  52. data/lib/version +1 -1
  53. data/lib/version.rb +1 -1
  54. metadata +38 -4
@@ -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: roles_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "roles_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+ Google::Protobuf::DescriptorPool.generated_pool.build do
25
+ add_file("roles_history.proto", :syntax => :proto3) do
26
+ add_message "v1.RoleHistoryListRequest" do
27
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
28
+ optional :filter, :string, 2
29
+ end
30
+ add_message "v1.RoleHistoryListResponse" do
31
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
32
+ repeated :history, :message, 2, "v1.RoleHistory"
33
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
34
+ end
35
+ add_message "v1.RoleHistory" do
36
+ optional :activity_id, :string, 1
37
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
38
+ optional :role, :message, 3, "v1.Role"
39
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
40
+ end
41
+ end
42
+ end
43
+
44
+ module V1
45
+ RoleHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleHistoryListRequest").msgclass
46
+ RoleHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleHistoryListResponse").msgclass
47
+ RoleHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RoleHistory").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: roles_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "roles_history_pb"
20
+
21
+ module V1
22
+ module RolesHistory
23
+ # RolesHistory records all changes to the state of a Role.
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.RolesHistory"
30
+
31
+ # List gets a list of RoleHistory records matching a given set of criteria.
32
+ rpc :List, V1::RoleHistoryListRequest, V1::RoleHistoryListResponse
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: secret_stores_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "secret_store_types_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+ Google::Protobuf::DescriptorPool.generated_pool.build do
25
+ add_file("secret_stores_history.proto", :syntax => :proto3) do
26
+ add_message "v1.SecretStoreHistoryListRequest" do
27
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
28
+ optional :filter, :string, 2
29
+ end
30
+ add_message "v1.SecretStoreHistoryListResponse" do
31
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
32
+ repeated :history, :message, 2, "v1.SecretStoreHistory"
33
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
34
+ end
35
+ add_message "v1.SecretStoreHistory" do
36
+ optional :activity_id, :string, 1
37
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
38
+ optional :secret_store, :message, 3, "v1.SecretStore"
39
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
40
+ end
41
+ end
42
+ end
43
+
44
+ module V1
45
+ SecretStoreHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHistoryListRequest").msgclass
46
+ SecretStoreHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHistoryListResponse").msgclass
47
+ SecretStoreHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHistory").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: secret_stores_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "secret_stores_history_pb"
20
+
21
+ module V1
22
+ module SecretStoresHistory
23
+ # SecretStoresHistory records all changes to the state of a SecretStore.
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.SecretStoresHistory"
30
+
31
+ # List gets a list of SecretStoreHistory records matching a given set of criteria.
32
+ rpc :List, V1::SecretStoreHistoryListRequest, V1::SecretStoreHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end