strongdm 3.6.1 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) 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-6ff24cd25221e788819ff2b8012b5e54f3c5d426.idx} +0 -0
  8. data/.git/objects/pack/{pack-c0eff6575c38c9865988c2b59ce4060fff518355.pack → pack-6ff24cd25221e788819ff2b8012b5e54f3c5d426.pack} +0 -0
  9. data/.git/packed-refs +3 -2
  10. data/.git/refs/heads/master +1 -1
  11. data/lib/constants.rb +311 -0
  12. data/lib/grpc/account_attachments_history_pb.rb +48 -0
  13. data/lib/grpc/account_attachments_history_services_pb.rb +37 -0
  14. data/lib/grpc/account_grants_history_pb.rb +48 -0
  15. data/lib/grpc/account_grants_history_services_pb.rb +37 -0
  16. data/lib/grpc/account_permissions_pb.rb +48 -0
  17. data/lib/grpc/account_permissions_services_pb.rb +38 -0
  18. data/lib/grpc/account_resources_pb.rb +49 -0
  19. data/lib/grpc/account_resources_services_pb.rb +38 -0
  20. data/lib/grpc/accounts_history_pb.rb +48 -0
  21. data/lib/grpc/accounts_history_services_pb.rb +37 -0
  22. data/lib/grpc/activities_pb.rb +77 -0
  23. data/lib/grpc/activities_services_pb.rb +41 -0
  24. data/lib/grpc/nodes_history_pb.rb +48 -0
  25. data/lib/grpc/nodes_history_services_pb.rb +37 -0
  26. data/lib/grpc/organization_history_pb.rb +74 -0
  27. data/lib/grpc/organization_history_services_pb.rb +37 -0
  28. data/lib/grpc/plumbing.rb +977 -4
  29. data/lib/grpc/queries_pb.rb +67 -0
  30. data/lib/grpc/queries_services_pb.rb +39 -0
  31. data/lib/grpc/remote_identities_history_pb.rb +48 -0
  32. data/lib/grpc/remote_identities_history_services_pb.rb +37 -0
  33. data/lib/grpc/remote_identity_groups_history_pb.rb +48 -0
  34. data/lib/grpc/remote_identity_groups_history_services_pb.rb +37 -0
  35. data/lib/grpc/replays_pb.rb +50 -0
  36. data/lib/grpc/replays_services_pb.rb +38 -0
  37. data/lib/grpc/resources_history_pb.rb +48 -0
  38. data/lib/grpc/resources_history_services_pb.rb +37 -0
  39. data/lib/grpc/role_resources_history_pb.rb +48 -0
  40. data/lib/grpc/role_resources_history_services_pb.rb +37 -0
  41. data/lib/grpc/role_resources_pb.rb +46 -0
  42. data/lib/grpc/role_resources_services_pb.rb +38 -0
  43. data/lib/grpc/roles_history_pb.rb +48 -0
  44. data/lib/grpc/roles_history_services_pb.rb +37 -0
  45. data/lib/grpc/secret_stores_history_pb.rb +48 -0
  46. data/lib/grpc/secret_stores_history_services_pb.rb +37 -0
  47. data/lib/models/porcelain.rb +912 -0
  48. data/lib/strongdm.rb +219 -1
  49. data/lib/svc.rb +1555 -120
  50. data/lib/version +1 -1
  51. data/lib/version.rb +1 -1
  52. metadata +38 -4
@@ -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: account_resources.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("account_resources.proto", :syntax => :proto3) do
25
+ add_message "v1.AccountResourceListRequest" do
26
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
27
+ optional :filter, :string, 2
28
+ end
29
+ add_message "v1.AccountResourceListResponse" do
30
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
31
+ repeated :account_resources, :message, 2, "v1.AccountResource"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.AccountResource" do
35
+ optional :account_id, :string, 1
36
+ optional :resource_id, :string, 2
37
+ optional :granted_at, :message, 3, "google.protobuf.Timestamp"
38
+ optional :expires_at, :message, 4, "google.protobuf.Timestamp"
39
+ optional :role_id, :string, 5
40
+ optional :account_grant_id, :string, 6
41
+ end
42
+ end
43
+ end
44
+
45
+ module V1
46
+ AccountResourceListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountResourceListRequest").msgclass
47
+ AccountResourceListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountResourceListResponse").msgclass
48
+ AccountResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountResource").msgclass
49
+ end
@@ -0,0 +1,38 @@
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: account_resources.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "account_resources_pb"
20
+
21
+ module V1
22
+ module AccountResources
23
+ # AccountResources enumerates the resources to which accounts have access.
24
+ # The AccountResources service is read-only.
25
+ class Service
26
+ include GRPC::GenericService
27
+
28
+ self.marshal_class_method = :encode
29
+ self.unmarshal_class_method = :decode
30
+ self.service_name = "v1.AccountResources"
31
+
32
+ # List gets a list of AccountResource records matching a given set of criteria.
33
+ rpc :List, V1::AccountResourceListRequest, V1::AccountResourceListResponse
34
+ end
35
+
36
+ Stub = Service.rpc_stub_class
37
+ end
38
+ 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: accounts_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "accounts_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+ Google::Protobuf::DescriptorPool.generated_pool.build do
25
+ add_file("accounts_history.proto", :syntax => :proto3) do
26
+ add_message "v1.AccountHistoryListRequest" do
27
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
28
+ optional :filter, :string, 2
29
+ end
30
+ add_message "v1.AccountHistoryListResponse" do
31
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
32
+ repeated :history, :message, 2, "v1.AccountHistory"
33
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
34
+ end
35
+ add_message "v1.AccountHistory" do
36
+ optional :activity_id, :string, 1
37
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
38
+ optional :account, :message, 3, "v1.Account"
39
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
40
+ end
41
+ end
42
+ end
43
+
44
+ module V1
45
+ AccountHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountHistoryListRequest").msgclass
46
+ AccountHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountHistoryListResponse").msgclass
47
+ AccountHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountHistory").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: accounts_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "accounts_history_pb"
20
+
21
+ module V1
22
+ module AccountsHistory
23
+ # AccountsHistory records all changes to the state of an Account.
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.AccountsHistory"
30
+
31
+ # List gets a list of AccountHistory records matching a given set of criteria.
32
+ rpc :List, V1::AccountHistoryListRequest, V1::AccountHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end
@@ -0,0 +1,77 @@
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: activities.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("activities.proto", :syntax => :proto3) do
25
+ add_message "v1.ActivityGetRequest" do
26
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
27
+ optional :id, :string, 2
28
+ end
29
+ add_message "v1.ActivityGetResponse" do
30
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
31
+ optional :activity, :message, 2, "v1.Activity"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.ActivityListRequest" do
35
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
36
+ optional :filter, :string, 2
37
+ end
38
+ add_message "v1.ActivityListResponse" do
39
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
40
+ repeated :activities, :message, 2, "v1.Activity"
41
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
42
+ end
43
+ add_message "v1.Activity" do
44
+ optional :id, :string, 1
45
+ optional :verb, :string, 2
46
+ optional :description, :string, 3
47
+ optional :completed_at, :message, 4, "google.protobuf.Timestamp"
48
+ repeated :entities, :message, 5, "v1.ActivityEntity"
49
+ optional :ip_address, :string, 6
50
+ optional :actor, :message, 7, "v1.ActivityActor"
51
+ end
52
+ add_message "v1.ActivityEntity" do
53
+ optional :id, :string, 1
54
+ optional :type, :string, 2
55
+ optional :name, :string, 3
56
+ optional :email, :string, 4
57
+ optional :external_id, :string, 5
58
+ end
59
+ add_message "v1.ActivityActor" do
60
+ optional :id, :string, 1
61
+ optional :email, :string, 2
62
+ optional :first_name, :string, 3
63
+ optional :last_name, :string, 4
64
+ optional :activity_external_id, :string, 5
65
+ end
66
+ end
67
+ end
68
+
69
+ module V1
70
+ ActivityGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActivityGetRequest").msgclass
71
+ ActivityGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActivityGetResponse").msgclass
72
+ ActivityListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActivityListRequest").msgclass
73
+ ActivityListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActivityListResponse").msgclass
74
+ Activity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Activity").msgclass
75
+ ActivityEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActivityEntity").msgclass
76
+ ActivityActor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActivityActor").msgclass
77
+ end
@@ -0,0 +1,41 @@
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: activities.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "activities_pb"
20
+
21
+ module V1
22
+ module Activities
23
+ # An Activity is a record of an action taken against a strongDM deployment, e.g.
24
+ # a user creation, resource deletion, sso configuration change, etc. The Activities
25
+ # service is read-only.
26
+ class Service
27
+ include GRPC::GenericService
28
+
29
+ self.marshal_class_method = :encode
30
+ self.unmarshal_class_method = :decode
31
+ self.service_name = "v1.Activities"
32
+
33
+ # Get reads one Activity by ID.
34
+ rpc :Get, V1::ActivityGetRequest, V1::ActivityGetResponse
35
+ # List gets a list of Activities matching a given set of criteria.
36
+ rpc :List, V1::ActivityListRequest, V1::ActivityListResponse
37
+ end
38
+
39
+ Stub = Service.rpc_stub_class
40
+ end
41
+ 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: nodes_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "nodes_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+ Google::Protobuf::DescriptorPool.generated_pool.build do
25
+ add_file("nodes_history.proto", :syntax => :proto3) do
26
+ add_message "v1.NodeHistoryListRequest" do
27
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
28
+ optional :filter, :string, 2
29
+ end
30
+ add_message "v1.NodeHistoryListResponse" do
31
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
32
+ repeated :history, :message, 2, "v1.NodeHistory"
33
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
34
+ end
35
+ add_message "v1.NodeHistory" do
36
+ optional :activity_id, :string, 1
37
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
38
+ optional :node, :message, 3, "v1.Node"
39
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
40
+ end
41
+ end
42
+ end
43
+
44
+ module V1
45
+ NodeHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NodeHistoryListRequest").msgclass
46
+ NodeHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NodeHistoryListResponse").msgclass
47
+ NodeHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NodeHistory").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: nodes_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "nodes_history_pb"
20
+
21
+ module V1
22
+ module NodesHistory
23
+ # NodesHistory records all changes to the state of a Node.
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.NodesHistory"
30
+
31
+ # List gets a list of NodeHistory records matching a given set of criteria.
32
+ rpc :List, V1::NodeHistoryListRequest, V1::NodeHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end
@@ -0,0 +1,74 @@
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: organization_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/duration_pb"
21
+ require "google/protobuf/timestamp_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+ Google::Protobuf::DescriptorPool.generated_pool.build do
25
+ add_file("organization_history.proto", :syntax => :proto3) do
26
+ add_message "v1.OrganizationHistoryListRequest" do
27
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
28
+ optional :filter, :string, 2
29
+ end
30
+ add_message "v1.OrganizationHistoryListResponse" do
31
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
32
+ repeated :history, :message, 2, "v1.OrganizationHistoryRecord"
33
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
34
+ end
35
+ add_message "v1.OrganizationHistoryRecord" do
36
+ optional :activity_id, :string, 1
37
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
38
+ optional :organization, :message, 3, "v1.Organization"
39
+ end
40
+ add_message "v1.Organization" do
41
+ optional :name, :string, 1
42
+ optional :created_at, :message, 2, "google.protobuf.Timestamp"
43
+ optional :updated_at, :message, 3, "google.protobuf.Timestamp"
44
+ optional :auth_provider, :string, 4
45
+ optional :idle_timeout_enabled, :bool, 5
46
+ optional :idle_timeout, :message, 6, "google.protobuf.Duration"
47
+ optional :session_timeout_enabled, :bool, 7
48
+ optional :session_timeout, :message, 8, "google.protobuf.Duration"
49
+ optional :mfa_enabled, :bool, 9
50
+ optional :mfa_provider, :string, 10
51
+ optional :log_remote_encoder, :string, 11
52
+ optional :log_local_storage, :string, 12
53
+ optional :log_local_encoder, :string, 13
54
+ optional :log_local_format, :string, 14
55
+ optional :log_tcp_address, :string, 15
56
+ optional :log_socket_path, :string, 16
57
+ optional :scim_provider, :string, 17
58
+ optional :websites_subdomain, :string, 18
59
+ optional :ssh_certificate_authority_public_key, :string, 19
60
+ optional :ssh_certificate_authority_updated_at, :message, 20, "google.protobuf.Timestamp"
61
+ optional :require_secret_store, :bool, 21
62
+ optional :sensitive_label, :string, 22
63
+ optional :saml_metadata_url, :string, 23
64
+ optional :kind, :string, 24
65
+ end
66
+ end
67
+ end
68
+
69
+ module V1
70
+ OrganizationHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OrganizationHistoryListRequest").msgclass
71
+ OrganizationHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OrganizationHistoryListResponse").msgclass
72
+ OrganizationHistoryRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OrganizationHistoryRecord").msgclass
73
+ Organization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Organization").msgclass
74
+ 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: organization_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "organization_history_pb"
20
+
21
+ module V1
22
+ module OrganizationHistory
23
+ # OrganizationHistory records all changes to the state of an Organization.
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.OrganizationHistory"
30
+
31
+ # List gets a list of OrganizationHistory records matching a given set of criteria.
32
+ rpc :List, V1::OrganizationHistoryListRequest, V1::OrganizationHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end