strongdm 11.16.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-e562871e9a481abb4106ccb5bc169fb5bb7000dd.idx → pack-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.idx} +0 -0
- data/.git/objects/pack/{pack-e562871e9a481abb4106ccb5bc169fb5bb7000dd.pack → pack-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +57 -0
- data/lib/grpc/plumbing.rb +204 -0
- data/lib/models/porcelain.rb +227 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +3 -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
|
@@ -43,6 +43,8 @@ aca824df29f19d5db284f1b94a34f5a3f2d2cbc7 refs/tags/v11.12.0
|
|
43
43
|
323de62143b58142c1b49dba2ab9e120aa44926e refs/tags/v11.13.0
|
44
44
|
30dce70c61509dfd3e9f9b427dcb406e68985697 refs/tags/v11.14.0
|
45
45
|
76f5a2a075048c179bcabe4cad4f3e66e1f10b12 refs/tags/v11.15.0
|
46
|
+
5ea659281f2b7a99a04b52522551bce0625859eb refs/tags/v11.16.0
|
47
|
+
1e1852727f8fb5404f59461655b2b73fb270d925 refs/tags/v11.17.0
|
46
48
|
9103d7d0e3104e99edb3d9a188d231ae0ce3947f refs/tags/v11.3.0
|
47
49
|
8c7312bf4266bdfeff959667faba7f8ef1e58f27 refs/tags/v11.4.0
|
48
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
@@ -32,6 +32,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
32
32
|
optional :aws, :message, 2300, "v1.AWS"
|
33
33
|
optional :aws_console, :message, 3000, "v1.AWSConsole"
|
34
34
|
optional :aws_console_static_key_pair, :message, 3001, "v1.AWSConsoleStaticKeyPair"
|
35
|
+
optional :aws_instance_profile, :message, 2301, "v1.AWSInstanceProfile"
|
35
36
|
optional :amazon_eks, :message, 802, "v1.AmazonEKS"
|
36
37
|
optional :amazon_eks_instance_profile, :message, 809, "v1.AmazonEKSInstanceProfile"
|
37
38
|
optional :amazon_eks_instance_profile_user_impersonation, :message, 813, "v1.AmazonEKSInstanceProfileUserImpersonation"
|
@@ -63,6 +64,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
63
64
|
optional :elastic, :message, 601, "v1.Elastic"
|
64
65
|
optional :elasticache_redis, :message, 1601, "v1.ElasticacheRedis"
|
65
66
|
optional :gcp, :message, 2700, "v1.GCP"
|
67
|
+
optional :gcp_console, :message, 3300, "v1.GCPConsole"
|
68
|
+
optional :gcpwif, :message, 2701, "v1.GCPWIF"
|
66
69
|
optional :google_gke, :message, 803, "v1.GoogleGKE"
|
67
70
|
optional :google_gke_user_impersonation, :message, 816, "v1.GoogleGKEUserImpersonation"
|
68
71
|
optional :greenplum, :message, 1302, "v1.Greenplum"
|
@@ -264,6 +267,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
264
267
|
optional :session_expiry, :int32, 6
|
265
268
|
optional :subdomain, :string, 7
|
266
269
|
end
|
270
|
+
add_message "v1.AWSInstanceProfile" do
|
271
|
+
optional :id, :string, 32768
|
272
|
+
optional :name, :string, 32769
|
273
|
+
optional :healthy, :bool, 32770
|
274
|
+
optional :tags, :message, 32771, "v1.Tags"
|
275
|
+
optional :secret_store_id, :string, 32772
|
276
|
+
optional :egress_filter, :string, 32773
|
277
|
+
optional :bind_interface, :string, 32774
|
278
|
+
optional :proxy_cluster_id, :string, 32776
|
279
|
+
optional :subdomain, :string, 32775
|
280
|
+
optional :enable_env_variables, :bool, 1
|
281
|
+
optional :port_override, :int32, 8
|
282
|
+
optional :region, :string, 2
|
283
|
+
optional :role_arn, :string, 3
|
284
|
+
optional :role_external_id, :string, 4
|
285
|
+
end
|
267
286
|
add_message "v1.AmazonEKS" do
|
268
287
|
optional :id, :string, 32768
|
269
288
|
optional :name, :string, 32769
|
@@ -821,6 +840,41 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
821
840
|
optional :port_override, :int32, 11
|
822
841
|
optional :scopes, :string, 2
|
823
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
|
824
878
|
add_message "v1.GoogleGKE" do
|
825
879
|
optional :id, :string, 32768
|
826
880
|
optional :name, :string, 32769
|
@@ -1705,6 +1759,7 @@ module V1
|
|
1705
1759
|
AWS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWS").msgclass
|
1706
1760
|
AWSConsole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsole").msgclass
|
1707
1761
|
AWSConsoleStaticKeyPair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsoleStaticKeyPair").msgclass
|
1762
|
+
AWSInstanceProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSInstanceProfile").msgclass
|
1708
1763
|
AmazonEKS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKS").msgclass
|
1709
1764
|
AmazonEKSInstanceProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSInstanceProfile").msgclass
|
1710
1765
|
AmazonEKSInstanceProfileUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSInstanceProfileUserImpersonation").msgclass
|
@@ -1736,6 +1791,8 @@ module V1
|
|
1736
1791
|
Elastic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Elastic").msgclass
|
1737
1792
|
ElasticacheRedis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ElasticacheRedis").msgclass
|
1738
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
|
1739
1796
|
GoogleGKE = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleGKE").msgclass
|
1740
1797
|
GoogleGKEUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleGKEUserImpersonation").msgclass
|
1741
1798
|
Greenplum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Greenplum").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -747,6 +747,66 @@ module SDM
|
|
747
747
|
end
|
748
748
|
items
|
749
749
|
end
|
750
|
+
def self.convert_aws_instance_profile_to_porcelain(plumbing)
|
751
|
+
if plumbing == nil
|
752
|
+
return nil
|
753
|
+
end
|
754
|
+
porcelain = AWSInstanceProfile.new()
|
755
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
756
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
757
|
+
porcelain.enable_env_variables = (plumbing.enable_env_variables)
|
758
|
+
porcelain.healthy = (plumbing.healthy)
|
759
|
+
porcelain.id = (plumbing.id)
|
760
|
+
porcelain.name = (plumbing.name)
|
761
|
+
porcelain.port_override = (plumbing.port_override)
|
762
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
763
|
+
porcelain.region = (plumbing.region)
|
764
|
+
porcelain.role_arn = (plumbing.role_arn)
|
765
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
766
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
767
|
+
porcelain.subdomain = (plumbing.subdomain)
|
768
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
769
|
+
porcelain
|
770
|
+
end
|
771
|
+
|
772
|
+
def self.convert_aws_instance_profile_to_plumbing(porcelain)
|
773
|
+
if porcelain == nil
|
774
|
+
return nil
|
775
|
+
end
|
776
|
+
plumbing = V1::AWSInstanceProfile.new()
|
777
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
778
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
779
|
+
plumbing.enable_env_variables = (porcelain.enable_env_variables)
|
780
|
+
plumbing.healthy = (porcelain.healthy)
|
781
|
+
plumbing.id = (porcelain.id)
|
782
|
+
plumbing.name = (porcelain.name)
|
783
|
+
plumbing.port_override = (porcelain.port_override)
|
784
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
785
|
+
plumbing.region = (porcelain.region)
|
786
|
+
plumbing.role_arn = (porcelain.role_arn)
|
787
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
788
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
789
|
+
plumbing.subdomain = (porcelain.subdomain)
|
790
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
791
|
+
plumbing
|
792
|
+
end
|
793
|
+
def self.convert_repeated_aws_instance_profile_to_plumbing(porcelains)
|
794
|
+
items = Array.new
|
795
|
+
porcelains.each do |porcelain|
|
796
|
+
plumbing = convert_aws_instance_profile_to_plumbing(porcelain)
|
797
|
+
items.append(plumbing)
|
798
|
+
end
|
799
|
+
items
|
800
|
+
end
|
801
|
+
|
802
|
+
def self.convert_repeated_aws_instance_profile_to_porcelain(plumbings)
|
803
|
+
items = Array.new
|
804
|
+
plumbings.each do |plumbing|
|
805
|
+
porcelain = convert_aws_instance_profile_to_porcelain(plumbing)
|
806
|
+
items.append(porcelain)
|
807
|
+
end
|
808
|
+
items
|
809
|
+
end
|
750
810
|
def self.convert_aws_store_to_porcelain(plumbing)
|
751
811
|
if plumbing == nil
|
752
812
|
return nil
|
@@ -5154,6 +5214,68 @@ module SDM
|
|
5154
5214
|
end
|
5155
5215
|
items
|
5156
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
|
5157
5279
|
def self.convert_gcp_store_to_porcelain(plumbing)
|
5158
5280
|
if plumbing == nil
|
5159
5281
|
return nil
|
@@ -5194,6 +5316,70 @@ module SDM
|
|
5194
5316
|
end
|
5195
5317
|
items
|
5196
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
|
5197
5383
|
def self.convert_gateway_to_porcelain(plumbing)
|
5198
5384
|
if plumbing == nil
|
5199
5385
|
return nil
|
@@ -10364,6 +10550,9 @@ module SDM
|
|
10364
10550
|
if porcelain.instance_of? AWSConsoleStaticKeyPair
|
10365
10551
|
plumbing.aws_console_static_key_pair = convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
10366
10552
|
end
|
10553
|
+
if porcelain.instance_of? AWSInstanceProfile
|
10554
|
+
plumbing.aws_instance_profile = convert_aws_instance_profile_to_plumbing(porcelain)
|
10555
|
+
end
|
10367
10556
|
if porcelain.instance_of? Azure
|
10368
10557
|
plumbing.azure = convert_azure_to_plumbing(porcelain)
|
10369
10558
|
end
|
@@ -10427,6 +10616,12 @@ module SDM
|
|
10427
10616
|
if porcelain.instance_of? GCP
|
10428
10617
|
plumbing.gcp = convert_gcp_to_plumbing(porcelain)
|
10429
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
|
10430
10625
|
if porcelain.instance_of? GoogleGKE
|
10431
10626
|
plumbing.google_gke = convert_google_gke_to_plumbing(porcelain)
|
10432
10627
|
end
|
@@ -10632,6 +10827,9 @@ module SDM
|
|
10632
10827
|
if plumbing.aws_console_static_key_pair != nil
|
10633
10828
|
return convert_aws_console_static_key_pair_to_porcelain(plumbing.aws_console_static_key_pair)
|
10634
10829
|
end
|
10830
|
+
if plumbing.aws_instance_profile != nil
|
10831
|
+
return convert_aws_instance_profile_to_porcelain(plumbing.aws_instance_profile)
|
10832
|
+
end
|
10635
10833
|
if plumbing.azure != nil
|
10636
10834
|
return convert_azure_to_porcelain(plumbing.azure)
|
10637
10835
|
end
|
@@ -10695,6 +10893,12 @@ module SDM
|
|
10695
10893
|
if plumbing.gcp != nil
|
10696
10894
|
return convert_gcp_to_porcelain(plumbing.gcp)
|
10697
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
|
10698
10902
|
if plumbing.google_gke != nil
|
10699
10903
|
return convert_google_gke_to_porcelain(plumbing.google_gke)
|
10700
10904
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -728,6 +728,77 @@ module SDM
|
|
728
728
|
end
|
729
729
|
end
|
730
730
|
|
731
|
+
class AWSInstanceProfile
|
732
|
+
# 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.
|
733
|
+
attr_accessor :bind_interface
|
734
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
735
|
+
attr_accessor :egress_filter
|
736
|
+
# If true, prefer environment variables to authenticate connection even if EC2 roles are configured.
|
737
|
+
attr_accessor :enable_env_variables
|
738
|
+
# True if the datasource is reachable and the credentials are valid.
|
739
|
+
attr_accessor :healthy
|
740
|
+
# Unique identifier of the Resource.
|
741
|
+
attr_accessor :id
|
742
|
+
# Unique human-readable name of the Resource.
|
743
|
+
attr_accessor :name
|
744
|
+
# The local port used by clients to connect to this resource.
|
745
|
+
attr_accessor :port_override
|
746
|
+
# ID of the proxy cluster for this resource, if any.
|
747
|
+
attr_accessor :proxy_cluster_id
|
748
|
+
# The AWS region to connect to.
|
749
|
+
attr_accessor :region
|
750
|
+
# The role to assume after logging in.
|
751
|
+
attr_accessor :role_arn
|
752
|
+
# The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
|
753
|
+
attr_accessor :role_external_id
|
754
|
+
# ID of the secret store containing credentials for this resource, if any.
|
755
|
+
attr_accessor :secret_store_id
|
756
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
757
|
+
attr_accessor :subdomain
|
758
|
+
# Tags is a map of key, value pairs.
|
759
|
+
attr_accessor :tags
|
760
|
+
|
761
|
+
def initialize(
|
762
|
+
bind_interface: nil,
|
763
|
+
egress_filter: nil,
|
764
|
+
enable_env_variables: nil,
|
765
|
+
healthy: nil,
|
766
|
+
id: nil,
|
767
|
+
name: nil,
|
768
|
+
port_override: nil,
|
769
|
+
proxy_cluster_id: nil,
|
770
|
+
region: nil,
|
771
|
+
role_arn: nil,
|
772
|
+
role_external_id: nil,
|
773
|
+
secret_store_id: nil,
|
774
|
+
subdomain: nil,
|
775
|
+
tags: nil
|
776
|
+
)
|
777
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
778
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
779
|
+
@enable_env_variables = enable_env_variables == nil ? false : enable_env_variables
|
780
|
+
@healthy = healthy == nil ? false : healthy
|
781
|
+
@id = id == nil ? "" : id
|
782
|
+
@name = name == nil ? "" : name
|
783
|
+
@port_override = port_override == nil ? 0 : port_override
|
784
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
785
|
+
@region = region == nil ? "" : region
|
786
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
787
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
788
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
789
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
790
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
791
|
+
end
|
792
|
+
|
793
|
+
def to_json(options = {})
|
794
|
+
hash = {}
|
795
|
+
self.instance_variables.each do |var|
|
796
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
797
|
+
end
|
798
|
+
hash.to_json
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
731
802
|
class AWSStore
|
732
803
|
# Unique identifier of the SecretStore.
|
733
804
|
attr_accessor :id
|
@@ -5047,6 +5118,82 @@ module SDM
|
|
5047
5118
|
end
|
5048
5119
|
end
|
5049
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
|
+
|
5050
5197
|
class GCPStore
|
5051
5198
|
# Unique identifier of the SecretStore.
|
5052
5199
|
attr_accessor :id
|
@@ -5078,6 +5225,86 @@ module SDM
|
|
5078
5225
|
end
|
5079
5226
|
end
|
5080
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
|
+
|
5081
5308
|
# Gateway represents a StrongDM CLI installation running in gateway mode.
|
5082
5309
|
class Gateway
|
5083
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
@@ -4650,6 +4650,7 @@ module SDM #:nodoc:
|
|
4650
4650
|
# {AWS}
|
4651
4651
|
# {AWSConsole}
|
4652
4652
|
# {AWSConsoleStaticKeyPair}
|
4653
|
+
# {AWSInstanceProfile}
|
4653
4654
|
# {Azure}
|
4654
4655
|
# {AzureCertificate}
|
4655
4656
|
# {AzureMysql}
|
@@ -4671,6 +4672,8 @@ module SDM #:nodoc:
|
|
4671
4672
|
# {Elastic}
|
4672
4673
|
# {ElasticacheRedis}
|
4673
4674
|
# {GCP}
|
4675
|
+
# {GCPConsole}
|
4676
|
+
# {GCPWIF}
|
4674
4677
|
# {GoogleGKE}
|
4675
4678
|
# {GoogleGKEUserImpersonation}
|
4676
4679
|
# {Greenplum}
|
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"
|