strongdm 9.3.0 → 9.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-22b490cf754d03bb55dd7cdb997e95d4ba69b64a.idx → pack-6337b631778d9e36dcf8451ebddad9bc12e76af5.idx} +0 -0
- data/.git/objects/pack/{pack-22b490cf754d03bb55dd7cdb997e95d4ba69b64a.pack → pack-6337b631778d9e36dcf8451ebddad9bc12e76af5.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +2 -2
- data/lib/grpc/drivers_pb.rb +14 -0
- data/lib/grpc/organization_history_pb.rb +4 -1
- data/lib/grpc/plumbing.rb +32 -0
- data/lib/models/porcelain.rb +84 -16
- data/lib/strongdm.rb +1 -1
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f09fddaca39c923e3977c1d09085b4b42bc11f58d611bade9357dd874386e63c
|
4
|
+
data.tar.gz: b9c02e0f1998e2b6c1216b4afe46c4fb8a3fa9568b52e7f57691a715d92d501f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651303e820b6c7fa32b010fd5b1bd6c032e071c306ad2149f8bb2719c7a225c83f4b68d542e55a2a634ff57a2b51ab6f303b04074b66405c8cd530b1f8760681
|
7
|
+
data.tar.gz: dbc7ae4c9816f6f990ae837a308d9001d418eac61b43f9935afa5f621ae5f7b6336624683a9d1cea0998d4a15d23ae6331a7dbd3d34959a47050ddcccca8e902
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@544cd7d22df2.(none)> 1718759497 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@544cd7d22df2.(none)> 1718759497 +0000 checkout: moving from master to master
|
3
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 c364531ed10688edbdcf9523489096efd2239cbf root <root@544cd7d22df2.(none)> 1718759497 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@544cd7d22df2.(none)> 1718759497 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 c364531ed10688edbdcf9523489096efd2239cbf root <root@544cd7d22df2.(none)> 1718759497 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@544cd7d22df2.(none)> 1718759497 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
c364531ed10688edbdcf9523489096efd2239cbf refs/remotes/origin/development
|
3
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 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
|
@@ -111,3 +111,5 @@ f34575bc142eabf113dbbc5b40b3a16e0c026355 refs/tags/v7.1.0
|
|
111
111
|
510e35b667dd3c214950f99d2bd6cd24c41655ae refs/tags/v9.0.0
|
112
112
|
0271f35ba50e29ded8bbc919bcd180b8f5428fe6 refs/tags/v9.1.0
|
113
113
|
74fd97d07c0510f0c612ce2611adadbba25e2e91 refs/tags/v9.2.0
|
114
|
+
16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e refs/tags/v9.3.0
|
115
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 refs/tags/v9.4.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
c364531ed10688edbdcf9523489096efd2239cbf
|
data/lib/constants.rb
CHANGED
@@ -447,8 +447,8 @@ module SDM
|
|
447
447
|
SSH_PORT_FORWARD = "ssh-portForward"
|
448
448
|
end
|
449
449
|
|
450
|
-
# Providers responsible for device
|
451
|
-
module
|
450
|
+
# Providers responsible for device trust enforcement
|
451
|
+
module DeviceTrustProvider
|
452
452
|
NONE = ""
|
453
453
|
SENTINEL_ONE = "sentinelone"
|
454
454
|
CROWD_STRIKE = "crowdstrike"
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -122,6 +122,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
122
122
|
optional :certificate_authority, :string, 3
|
123
123
|
optional :client_certificate, :string, 5
|
124
124
|
optional :client_key, :string, 7
|
125
|
+
optional :discovery_enabled, :bool, 17
|
126
|
+
optional :discovery_username, :string, 18
|
125
127
|
optional :healthcheck_namespace, :string, 9
|
126
128
|
optional :hostname, :string, 1
|
127
129
|
optional :identity_alias_healthcheck_username, :string, 11
|
@@ -154,6 +156,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
154
156
|
optional :egress_filter, :string, 32773
|
155
157
|
optional :bind_interface, :string, 32774
|
156
158
|
optional :subdomain, :string, 32775
|
159
|
+
optional :discovery_enabled, :bool, 11
|
160
|
+
optional :discovery_username, :string, 12
|
157
161
|
optional :healthcheck_namespace, :string, 4
|
158
162
|
optional :hostname, :string, 1
|
159
163
|
optional :identity_alias_healthcheck_username, :string, 6
|
@@ -259,6 +263,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
259
263
|
optional :access_key, :string, 2
|
260
264
|
optional :certificate_authority, :string, 4
|
261
265
|
optional :cluster_name, :string, 7
|
266
|
+
optional :discovery_enabled, :bool, 16
|
267
|
+
optional :discovery_username, :string, 17
|
262
268
|
optional :endpoint, :string, 1
|
263
269
|
optional :healthcheck_namespace, :string, 9
|
264
270
|
optional :identity_alias_healthcheck_username, :string, 12
|
@@ -280,6 +286,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
280
286
|
optional :subdomain, :string, 32775
|
281
287
|
optional :certificate_authority, :string, 2
|
282
288
|
optional :cluster_name, :string, 5
|
289
|
+
optional :discovery_enabled, :bool, 16
|
290
|
+
optional :discovery_username, :string, 17
|
283
291
|
optional :endpoint, :string, 1
|
284
292
|
optional :healthcheck_namespace, :string, 8
|
285
293
|
optional :identity_alias_healthcheck_username, :string, 10
|
@@ -746,6 +754,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
746
754
|
optional :bind_interface, :string, 32774
|
747
755
|
optional :subdomain, :string, 32775
|
748
756
|
optional :certificate_authority, :string, 2
|
757
|
+
optional :discovery_enabled, :bool, 15
|
758
|
+
optional :discovery_username, :string, 16
|
749
759
|
optional :endpoint, :string, 1
|
750
760
|
optional :healthcheck_namespace, :string, 6
|
751
761
|
optional :identity_alias_healthcheck_username, :string, 8
|
@@ -845,6 +855,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
845
855
|
optional :certificate_authority, :string, 3
|
846
856
|
optional :client_certificate, :string, 5
|
847
857
|
optional :client_key, :string, 7
|
858
|
+
optional :discovery_enabled, :bool, 17
|
859
|
+
optional :discovery_username, :string, 18
|
848
860
|
optional :healthcheck_namespace, :string, 9
|
849
861
|
optional :hostname, :string, 1
|
850
862
|
optional :identity_alias_healthcheck_username, :string, 11
|
@@ -877,6 +889,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
877
889
|
optional :egress_filter, :string, 32773
|
878
890
|
optional :bind_interface, :string, 32774
|
879
891
|
optional :subdomain, :string, 32775
|
892
|
+
optional :discovery_enabled, :bool, 11
|
893
|
+
optional :discovery_username, :string, 12
|
880
894
|
optional :healthcheck_namespace, :string, 4
|
881
895
|
optional :hostname, :string, 1
|
882
896
|
optional :identity_alias_healthcheck_username, :string, 6
|
@@ -17,8 +17,8 @@
|
|
17
17
|
|
18
18
|
require "google/protobuf"
|
19
19
|
|
20
|
-
require "google/protobuf/duration_pb"
|
21
20
|
require "google/protobuf/timestamp_pb"
|
21
|
+
require "google/protobuf/duration_pb"
|
22
22
|
require "options_pb"
|
23
23
|
require "spec_pb"
|
24
24
|
|
@@ -64,6 +64,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
64
64
|
optional :saml_metadata_url, :string, 23
|
65
65
|
optional :kind, :string, 24
|
66
66
|
optional :id, :string, 25
|
67
|
+
optional :loopback_subnet, :string, 26
|
68
|
+
optional :device_trust_enabled, :bool, 27
|
69
|
+
optional :device_trust_provider, :string, 28
|
67
70
|
end
|
68
71
|
end
|
69
72
|
end
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -178,6 +178,8 @@ module SDM
|
|
178
178
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
179
179
|
porcelain.client_certificate = (plumbing.client_certificate)
|
180
180
|
porcelain.client_key = (plumbing.client_key)
|
181
|
+
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
182
|
+
porcelain.discovery_username = (plumbing.discovery_username)
|
181
183
|
porcelain.egress_filter = (plumbing.egress_filter)
|
182
184
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
183
185
|
porcelain.healthy = (plumbing.healthy)
|
@@ -203,6 +205,8 @@ module SDM
|
|
203
205
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
204
206
|
plumbing.client_certificate = (porcelain.client_certificate)
|
205
207
|
plumbing.client_key = (porcelain.client_key)
|
208
|
+
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
209
|
+
plumbing.discovery_username = (porcelain.discovery_username)
|
206
210
|
plumbing.egress_filter = (porcelain.egress_filter)
|
207
211
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
|
208
212
|
plumbing.healthy = (porcelain.healthy)
|
@@ -301,6 +305,8 @@ module SDM
|
|
301
305
|
end
|
302
306
|
porcelain = AKSServiceAccount.new()
|
303
307
|
porcelain.bind_interface = (plumbing.bind_interface)
|
308
|
+
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
309
|
+
porcelain.discovery_username = (plumbing.discovery_username)
|
304
310
|
porcelain.egress_filter = (plumbing.egress_filter)
|
305
311
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
306
312
|
porcelain.healthy = (plumbing.healthy)
|
@@ -324,6 +330,8 @@ module SDM
|
|
324
330
|
end
|
325
331
|
plumbing = V1::AKSServiceAccount.new()
|
326
332
|
plumbing.bind_interface = (porcelain.bind_interface)
|
333
|
+
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
334
|
+
plumbing.discovery_username = (porcelain.discovery_username)
|
327
335
|
plumbing.egress_filter = (porcelain.egress_filter)
|
328
336
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
|
329
337
|
plumbing.healthy = (porcelain.healthy)
|
@@ -2013,6 +2021,8 @@ module SDM
|
|
2013
2021
|
porcelain.bind_interface = (plumbing.bind_interface)
|
2014
2022
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
2015
2023
|
porcelain.cluster_name = (plumbing.cluster_name)
|
2024
|
+
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
2025
|
+
porcelain.discovery_username = (plumbing.discovery_username)
|
2016
2026
|
porcelain.egress_filter = (plumbing.egress_filter)
|
2017
2027
|
porcelain.endpoint = (plumbing.endpoint)
|
2018
2028
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
@@ -2041,6 +2051,8 @@ module SDM
|
|
2041
2051
|
plumbing.bind_interface = (porcelain.bind_interface)
|
2042
2052
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
2043
2053
|
plumbing.cluster_name = (porcelain.cluster_name)
|
2054
|
+
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
2055
|
+
plumbing.discovery_username = (porcelain.discovery_username)
|
2044
2056
|
plumbing.egress_filter = (porcelain.egress_filter)
|
2045
2057
|
plumbing.endpoint = (porcelain.endpoint)
|
2046
2058
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
|
@@ -2084,6 +2096,8 @@ module SDM
|
|
2084
2096
|
porcelain.bind_interface = (plumbing.bind_interface)
|
2085
2097
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
2086
2098
|
porcelain.cluster_name = (plumbing.cluster_name)
|
2099
|
+
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
2100
|
+
porcelain.discovery_username = (plumbing.discovery_username)
|
2087
2101
|
porcelain.egress_filter = (plumbing.egress_filter)
|
2088
2102
|
porcelain.endpoint = (plumbing.endpoint)
|
2089
2103
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
@@ -2110,6 +2124,8 @@ module SDM
|
|
2110
2124
|
plumbing.bind_interface = (porcelain.bind_interface)
|
2111
2125
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
2112
2126
|
plumbing.cluster_name = (porcelain.cluster_name)
|
2127
|
+
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
2128
|
+
plumbing.discovery_username = (porcelain.discovery_username)
|
2113
2129
|
plumbing.egress_filter = (porcelain.egress_filter)
|
2114
2130
|
plumbing.endpoint = (porcelain.endpoint)
|
2115
2131
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
|
@@ -5061,6 +5077,8 @@ module SDM
|
|
5061
5077
|
porcelain = GoogleGKE.new()
|
5062
5078
|
porcelain.bind_interface = (plumbing.bind_interface)
|
5063
5079
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
5080
|
+
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
5081
|
+
porcelain.discovery_username = (plumbing.discovery_username)
|
5064
5082
|
porcelain.egress_filter = (plumbing.egress_filter)
|
5065
5083
|
porcelain.endpoint = (plumbing.endpoint)
|
5066
5084
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
@@ -5084,6 +5102,8 @@ module SDM
|
|
5084
5102
|
plumbing = V1::GoogleGKE.new()
|
5085
5103
|
plumbing.bind_interface = (porcelain.bind_interface)
|
5086
5104
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
5105
|
+
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
5106
|
+
plumbing.discovery_username = (porcelain.discovery_username)
|
5087
5107
|
plumbing.egress_filter = (porcelain.egress_filter)
|
5088
5108
|
plumbing.endpoint = (porcelain.endpoint)
|
5089
5109
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
|
@@ -5993,6 +6013,8 @@ module SDM
|
|
5993
6013
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
5994
6014
|
porcelain.client_certificate = (plumbing.client_certificate)
|
5995
6015
|
porcelain.client_key = (plumbing.client_key)
|
6016
|
+
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
6017
|
+
porcelain.discovery_username = (plumbing.discovery_username)
|
5996
6018
|
porcelain.egress_filter = (plumbing.egress_filter)
|
5997
6019
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
5998
6020
|
porcelain.healthy = (plumbing.healthy)
|
@@ -6018,6 +6040,8 @@ module SDM
|
|
6018
6040
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
6019
6041
|
plumbing.client_certificate = (porcelain.client_certificate)
|
6020
6042
|
plumbing.client_key = (porcelain.client_key)
|
6043
|
+
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
6044
|
+
plumbing.discovery_username = (porcelain.discovery_username)
|
6021
6045
|
plumbing.egress_filter = (porcelain.egress_filter)
|
6022
6046
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
|
6023
6047
|
plumbing.healthy = (porcelain.healthy)
|
@@ -6116,6 +6140,8 @@ module SDM
|
|
6116
6140
|
end
|
6117
6141
|
porcelain = KubernetesServiceAccount.new()
|
6118
6142
|
porcelain.bind_interface = (plumbing.bind_interface)
|
6143
|
+
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
6144
|
+
porcelain.discovery_username = (plumbing.discovery_username)
|
6119
6145
|
porcelain.egress_filter = (plumbing.egress_filter)
|
6120
6146
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
6121
6147
|
porcelain.healthy = (plumbing.healthy)
|
@@ -6139,6 +6165,8 @@ module SDM
|
|
6139
6165
|
end
|
6140
6166
|
plumbing = V1::KubernetesServiceAccount.new()
|
6141
6167
|
plumbing.bind_interface = (porcelain.bind_interface)
|
6168
|
+
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
6169
|
+
plumbing.discovery_username = (porcelain.discovery_username)
|
6142
6170
|
plumbing.egress_filter = (porcelain.egress_filter)
|
6143
6171
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
|
6144
6172
|
plumbing.healthy = (porcelain.healthy)
|
@@ -7456,6 +7484,8 @@ module SDM
|
|
7456
7484
|
porcelain = Organization.new()
|
7457
7485
|
porcelain.auth_provider = (plumbing.auth_provider)
|
7458
7486
|
porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
|
7487
|
+
porcelain.device_trust_enabled = (plumbing.device_trust_enabled)
|
7488
|
+
porcelain.device_trust_provider = (plumbing.device_trust_provider)
|
7459
7489
|
porcelain.idle_timeout = convert_duration_to_porcelain(plumbing.idle_timeout)
|
7460
7490
|
porcelain.idle_timeout_enabled = (plumbing.idle_timeout_enabled)
|
7461
7491
|
porcelain.kind = (plumbing.kind)
|
@@ -7488,6 +7518,8 @@ module SDM
|
|
7488
7518
|
plumbing = V1::Organization.new()
|
7489
7519
|
plumbing.auth_provider = (porcelain.auth_provider)
|
7490
7520
|
plumbing.created_at = convert_timestamp_to_plumbing(porcelain.created_at)
|
7521
|
+
plumbing.device_trust_enabled = (porcelain.device_trust_enabled)
|
7522
|
+
plumbing.device_trust_provider = (porcelain.device_trust_provider)
|
7491
7523
|
plumbing.idle_timeout = convert_duration_to_plumbing(porcelain.idle_timeout)
|
7492
7524
|
plumbing.idle_timeout_enabled = (porcelain.idle_timeout_enabled)
|
7493
7525
|
plumbing.kind = (porcelain.kind)
|
data/lib/models/porcelain.rb
CHANGED
@@ -25,6 +25,11 @@ module SDM
|
|
25
25
|
attr_accessor :client_certificate
|
26
26
|
# The key to authenticate TLS connections with.
|
27
27
|
attr_accessor :client_key
|
28
|
+
# If true, configures discovery of a cluster to be run from a node.
|
29
|
+
attr_accessor :discovery_enabled
|
30
|
+
# If a cluster is configured for user impersonation, this is the user to impersonate when
|
31
|
+
# running discovery.
|
32
|
+
attr_accessor :discovery_username
|
28
33
|
# A filter applied to the routing logic to pin datasource to nodes.
|
29
34
|
attr_accessor :egress_filter
|
30
35
|
# The path used to check the health of your connection. Defaults to `default`.
|
@@ -57,6 +62,8 @@ module SDM
|
|
57
62
|
certificate_authority: nil,
|
58
63
|
client_certificate: nil,
|
59
64
|
client_key: nil,
|
65
|
+
discovery_enabled: nil,
|
66
|
+
discovery_username: nil,
|
60
67
|
egress_filter: nil,
|
61
68
|
healthcheck_namespace: nil,
|
62
69
|
healthy: nil,
|
@@ -75,6 +82,8 @@ module SDM
|
|
75
82
|
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
76
83
|
@client_certificate = client_certificate == nil ? "" : client_certificate
|
77
84
|
@client_key = client_key == nil ? "" : client_key
|
85
|
+
@discovery_enabled = discovery_enabled == nil ? false : discovery_enabled
|
86
|
+
@discovery_username = discovery_username == nil ? "" : discovery_username
|
78
87
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
79
88
|
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
80
89
|
@healthy = healthy == nil ? false : healthy
|
@@ -173,6 +182,11 @@ module SDM
|
|
173
182
|
class AKSServiceAccount
|
174
183
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
175
184
|
attr_accessor :bind_interface
|
185
|
+
# If true, configures discovery of a cluster to be run from a node.
|
186
|
+
attr_accessor :discovery_enabled
|
187
|
+
# If a cluster is configured for user impersonation, this is the user to impersonate when
|
188
|
+
# running discovery.
|
189
|
+
attr_accessor :discovery_username
|
176
190
|
# A filter applied to the routing logic to pin datasource to nodes.
|
177
191
|
attr_accessor :egress_filter
|
178
192
|
# The path used to check the health of your connection. Defaults to `default`.
|
@@ -204,6 +218,8 @@ module SDM
|
|
204
218
|
|
205
219
|
def initialize(
|
206
220
|
bind_interface: nil,
|
221
|
+
discovery_enabled: nil,
|
222
|
+
discovery_username: nil,
|
207
223
|
egress_filter: nil,
|
208
224
|
healthcheck_namespace: nil,
|
209
225
|
healthy: nil,
|
@@ -220,6 +236,8 @@ module SDM
|
|
220
236
|
token: nil
|
221
237
|
)
|
222
238
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
239
|
+
@discovery_enabled = discovery_enabled == nil ? false : discovery_enabled
|
240
|
+
@discovery_username = discovery_username == nil ? "" : discovery_username
|
223
241
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
224
242
|
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
225
243
|
@healthy = healthy == nil ? false : healthy
|
@@ -1365,8 +1383,7 @@ module SDM
|
|
1365
1383
|
# The most recent time at which the permission was granted. If a permission was
|
1366
1384
|
# granted, revoked, and granted again, this will reflect the later time.
|
1367
1385
|
attr_accessor :granted_at
|
1368
|
-
# The value of this permission, split into vertical and action
|
1369
|
-
# 'secretstore:List', 'role:update'
|
1386
|
+
# The value of this permission, split into vertical and action, one of the Permission constants.
|
1370
1387
|
attr_accessor :permission
|
1371
1388
|
# The scope of this permission. A global scope means this action can be taken
|
1372
1389
|
# on any entity; otherwise the action can only be taken on or in the scope of
|
@@ -1567,7 +1584,7 @@ module SDM
|
|
1567
1584
|
# The User Agent present when this request was executed. Generally a client type and version
|
1568
1585
|
# like strongdm-cli/55.66.77
|
1569
1586
|
attr_accessor :user_agent
|
1570
|
-
# The kind of activity which has taken place.
|
1587
|
+
# The kind of activity which has taken place, one of the ActivityVerb constants.
|
1571
1588
|
attr_accessor :verb
|
1572
1589
|
|
1573
1590
|
def initialize(
|
@@ -1643,7 +1660,7 @@ module SDM
|
|
1643
1660
|
attr_accessor :id
|
1644
1661
|
# A display name representing the affected entity.
|
1645
1662
|
attr_accessor :name
|
1646
|
-
# The type of entity affected, one of the
|
1663
|
+
# The type of entity affected, one of the ActivityEntityType constants.
|
1647
1664
|
attr_accessor :type
|
1648
1665
|
|
1649
1666
|
def initialize(
|
@@ -1706,6 +1723,11 @@ module SDM
|
|
1706
1723
|
attr_accessor :certificate_authority
|
1707
1724
|
# The name of the cluster to connect to.
|
1708
1725
|
attr_accessor :cluster_name
|
1726
|
+
# If true, configures discovery of a cluster to be run from a node.
|
1727
|
+
attr_accessor :discovery_enabled
|
1728
|
+
# If a cluster is configured for user impersonation, this is the user to impersonate when
|
1729
|
+
# running discovery.
|
1730
|
+
attr_accessor :discovery_username
|
1709
1731
|
# A filter applied to the routing logic to pin datasource to nodes.
|
1710
1732
|
attr_accessor :egress_filter
|
1711
1733
|
# The endpoint to dial.
|
@@ -1744,6 +1766,8 @@ module SDM
|
|
1744
1766
|
bind_interface: nil,
|
1745
1767
|
certificate_authority: nil,
|
1746
1768
|
cluster_name: nil,
|
1769
|
+
discovery_enabled: nil,
|
1770
|
+
discovery_username: nil,
|
1747
1771
|
egress_filter: nil,
|
1748
1772
|
endpoint: nil,
|
1749
1773
|
healthcheck_namespace: nil,
|
@@ -1765,6 +1789,8 @@ module SDM
|
|
1765
1789
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
1766
1790
|
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
1767
1791
|
@cluster_name = cluster_name == nil ? "" : cluster_name
|
1792
|
+
@discovery_enabled = discovery_enabled == nil ? false : discovery_enabled
|
1793
|
+
@discovery_username = discovery_username == nil ? "" : discovery_username
|
1768
1794
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1769
1795
|
@endpoint = endpoint == nil ? "" : endpoint
|
1770
1796
|
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
@@ -1799,6 +1825,11 @@ module SDM
|
|
1799
1825
|
attr_accessor :certificate_authority
|
1800
1826
|
# The name of the cluster to connect to.
|
1801
1827
|
attr_accessor :cluster_name
|
1828
|
+
# If true, configures discovery of a cluster to be run from a node.
|
1829
|
+
attr_accessor :discovery_enabled
|
1830
|
+
# If a cluster is configured for user impersonation, this is the user to impersonate when
|
1831
|
+
# running discovery.
|
1832
|
+
attr_accessor :discovery_username
|
1802
1833
|
# A filter applied to the routing logic to pin datasource to nodes.
|
1803
1834
|
attr_accessor :egress_filter
|
1804
1835
|
# The endpoint to dial.
|
@@ -1834,6 +1865,8 @@ module SDM
|
|
1834
1865
|
bind_interface: nil,
|
1835
1866
|
certificate_authority: nil,
|
1836
1867
|
cluster_name: nil,
|
1868
|
+
discovery_enabled: nil,
|
1869
|
+
discovery_username: nil,
|
1837
1870
|
egress_filter: nil,
|
1838
1871
|
endpoint: nil,
|
1839
1872
|
healthcheck_namespace: nil,
|
@@ -1853,6 +1886,8 @@ module SDM
|
|
1853
1886
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
1854
1887
|
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
1855
1888
|
@cluster_name = cluster_name == nil ? "" : cluster_name
|
1889
|
+
@discovery_enabled = discovery_enabled == nil ? false : discovery_enabled
|
1890
|
+
@discovery_username = discovery_username == nil ? "" : discovery_username
|
1856
1891
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1857
1892
|
@endpoint = endpoint == nil ? "" : endpoint
|
1858
1893
|
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
@@ -4820,6 +4855,11 @@ module SDM
|
|
4820
4855
|
attr_accessor :bind_interface
|
4821
4856
|
# The CA to authenticate TLS connections with.
|
4822
4857
|
attr_accessor :certificate_authority
|
4858
|
+
# If true, configures discovery of a cluster to be run from a node.
|
4859
|
+
attr_accessor :discovery_enabled
|
4860
|
+
# If a cluster is configured for user impersonation, this is the user to impersonate when
|
4861
|
+
# running discovery.
|
4862
|
+
attr_accessor :discovery_username
|
4823
4863
|
# A filter applied to the routing logic to pin datasource to nodes.
|
4824
4864
|
attr_accessor :egress_filter
|
4825
4865
|
# The endpoint to dial.
|
@@ -4850,6 +4890,8 @@ module SDM
|
|
4850
4890
|
def initialize(
|
4851
4891
|
bind_interface: nil,
|
4852
4892
|
certificate_authority: nil,
|
4893
|
+
discovery_enabled: nil,
|
4894
|
+
discovery_username: nil,
|
4853
4895
|
egress_filter: nil,
|
4854
4896
|
endpoint: nil,
|
4855
4897
|
healthcheck_namespace: nil,
|
@@ -4866,6 +4908,8 @@ module SDM
|
|
4866
4908
|
)
|
4867
4909
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
4868
4910
|
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
4911
|
+
@discovery_enabled = discovery_enabled == nil ? false : discovery_enabled
|
4912
|
+
@discovery_username = discovery_username == nil ? "" : discovery_username
|
4869
4913
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4870
4914
|
@endpoint = endpoint == nil ? "" : endpoint
|
4871
4915
|
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
@@ -5738,6 +5782,11 @@ module SDM
|
|
5738
5782
|
attr_accessor :client_certificate
|
5739
5783
|
# The key to authenticate TLS connections with.
|
5740
5784
|
attr_accessor :client_key
|
5785
|
+
# If true, configures discovery of a cluster to be run from a node.
|
5786
|
+
attr_accessor :discovery_enabled
|
5787
|
+
# If a cluster is configured for user impersonation, this is the user to impersonate when
|
5788
|
+
# running discovery.
|
5789
|
+
attr_accessor :discovery_username
|
5741
5790
|
# A filter applied to the routing logic to pin datasource to nodes.
|
5742
5791
|
attr_accessor :egress_filter
|
5743
5792
|
# The path used to check the health of your connection. Defaults to `default`.
|
@@ -5770,6 +5819,8 @@ module SDM
|
|
5770
5819
|
certificate_authority: nil,
|
5771
5820
|
client_certificate: nil,
|
5772
5821
|
client_key: nil,
|
5822
|
+
discovery_enabled: nil,
|
5823
|
+
discovery_username: nil,
|
5773
5824
|
egress_filter: nil,
|
5774
5825
|
healthcheck_namespace: nil,
|
5775
5826
|
healthy: nil,
|
@@ -5788,6 +5839,8 @@ module SDM
|
|
5788
5839
|
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
5789
5840
|
@client_certificate = client_certificate == nil ? "" : client_certificate
|
5790
5841
|
@client_key = client_key == nil ? "" : client_key
|
5842
|
+
@discovery_enabled = discovery_enabled == nil ? false : discovery_enabled
|
5843
|
+
@discovery_username = discovery_username == nil ? "" : discovery_username
|
5791
5844
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5792
5845
|
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
5793
5846
|
@healthy = healthy == nil ? false : healthy
|
@@ -5886,6 +5939,11 @@ module SDM
|
|
5886
5939
|
class KubernetesServiceAccount
|
5887
5940
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
5888
5941
|
attr_accessor :bind_interface
|
5942
|
+
# If true, configures discovery of a cluster to be run from a node.
|
5943
|
+
attr_accessor :discovery_enabled
|
5944
|
+
# If a cluster is configured for user impersonation, this is the user to impersonate when
|
5945
|
+
# running discovery.
|
5946
|
+
attr_accessor :discovery_username
|
5889
5947
|
# A filter applied to the routing logic to pin datasource to nodes.
|
5890
5948
|
attr_accessor :egress_filter
|
5891
5949
|
# The path used to check the health of your connection. Defaults to `default`.
|
@@ -5917,6 +5975,8 @@ module SDM
|
|
5917
5975
|
|
5918
5976
|
def initialize(
|
5919
5977
|
bind_interface: nil,
|
5978
|
+
discovery_enabled: nil,
|
5979
|
+
discovery_username: nil,
|
5920
5980
|
egress_filter: nil,
|
5921
5981
|
healthcheck_namespace: nil,
|
5922
5982
|
healthy: nil,
|
@@ -5933,6 +5993,8 @@ module SDM
|
|
5933
5993
|
token: nil
|
5934
5994
|
)
|
5935
5995
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
5996
|
+
@discovery_enabled = discovery_enabled == nil ? false : discovery_enabled
|
5997
|
+
@discovery_username = discovery_username == nil ? "" : discovery_username
|
5936
5998
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5937
5999
|
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
5938
6000
|
@healthy = healthy == nil ? false : healthy
|
@@ -7372,23 +7434,27 @@ module SDM
|
|
7372
7434
|
end
|
7373
7435
|
|
7374
7436
|
class Organization
|
7375
|
-
# The Organization's authentication provider.
|
7437
|
+
# The Organization's authentication provider, one of the AuthProvider constants.
|
7376
7438
|
attr_accessor :auth_provider
|
7377
7439
|
# The time at which the Organization was created.
|
7378
7440
|
attr_accessor :created_at
|
7441
|
+
# Indicates if the Organization has device trust enabled.
|
7442
|
+
attr_accessor :device_trust_enabled
|
7443
|
+
# The Organization's device trust provider, one of the DeviceTrustProvider constants.
|
7444
|
+
attr_accessor :device_trust_provider
|
7379
7445
|
# The Organization's idle timeout, if enabled.
|
7380
7446
|
attr_accessor :idle_timeout
|
7381
7447
|
# Indicates if the Organization has idle timeouts enabled.
|
7382
7448
|
attr_accessor :idle_timeout_enabled
|
7383
|
-
# The Organization's type.
|
7449
|
+
# The Organization's type, one of the OrgKind constants.
|
7384
7450
|
attr_accessor :kind
|
7385
|
-
# The Organization's local log encryption encoder.
|
7451
|
+
# The Organization's local log encryption encoder, one of the LogLocalEncoder constants.
|
7386
7452
|
attr_accessor :log_local_encoder
|
7387
|
-
# The Organization's local log format.
|
7453
|
+
# The Organization's local log format, one of the LogLocalFormat constants.
|
7388
7454
|
attr_accessor :log_local_format
|
7389
|
-
# The Organization's local log storage.
|
7455
|
+
# The Organization's local log storage, one of the LogLocalStorage constants.
|
7390
7456
|
attr_accessor :log_local_storage
|
7391
|
-
# The Organization's remote log encryption encoder.
|
7457
|
+
# The Organization's remote log encryption encoder, one of the LogRemoteEncoder constants.
|
7392
7458
|
attr_accessor :log_remote_encoder
|
7393
7459
|
# The Organization's socket path for Socket local log storage.
|
7394
7460
|
attr_accessor :log_socket_path
|
@@ -7396,7 +7462,7 @@ module SDM
|
|
7396
7462
|
attr_accessor :log_tcp_address
|
7397
7463
|
# Indicates if the Organization has multi-factor authentication enabled.
|
7398
7464
|
attr_accessor :mfa_enabled
|
7399
|
-
# The Organization's multi-factor authentication provider,
|
7465
|
+
# The Organization's multi-factor authentication provider, one of the MFAProvider constants.
|
7400
7466
|
attr_accessor :mfa_provider
|
7401
7467
|
# The Organization's name.
|
7402
7468
|
attr_accessor :name
|
@@ -7404,7 +7470,7 @@ module SDM
|
|
7404
7470
|
attr_accessor :require_secret_store
|
7405
7471
|
# The Organization's URL for SAML metadata.
|
7406
7472
|
attr_accessor :saml_metadata_url
|
7407
|
-
# The Organization's SCIM provider.
|
7473
|
+
# The Organization's SCIM provider, one of the SCIMProvider constants.
|
7408
7474
|
attr_accessor :scim_provider
|
7409
7475
|
# The Organization's label for sensitive resources.
|
7410
7476
|
attr_accessor :sensitive_label
|
@@ -7424,6 +7490,8 @@ module SDM
|
|
7424
7490
|
def initialize(
|
7425
7491
|
auth_provider: nil,
|
7426
7492
|
created_at: nil,
|
7493
|
+
device_trust_enabled: nil,
|
7494
|
+
device_trust_provider: nil,
|
7427
7495
|
idle_timeout: nil,
|
7428
7496
|
idle_timeout_enabled: nil,
|
7429
7497
|
kind: nil,
|
@@ -7449,6 +7517,8 @@ module SDM
|
|
7449
7517
|
)
|
7450
7518
|
@auth_provider = auth_provider == nil ? "" : auth_provider
|
7451
7519
|
@created_at = created_at == nil ? nil : created_at
|
7520
|
+
@device_trust_enabled = device_trust_enabled == nil ? false : device_trust_enabled
|
7521
|
+
@device_trust_provider = device_trust_provider == nil ? "" : device_trust_provider
|
7452
7522
|
@idle_timeout = idle_timeout == nil ? nil : idle_timeout
|
7453
7523
|
@idle_timeout_enabled = idle_timeout_enabled == nil ? false : idle_timeout_enabled
|
7454
7524
|
@kind = kind == nil ? "" : kind
|
@@ -8251,7 +8321,7 @@ module SDM
|
|
8251
8321
|
attr_accessor :request_method
|
8252
8322
|
# The HTTP request URI of a Kubernetes operation.
|
8253
8323
|
attr_accessor :request_uri
|
8254
|
-
# The CaptureType of this query capture.
|
8324
|
+
# The CaptureType of this query capture, one of the CaptureType constants.
|
8255
8325
|
attr_accessor :type
|
8256
8326
|
# The width of the terminal or window for SSH, Kubernetes, and RDP interactive sessions.
|
8257
8327
|
attr_accessor :width
|
@@ -8859,9 +8929,7 @@ module SDM
|
|
8859
8929
|
attr_accessor :maintenance_windows
|
8860
8930
|
# Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
8861
8931
|
attr_accessor :name
|
8862
|
-
# The current state of the relay
|
8863
|
-
# "awaiting_restart", "restarting", "started", "stopped", "dead",
|
8864
|
-
# "unknown".
|
8932
|
+
# The current state of the relay, one of the NodeState constants.
|
8865
8933
|
attr_accessor :state
|
8866
8934
|
# Tags is a map of key, value pairs.
|
8867
8935
|
attr_accessor :tags
|
data/lib/strongdm.rb
CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
|
|
29
29
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
30
30
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
31
31
|
API_VERSION = "2024-03-28"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/9.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/9.5.0"
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
34
34
|
|
35
35
|
# Creates a new strongDM API client.
|
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -81,8 +81,8 @@ files:
|
|
81
81
|
- "./.git/logs/HEAD"
|
82
82
|
- "./.git/logs/refs/heads/master"
|
83
83
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
84
|
-
- "./.git/objects/pack/pack-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-6337b631778d9e36dcf8451ebddad9bc12e76af5.idx"
|
85
|
+
- "./.git/objects/pack/pack-6337b631778d9e36dcf8451ebddad9bc12e76af5.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|