strongdm 11.17.0 → 11.18.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-69c1a45cd1d71a0a1a6bf0981aa9e0ac28aad184.idx → pack-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.idx} +0 -0
- data/.git/objects/pack/{pack-69c1a45cd1d71a0a1a6bf0981aa9e0ac28aad184.pack → pack-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +39 -0
- data/lib/grpc/plumbing.rb +138 -0
- data/lib/models/porcelain.rb +156 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +2 -0
- 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: ee2f1c7d7d93ca5907216dc879396fd08aaeb1d6ac15d6de77de4b39d860797f
|
4
|
+
data.tar.gz: 0346b394dee9ef2da5e4e2ee2d897997f218cf8f1f6b1b5670ca2d1d4741c511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b51b03264fc29c7e6a92458f9856e53ad8e3a1c4754916c3f8033fd888555583bcd2d23ae87d887358ae46b895380d0af19b3b874c45ae208bac1b3317234dc
|
7
|
+
data.tar.gz: 5f6285594f2f3808c81cefb4f1a45aa87a2e93be43347a87321db760645d4f08abce25ab0afad5e3d35cf420e04fe1f43e34135fa008f810e05a0d8783d5a66b
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
1e1852727f8fb5404f59461655b2b73fb270d925
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@45ae6aa94a54.(none)> 1731101355 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
1e1852727f8fb5404f59461655b2b73fb270d925 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@45ae6aa94a54.(none)> 1731101355 +0000 checkout: moving from master to master
|
3
|
+
1e1852727f8fb5404f59461655b2b73fb270d925 ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec root <root@45ae6aa94a54.(none)> 1731101355 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@45ae6aa94a54.(none)> 1731101355 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
1e1852727f8fb5404f59461655b2b73fb270d925 ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec root <root@45ae6aa94a54.(none)> 1731101355 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@45ae6aa94a54.(none)> 1731101355 +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
|
+
ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec refs/remotes/origin/development
|
3
|
+
1e1852727f8fb5404f59461655b2b73fb270d925 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
|
@@ -44,6 +44,7 @@ aca824df29f19d5db284f1b94a34f5a3f2d2cbc7 refs/tags/v11.12.0
|
|
44
44
|
30dce70c61509dfd3e9f9b427dcb406e68985697 refs/tags/v11.14.0
|
45
45
|
76f5a2a075048c179bcabe4cad4f3e66e1f10b12 refs/tags/v11.15.0
|
46
46
|
5ea659281f2b7a99a04b52522551bce0625859eb refs/tags/v11.16.0
|
47
|
+
1e1852727f8fb5404f59461655b2b73fb270d925 refs/tags/v11.17.0
|
47
48
|
9103d7d0e3104e99edb3d9a188d231ae0ce3947f refs/tags/v11.3.0
|
48
49
|
8c7312bf4266bdfeff959667faba7f8ef1e58f27 refs/tags/v11.4.0
|
49
50
|
d181d0dc49250f81e47eea64cdd8e6a93f7a95da refs/tags/v11.5.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -64,6 +64,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
64
64
|
optional :elastic, :message, 601, "v1.Elastic"
|
65
65
|
optional :elasticache_redis, :message, 1601, "v1.ElasticacheRedis"
|
66
66
|
optional :gcp, :message, 2700, "v1.GCP"
|
67
|
+
optional :gcp_console, :message, 3300, "v1.GCPConsole"
|
68
|
+
optional :gcpwif, :message, 2701, "v1.GCPWIF"
|
67
69
|
optional :google_gke, :message, 803, "v1.GoogleGKE"
|
68
70
|
optional :google_gke_user_impersonation, :message, 816, "v1.GoogleGKEUserImpersonation"
|
69
71
|
optional :greenplum, :message, 1302, "v1.Greenplum"
|
@@ -838,6 +840,41 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
838
840
|
optional :port_override, :int32, 11
|
839
841
|
optional :scopes, :string, 2
|
840
842
|
end
|
843
|
+
add_message "v1.GCPConsole" do
|
844
|
+
optional :id, :string, 32768
|
845
|
+
optional :name, :string, 32769
|
846
|
+
optional :healthy, :bool, 32770
|
847
|
+
optional :tags, :message, 32771, "v1.Tags"
|
848
|
+
optional :secret_store_id, :string, 32772
|
849
|
+
optional :egress_filter, :string, 32773
|
850
|
+
optional :bind_interface, :string, 32774
|
851
|
+
optional :proxy_cluster_id, :string, 32776
|
852
|
+
optional :identity_alias_healthcheck_username, :string, 5
|
853
|
+
optional :identity_set_id, :string, 4
|
854
|
+
optional :port_override, :int32, 7
|
855
|
+
optional :session_expiry, :int32, 3
|
856
|
+
optional :subdomain, :string, 6
|
857
|
+
optional :workforce_pool_id, :string, 1
|
858
|
+
optional :workforce_provider_id, :string, 2
|
859
|
+
end
|
860
|
+
add_message "v1.GCPWIF" do
|
861
|
+
optional :id, :string, 32768
|
862
|
+
optional :name, :string, 32769
|
863
|
+
optional :healthy, :bool, 32770
|
864
|
+
optional :tags, :message, 32771, "v1.Tags"
|
865
|
+
optional :secret_store_id, :string, 32772
|
866
|
+
optional :egress_filter, :string, 32773
|
867
|
+
optional :bind_interface, :string, 32774
|
868
|
+
optional :proxy_cluster_id, :string, 32776
|
869
|
+
optional :subdomain, :string, 32775
|
870
|
+
optional :identity_alias_healthcheck_username, :string, 5
|
871
|
+
optional :identity_set_id, :string, 4
|
872
|
+
optional :port_override, :int32, 6
|
873
|
+
optional :scopes, :string, 7
|
874
|
+
optional :session_expiry, :int32, 3
|
875
|
+
optional :workforce_pool_id, :string, 1
|
876
|
+
optional :workforce_provider_id, :string, 2
|
877
|
+
end
|
841
878
|
add_message "v1.GoogleGKE" do
|
842
879
|
optional :id, :string, 32768
|
843
880
|
optional :name, :string, 32769
|
@@ -1754,6 +1791,8 @@ module V1
|
|
1754
1791
|
Elastic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Elastic").msgclass
|
1755
1792
|
ElasticacheRedis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ElasticacheRedis").msgclass
|
1756
1793
|
GCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCP").msgclass
|
1794
|
+
GCPConsole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPConsole").msgclass
|
1795
|
+
GCPWIF = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPWIF").msgclass
|
1757
1796
|
GoogleGKE = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleGKE").msgclass
|
1758
1797
|
GoogleGKEUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleGKEUserImpersonation").msgclass
|
1759
1798
|
Greenplum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Greenplum").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -5214,6 +5214,68 @@ module SDM
|
|
5214
5214
|
end
|
5215
5215
|
items
|
5216
5216
|
end
|
5217
|
+
def self.convert_gcp_console_to_porcelain(plumbing)
|
5218
|
+
if plumbing == nil
|
5219
|
+
return nil
|
5220
|
+
end
|
5221
|
+
porcelain = GCPConsole.new()
|
5222
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
5223
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
5224
|
+
porcelain.healthy = (plumbing.healthy)
|
5225
|
+
porcelain.id = (plumbing.id)
|
5226
|
+
porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
|
5227
|
+
porcelain.identity_set_id = (plumbing.identity_set_id)
|
5228
|
+
porcelain.name = (plumbing.name)
|
5229
|
+
porcelain.port_override = (plumbing.port_override)
|
5230
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
5231
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
5232
|
+
porcelain.session_expiry = (plumbing.session_expiry)
|
5233
|
+
porcelain.subdomain = (plumbing.subdomain)
|
5234
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5235
|
+
porcelain.workforce_pool_id = (plumbing.workforce_pool_id)
|
5236
|
+
porcelain.workforce_provider_id = (plumbing.workforce_provider_id)
|
5237
|
+
porcelain
|
5238
|
+
end
|
5239
|
+
|
5240
|
+
def self.convert_gcp_console_to_plumbing(porcelain)
|
5241
|
+
if porcelain == nil
|
5242
|
+
return nil
|
5243
|
+
end
|
5244
|
+
plumbing = V1::GCPConsole.new()
|
5245
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
5246
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
5247
|
+
plumbing.healthy = (porcelain.healthy)
|
5248
|
+
plumbing.id = (porcelain.id)
|
5249
|
+
plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
|
5250
|
+
plumbing.identity_set_id = (porcelain.identity_set_id)
|
5251
|
+
plumbing.name = (porcelain.name)
|
5252
|
+
plumbing.port_override = (porcelain.port_override)
|
5253
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
5254
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
5255
|
+
plumbing.session_expiry = (porcelain.session_expiry)
|
5256
|
+
plumbing.subdomain = (porcelain.subdomain)
|
5257
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
5258
|
+
plumbing.workforce_pool_id = (porcelain.workforce_pool_id)
|
5259
|
+
plumbing.workforce_provider_id = (porcelain.workforce_provider_id)
|
5260
|
+
plumbing
|
5261
|
+
end
|
5262
|
+
def self.convert_repeated_gcp_console_to_plumbing(porcelains)
|
5263
|
+
items = Array.new
|
5264
|
+
porcelains.each do |porcelain|
|
5265
|
+
plumbing = convert_gcp_console_to_plumbing(porcelain)
|
5266
|
+
items.append(plumbing)
|
5267
|
+
end
|
5268
|
+
items
|
5269
|
+
end
|
5270
|
+
|
5271
|
+
def self.convert_repeated_gcp_console_to_porcelain(plumbings)
|
5272
|
+
items = Array.new
|
5273
|
+
plumbings.each do |plumbing|
|
5274
|
+
porcelain = convert_gcp_console_to_porcelain(plumbing)
|
5275
|
+
items.append(porcelain)
|
5276
|
+
end
|
5277
|
+
items
|
5278
|
+
end
|
5217
5279
|
def self.convert_gcp_store_to_porcelain(plumbing)
|
5218
5280
|
if plumbing == nil
|
5219
5281
|
return nil
|
@@ -5254,6 +5316,70 @@ module SDM
|
|
5254
5316
|
end
|
5255
5317
|
items
|
5256
5318
|
end
|
5319
|
+
def self.convert_gcpwif_to_porcelain(plumbing)
|
5320
|
+
if plumbing == nil
|
5321
|
+
return nil
|
5322
|
+
end
|
5323
|
+
porcelain = GCPWIF.new()
|
5324
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
5325
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
5326
|
+
porcelain.healthy = (plumbing.healthy)
|
5327
|
+
porcelain.id = (plumbing.id)
|
5328
|
+
porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
|
5329
|
+
porcelain.identity_set_id = (plumbing.identity_set_id)
|
5330
|
+
porcelain.name = (plumbing.name)
|
5331
|
+
porcelain.port_override = (plumbing.port_override)
|
5332
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
5333
|
+
porcelain.scopes = (plumbing.scopes)
|
5334
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
5335
|
+
porcelain.session_expiry = (plumbing.session_expiry)
|
5336
|
+
porcelain.subdomain = (plumbing.subdomain)
|
5337
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5338
|
+
porcelain.workforce_pool_id = (plumbing.workforce_pool_id)
|
5339
|
+
porcelain.workforce_provider_id = (plumbing.workforce_provider_id)
|
5340
|
+
porcelain
|
5341
|
+
end
|
5342
|
+
|
5343
|
+
def self.convert_gcpwif_to_plumbing(porcelain)
|
5344
|
+
if porcelain == nil
|
5345
|
+
return nil
|
5346
|
+
end
|
5347
|
+
plumbing = V1::GCPWIF.new()
|
5348
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
5349
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
5350
|
+
plumbing.healthy = (porcelain.healthy)
|
5351
|
+
plumbing.id = (porcelain.id)
|
5352
|
+
plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
|
5353
|
+
plumbing.identity_set_id = (porcelain.identity_set_id)
|
5354
|
+
plumbing.name = (porcelain.name)
|
5355
|
+
plumbing.port_override = (porcelain.port_override)
|
5356
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
5357
|
+
plumbing.scopes = (porcelain.scopes)
|
5358
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
5359
|
+
plumbing.session_expiry = (porcelain.session_expiry)
|
5360
|
+
plumbing.subdomain = (porcelain.subdomain)
|
5361
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
5362
|
+
plumbing.workforce_pool_id = (porcelain.workforce_pool_id)
|
5363
|
+
plumbing.workforce_provider_id = (porcelain.workforce_provider_id)
|
5364
|
+
plumbing
|
5365
|
+
end
|
5366
|
+
def self.convert_repeated_gcpwif_to_plumbing(porcelains)
|
5367
|
+
items = Array.new
|
5368
|
+
porcelains.each do |porcelain|
|
5369
|
+
plumbing = convert_gcpwif_to_plumbing(porcelain)
|
5370
|
+
items.append(plumbing)
|
5371
|
+
end
|
5372
|
+
items
|
5373
|
+
end
|
5374
|
+
|
5375
|
+
def self.convert_repeated_gcpwif_to_porcelain(plumbings)
|
5376
|
+
items = Array.new
|
5377
|
+
plumbings.each do |plumbing|
|
5378
|
+
porcelain = convert_gcpwif_to_porcelain(plumbing)
|
5379
|
+
items.append(porcelain)
|
5380
|
+
end
|
5381
|
+
items
|
5382
|
+
end
|
5257
5383
|
def self.convert_gateway_to_porcelain(plumbing)
|
5258
5384
|
if plumbing == nil
|
5259
5385
|
return nil
|
@@ -10490,6 +10616,12 @@ module SDM
|
|
10490
10616
|
if porcelain.instance_of? GCP
|
10491
10617
|
plumbing.gcp = convert_gcp_to_plumbing(porcelain)
|
10492
10618
|
end
|
10619
|
+
if porcelain.instance_of? GCPConsole
|
10620
|
+
plumbing.gcp_console = convert_gcp_console_to_plumbing(porcelain)
|
10621
|
+
end
|
10622
|
+
if porcelain.instance_of? GCPWIF
|
10623
|
+
plumbing.gcpwif = convert_gcpwif_to_plumbing(porcelain)
|
10624
|
+
end
|
10493
10625
|
if porcelain.instance_of? GoogleGKE
|
10494
10626
|
plumbing.google_gke = convert_google_gke_to_plumbing(porcelain)
|
10495
10627
|
end
|
@@ -10761,6 +10893,12 @@ module SDM
|
|
10761
10893
|
if plumbing.gcp != nil
|
10762
10894
|
return convert_gcp_to_porcelain(plumbing.gcp)
|
10763
10895
|
end
|
10896
|
+
if plumbing.gcp_console != nil
|
10897
|
+
return convert_gcp_console_to_porcelain(plumbing.gcp_console)
|
10898
|
+
end
|
10899
|
+
if plumbing.gcpwif != nil
|
10900
|
+
return convert_gcpwif_to_porcelain(plumbing.gcpwif)
|
10901
|
+
end
|
10764
10902
|
if plumbing.google_gke != nil
|
10765
10903
|
return convert_google_gke_to_porcelain(plumbing.google_gke)
|
10766
10904
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -5118,6 +5118,82 @@ module SDM
|
|
5118
5118
|
end
|
5119
5119
|
end
|
5120
5120
|
|
5121
|
+
# GCPConsole is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
5122
|
+
class GCPConsole
|
5123
|
+
# 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.
|
5124
|
+
attr_accessor :bind_interface
|
5125
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5126
|
+
attr_accessor :egress_filter
|
5127
|
+
# True if the datasource is reachable and the credentials are valid.
|
5128
|
+
attr_accessor :healthy
|
5129
|
+
# Unique identifier of the Resource.
|
5130
|
+
attr_accessor :id
|
5131
|
+
# The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
|
5132
|
+
attr_accessor :identity_alias_healthcheck_username
|
5133
|
+
# The ID of the identity set to use for identity connections.
|
5134
|
+
attr_accessor :identity_set_id
|
5135
|
+
# Unique human-readable name of the Resource.
|
5136
|
+
attr_accessor :name
|
5137
|
+
# The local port used by clients to connect to this resource.
|
5138
|
+
attr_accessor :port_override
|
5139
|
+
# ID of the proxy cluster for this resource, if any.
|
5140
|
+
attr_accessor :proxy_cluster_id
|
5141
|
+
# ID of the secret store containing credentials for this resource, if any.
|
5142
|
+
attr_accessor :secret_store_id
|
5143
|
+
# The length of time in seconds console sessions will live before needing to reauthenticate.
|
5144
|
+
attr_accessor :session_expiry
|
5145
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
5146
|
+
attr_accessor :subdomain
|
5147
|
+
# Tags is a map of key, value pairs.
|
5148
|
+
attr_accessor :tags
|
5149
|
+
# The ID of the Workforce Identity Pool in GCP to use for federated authentication.
|
5150
|
+
attr_accessor :workforce_pool_id
|
5151
|
+
# The ID of the Workforce Identity Provider in GCP to use for federated authentication.
|
5152
|
+
attr_accessor :workforce_provider_id
|
5153
|
+
|
5154
|
+
def initialize(
|
5155
|
+
bind_interface: nil,
|
5156
|
+
egress_filter: nil,
|
5157
|
+
healthy: nil,
|
5158
|
+
id: nil,
|
5159
|
+
identity_alias_healthcheck_username: nil,
|
5160
|
+
identity_set_id: nil,
|
5161
|
+
name: nil,
|
5162
|
+
port_override: nil,
|
5163
|
+
proxy_cluster_id: nil,
|
5164
|
+
secret_store_id: nil,
|
5165
|
+
session_expiry: nil,
|
5166
|
+
subdomain: nil,
|
5167
|
+
tags: nil,
|
5168
|
+
workforce_pool_id: nil,
|
5169
|
+
workforce_provider_id: nil
|
5170
|
+
)
|
5171
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
5172
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5173
|
+
@healthy = healthy == nil ? false : healthy
|
5174
|
+
@id = id == nil ? "" : id
|
5175
|
+
@identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
|
5176
|
+
@identity_set_id = identity_set_id == nil ? "" : identity_set_id
|
5177
|
+
@name = name == nil ? "" : name
|
5178
|
+
@port_override = port_override == nil ? 0 : port_override
|
5179
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
5180
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5181
|
+
@session_expiry = session_expiry == nil ? 0 : session_expiry
|
5182
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
5183
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5184
|
+
@workforce_pool_id = workforce_pool_id == nil ? "" : workforce_pool_id
|
5185
|
+
@workforce_provider_id = workforce_provider_id == nil ? "" : workforce_provider_id
|
5186
|
+
end
|
5187
|
+
|
5188
|
+
def to_json(options = {})
|
5189
|
+
hash = {}
|
5190
|
+
self.instance_variables.each do |var|
|
5191
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5192
|
+
end
|
5193
|
+
hash.to_json
|
5194
|
+
end
|
5195
|
+
end
|
5196
|
+
|
5121
5197
|
class GCPStore
|
5122
5198
|
# Unique identifier of the SecretStore.
|
5123
5199
|
attr_accessor :id
|
@@ -5149,6 +5225,86 @@ module SDM
|
|
5149
5225
|
end
|
5150
5226
|
end
|
5151
5227
|
|
5228
|
+
# GCPWIF is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
5229
|
+
class GCPWIF
|
5230
|
+
# 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.
|
5231
|
+
attr_accessor :bind_interface
|
5232
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5233
|
+
attr_accessor :egress_filter
|
5234
|
+
# True if the datasource is reachable and the credentials are valid.
|
5235
|
+
attr_accessor :healthy
|
5236
|
+
# Unique identifier of the Resource.
|
5237
|
+
attr_accessor :id
|
5238
|
+
# The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
|
5239
|
+
attr_accessor :identity_alias_healthcheck_username
|
5240
|
+
# The ID of the identity set to use for identity connections.
|
5241
|
+
attr_accessor :identity_set_id
|
5242
|
+
# Unique human-readable name of the Resource.
|
5243
|
+
attr_accessor :name
|
5244
|
+
# The local port used by clients to connect to this resource.
|
5245
|
+
attr_accessor :port_override
|
5246
|
+
# ID of the proxy cluster for this resource, if any.
|
5247
|
+
attr_accessor :proxy_cluster_id
|
5248
|
+
# Space separated scopes that this login should assume into when authenticating.
|
5249
|
+
attr_accessor :scopes
|
5250
|
+
# ID of the secret store containing credentials for this resource, if any.
|
5251
|
+
attr_accessor :secret_store_id
|
5252
|
+
# The length of time in seconds console sessions will live before needing to reauthenticate.
|
5253
|
+
attr_accessor :session_expiry
|
5254
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
5255
|
+
attr_accessor :subdomain
|
5256
|
+
# Tags is a map of key, value pairs.
|
5257
|
+
attr_accessor :tags
|
5258
|
+
# The ID of the Workforce Identity Pool in GCP to use for federated authentication.
|
5259
|
+
attr_accessor :workforce_pool_id
|
5260
|
+
# The ID of the Workforce Identity Provider in GCP to use for federated authentication.
|
5261
|
+
attr_accessor :workforce_provider_id
|
5262
|
+
|
5263
|
+
def initialize(
|
5264
|
+
bind_interface: nil,
|
5265
|
+
egress_filter: nil,
|
5266
|
+
healthy: nil,
|
5267
|
+
id: nil,
|
5268
|
+
identity_alias_healthcheck_username: nil,
|
5269
|
+
identity_set_id: nil,
|
5270
|
+
name: nil,
|
5271
|
+
port_override: nil,
|
5272
|
+
proxy_cluster_id: nil,
|
5273
|
+
scopes: nil,
|
5274
|
+
secret_store_id: nil,
|
5275
|
+
session_expiry: nil,
|
5276
|
+
subdomain: nil,
|
5277
|
+
tags: nil,
|
5278
|
+
workforce_pool_id: nil,
|
5279
|
+
workforce_provider_id: nil
|
5280
|
+
)
|
5281
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
5282
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5283
|
+
@healthy = healthy == nil ? false : healthy
|
5284
|
+
@id = id == nil ? "" : id
|
5285
|
+
@identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
|
5286
|
+
@identity_set_id = identity_set_id == nil ? "" : identity_set_id
|
5287
|
+
@name = name == nil ? "" : name
|
5288
|
+
@port_override = port_override == nil ? 0 : port_override
|
5289
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
5290
|
+
@scopes = scopes == nil ? "" : scopes
|
5291
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5292
|
+
@session_expiry = session_expiry == nil ? 0 : session_expiry
|
5293
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
5294
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5295
|
+
@workforce_pool_id = workforce_pool_id == nil ? "" : workforce_pool_id
|
5296
|
+
@workforce_provider_id = workforce_provider_id == nil ? "" : workforce_provider_id
|
5297
|
+
end
|
5298
|
+
|
5299
|
+
def to_json(options = {})
|
5300
|
+
hash = {}
|
5301
|
+
self.instance_variables.each do |var|
|
5302
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5303
|
+
end
|
5304
|
+
hash.to_json
|
5305
|
+
end
|
5306
|
+
end
|
5307
|
+
|
5152
5308
|
# Gateway represents a StrongDM CLI installation running in gateway mode.
|
5153
5309
|
class Gateway
|
5154
5310
|
# The hostname/port tuple which the gateway daemon will bind to.
|
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/11.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/11.18.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/svc.rb
CHANGED
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: 11.
|
4
|
+
version: 11.18.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-
|
11
|
+
date: 2024-11-08 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-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.idx"
|
85
|
+
- "./.git/objects/pack/pack-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|