strongdm 13.1.0 → 13.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-e0bf0cbde213191e62cc873fbace772f521a5558.idx → pack-37835b9ae84d740c5abd402760c05a571f85842a.idx} +0 -0
- data/.git/objects/pack/{pack-e0bf0cbde213191e62cc873fbace772f521a5558.pack → pack-37835b9ae84d740c5abd402760c05a571f85842a.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +59 -0
- data/lib/grpc/plumbing.rb +208 -0
- data/lib/models/porcelain.rb +236 -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: 1d2527c7aead1aec9811c6cc8e5f61ad0341c5d40cb02b9c628ee41e74ba504b
|
4
|
+
data.tar.gz: 5fa15ac9c18ba8bc5c0a116fc90feb556aaed310c831c85e69dd7d3349e20ece
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52ce0ad803ccfaa6428da28a0a632328d7abe2562df8ec50a461d83613e40c1ad280e7b09eb37db647806be058685c53def1236efd12ff9be3cc8f3e23944ce9
|
7
|
+
data.tar.gz: 302a611e8b35ae47148f02b34c8ef337c020713f70a5b1bfbf8d917067f565a1486442ff023eb38f007f7a409ae7f83e595d72e47a2d5f2bb8b9a42ad0d2a75f
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
4116587f7cfd88cd8e90c8f13af5f1a13c851530
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 4116587f7cfd88cd8e90c8f13af5f1a13c851530 root <root@3db6a1db9b5b.(none)> 1741607397 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
4116587f7cfd88cd8e90c8f13af5f1a13c851530 4116587f7cfd88cd8e90c8f13af5f1a13c851530 root <root@3db6a1db9b5b.(none)> 1741607397 +0000 checkout: moving from master to master
|
3
|
+
4116587f7cfd88cd8e90c8f13af5f1a13c851530 521b91f1f817e0ee896af3b7ccf29d29491c1b92 root <root@3db6a1db9b5b.(none)> 1741607397 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 4116587f7cfd88cd8e90c8f13af5f1a13c851530 root <root@3db6a1db9b5b.(none)> 1741607397 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
4116587f7cfd88cd8e90c8f13af5f1a13c851530 521b91f1f817e0ee896af3b7ccf29d29491c1b92 root <root@3db6a1db9b5b.(none)> 1741607397 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 4116587f7cfd88cd8e90c8f13af5f1a13c851530 root <root@3db6a1db9b5b.(none)> 1741607397 +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
|
+
521b91f1f817e0ee896af3b7ccf29d29491c1b92 refs/remotes/origin/development
|
3
|
+
4116587f7cfd88cd8e90c8f13af5f1a13c851530 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
|
@@ -69,6 +69,8 @@ b68a30b7513dbbdada47704bd34510560b4ee8ca refs/tags/v12.8.0
|
|
69
69
|
8fd657047e6c4668fb718fa296a6901e0b2d9188 refs/tags/v12.9.0
|
70
70
|
76b1957fe731ca91ce70123ec943bde26ea9e0ec refs/tags/v12.9.1
|
71
71
|
7b3f19015f0280427b602d2b8c5371dddacd8299 refs/tags/v13.0.0
|
72
|
+
d2332b223f397155e757daed36263d569cc623e9 refs/tags/v13.1.0
|
73
|
+
4116587f7cfd88cd8e90c8f13af5f1a13c851530 refs/tags/v13.2.0
|
72
74
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
73
75
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
74
76
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
521b91f1f817e0ee896af3b7ccf29d29491c1b92
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -82,6 +82,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
82
82
|
optional :http_no_auth, :message, 701, "v1.HTTPNoAuth"
|
83
83
|
optional :kubernetes, :message, 800, "v1.Kubernetes"
|
84
84
|
optional :kubernetes_basic_auth, :message, 801, "v1.KubernetesBasicAuth"
|
85
|
+
optional :kubernetes_pod_identity, :message, 819, "v1.KubernetesPodIdentity"
|
85
86
|
optional :kubernetes_service_account, :message, 804, "v1.KubernetesServiceAccount"
|
86
87
|
optional :kubernetes_service_account_user_impersonation, :message, 808, "v1.KubernetesServiceAccountUserImpersonation"
|
87
88
|
optional :kubernetes_user_impersonation, :message, 812, "v1.KubernetesUserImpersonation"
|
@@ -108,6 +109,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
108
109
|
optional :raw_tcp, :message, 2600, "v1.RawTCP"
|
109
110
|
optional :redis, :message, 1600, "v1.Redis"
|
110
111
|
optional :redshift, :message, 1304, "v1.Redshift"
|
112
|
+
optional :redshift_iam, :message, 1312, "v1.RedshiftIAM"
|
113
|
+
optional :redshift_serverless_iam, :message, 1311, "v1.RedshiftServerlessIAM"
|
111
114
|
optional :sql_server, :message, 1800, "v1.SQLServer"
|
112
115
|
optional :sql_server_azure_ad, :message, 1805, "v1.SQLServerAzureAD"
|
113
116
|
optional :sql_server_kerberos_ad, :message, 1810, "v1.SQLServerKerberosAD"
|
@@ -1163,6 +1166,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1163
1166
|
optional :port_override, :int32, 6
|
1164
1167
|
optional :username, :string, 3
|
1165
1168
|
end
|
1169
|
+
add_message "v1.KubernetesPodIdentity" do
|
1170
|
+
optional :id, :string, 32768
|
1171
|
+
optional :name, :string, 32769
|
1172
|
+
optional :healthy, :bool, 32770
|
1173
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1174
|
+
optional :secret_store_id, :string, 32772
|
1175
|
+
optional :egress_filter, :string, 32773
|
1176
|
+
optional :bind_interface, :string, 32774
|
1177
|
+
optional :proxy_cluster_id, :string, 32776
|
1178
|
+
optional :subdomain, :string, 32775
|
1179
|
+
optional :allow_resource_role_bypass, :bool, 15
|
1180
|
+
optional :certificate_authority, :string, 4
|
1181
|
+
optional :healthcheck_namespace, :string, 6
|
1182
|
+
optional :port_override, :int32, 9
|
1183
|
+
end
|
1166
1184
|
add_message "v1.KubernetesServiceAccount" do
|
1167
1185
|
optional :id, :string, 32768
|
1168
1186
|
optional :name, :string, 32769
|
@@ -1635,6 +1653,44 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1635
1653
|
optional :port_override, :int32, 5
|
1636
1654
|
optional :username, :string, 2
|
1637
1655
|
end
|
1656
|
+
add_message "v1.RedshiftIAM" do
|
1657
|
+
optional :id, :string, 32768
|
1658
|
+
optional :name, :string, 32769
|
1659
|
+
optional :healthy, :bool, 32770
|
1660
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1661
|
+
optional :secret_store_id, :string, 32772
|
1662
|
+
optional :egress_filter, :string, 32773
|
1663
|
+
optional :bind_interface, :string, 32774
|
1664
|
+
optional :proxy_cluster_id, :string, 32776
|
1665
|
+
optional :subdomain, :string, 32775
|
1666
|
+
optional :cluster_id, :string, 3
|
1667
|
+
optional :database, :string, 4
|
1668
|
+
optional :hostname, :string, 1
|
1669
|
+
optional :override_database, :bool, 7
|
1670
|
+
optional :port, :int32, 6
|
1671
|
+
optional :port_override, :int32, 5
|
1672
|
+
optional :region, :string, 2
|
1673
|
+
optional :role_assumption_arn, :string, 11
|
1674
|
+
end
|
1675
|
+
add_message "v1.RedshiftServerlessIAM" do
|
1676
|
+
optional :id, :string, 32768
|
1677
|
+
optional :name, :string, 32769
|
1678
|
+
optional :healthy, :bool, 32770
|
1679
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1680
|
+
optional :secret_store_id, :string, 32772
|
1681
|
+
optional :egress_filter, :string, 32773
|
1682
|
+
optional :bind_interface, :string, 32774
|
1683
|
+
optional :proxy_cluster_id, :string, 32776
|
1684
|
+
optional :subdomain, :string, 32775
|
1685
|
+
optional :database, :string, 4
|
1686
|
+
optional :hostname, :string, 1
|
1687
|
+
optional :override_database, :bool, 7
|
1688
|
+
optional :port, :int32, 6
|
1689
|
+
optional :port_override, :int32, 5
|
1690
|
+
optional :region, :string, 2
|
1691
|
+
optional :role_assumption_arn, :string, 11
|
1692
|
+
optional :workgroup, :string, 3
|
1693
|
+
end
|
1638
1694
|
add_message "v1.SQLServer" do
|
1639
1695
|
optional :id, :string, 32768
|
1640
1696
|
optional :name, :string, 32769
|
@@ -1952,6 +2008,7 @@ module V1
|
|
1952
2008
|
HTTPNoAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.HTTPNoAuth").msgclass
|
1953
2009
|
Kubernetes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Kubernetes").msgclass
|
1954
2010
|
KubernetesBasicAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesBasicAuth").msgclass
|
2011
|
+
KubernetesPodIdentity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesPodIdentity").msgclass
|
1955
2012
|
KubernetesServiceAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccount").msgclass
|
1956
2013
|
KubernetesServiceAccountUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccountUserImpersonation").msgclass
|
1957
2014
|
KubernetesUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesUserImpersonation").msgclass
|
@@ -1978,6 +2035,8 @@ module V1
|
|
1978
2035
|
RawTCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RawTCP").msgclass
|
1979
2036
|
Redis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redis").msgclass
|
1980
2037
|
Redshift = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redshift").msgclass
|
2038
|
+
RedshiftIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RedshiftIAM").msgclass
|
2039
|
+
RedshiftServerlessIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RedshiftServerlessIAM").msgclass
|
1981
2040
|
SQLServer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServer").msgclass
|
1982
2041
|
SQLServerAzureAD = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServerAzureAD").msgclass
|
1983
2042
|
SQLServerKerberosAD = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServerKerberosAD").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -7179,6 +7179,64 @@ module SDM
|
|
7179
7179
|
end
|
7180
7180
|
items
|
7181
7181
|
end
|
7182
|
+
def self.convert_kubernetes_pod_identity_to_porcelain(plumbing)
|
7183
|
+
if plumbing == nil
|
7184
|
+
return nil
|
7185
|
+
end
|
7186
|
+
porcelain = KubernetesPodIdentity.new()
|
7187
|
+
porcelain.allow_resource_role_bypass = (plumbing.allow_resource_role_bypass)
|
7188
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
7189
|
+
porcelain.certificate_authority = (plumbing.certificate_authority)
|
7190
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
7191
|
+
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
7192
|
+
porcelain.healthy = (plumbing.healthy)
|
7193
|
+
porcelain.id = (plumbing.id)
|
7194
|
+
porcelain.name = (plumbing.name)
|
7195
|
+
porcelain.port_override = (plumbing.port_override)
|
7196
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
7197
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
7198
|
+
porcelain.subdomain = (plumbing.subdomain)
|
7199
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
7200
|
+
porcelain
|
7201
|
+
end
|
7202
|
+
|
7203
|
+
def self.convert_kubernetes_pod_identity_to_plumbing(porcelain)
|
7204
|
+
if porcelain == nil
|
7205
|
+
return nil
|
7206
|
+
end
|
7207
|
+
plumbing = V1::KubernetesPodIdentity.new()
|
7208
|
+
plumbing.allow_resource_role_bypass = (porcelain.allow_resource_role_bypass)
|
7209
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
7210
|
+
plumbing.certificate_authority = (porcelain.certificate_authority)
|
7211
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
7212
|
+
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
|
7213
|
+
plumbing.healthy = (porcelain.healthy)
|
7214
|
+
plumbing.id = (porcelain.id)
|
7215
|
+
plumbing.name = (porcelain.name)
|
7216
|
+
plumbing.port_override = (porcelain.port_override)
|
7217
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
7218
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
7219
|
+
plumbing.subdomain = (porcelain.subdomain)
|
7220
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
7221
|
+
plumbing
|
7222
|
+
end
|
7223
|
+
def self.convert_repeated_kubernetes_pod_identity_to_plumbing(porcelains)
|
7224
|
+
items = Array.new
|
7225
|
+
porcelains.each do |porcelain|
|
7226
|
+
plumbing = convert_kubernetes_pod_identity_to_plumbing(porcelain)
|
7227
|
+
items.append(plumbing)
|
7228
|
+
end
|
7229
|
+
items
|
7230
|
+
end
|
7231
|
+
|
7232
|
+
def self.convert_repeated_kubernetes_pod_identity_to_porcelain(plumbings)
|
7233
|
+
items = Array.new
|
7234
|
+
plumbings.each do |plumbing|
|
7235
|
+
porcelain = convert_kubernetes_pod_identity_to_porcelain(plumbing)
|
7236
|
+
items.append(porcelain)
|
7237
|
+
end
|
7238
|
+
items
|
7239
|
+
end
|
7182
7240
|
def self.convert_kubernetes_service_account_to_porcelain(plumbing)
|
7183
7241
|
if plumbing == nil
|
7184
7242
|
return nil
|
@@ -10498,6 +10556,138 @@ module SDM
|
|
10498
10556
|
end
|
10499
10557
|
items
|
10500
10558
|
end
|
10559
|
+
def self.convert_redshift_iam_to_porcelain(plumbing)
|
10560
|
+
if plumbing == nil
|
10561
|
+
return nil
|
10562
|
+
end
|
10563
|
+
porcelain = RedshiftIAM.new()
|
10564
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
10565
|
+
porcelain.cluster_id = (plumbing.cluster_id)
|
10566
|
+
porcelain.database = (plumbing.database)
|
10567
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
10568
|
+
porcelain.healthy = (plumbing.healthy)
|
10569
|
+
porcelain.hostname = (plumbing.hostname)
|
10570
|
+
porcelain.id = (plumbing.id)
|
10571
|
+
porcelain.name = (plumbing.name)
|
10572
|
+
porcelain.override_database = (plumbing.override_database)
|
10573
|
+
porcelain.port = (plumbing.port)
|
10574
|
+
porcelain.port_override = (plumbing.port_override)
|
10575
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
10576
|
+
porcelain.region = (plumbing.region)
|
10577
|
+
porcelain.role_assumption_arn = (plumbing.role_assumption_arn)
|
10578
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
10579
|
+
porcelain.subdomain = (plumbing.subdomain)
|
10580
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
10581
|
+
porcelain
|
10582
|
+
end
|
10583
|
+
|
10584
|
+
def self.convert_redshift_iam_to_plumbing(porcelain)
|
10585
|
+
if porcelain == nil
|
10586
|
+
return nil
|
10587
|
+
end
|
10588
|
+
plumbing = V1::RedshiftIAM.new()
|
10589
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
10590
|
+
plumbing.cluster_id = (porcelain.cluster_id)
|
10591
|
+
plumbing.database = (porcelain.database)
|
10592
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
10593
|
+
plumbing.healthy = (porcelain.healthy)
|
10594
|
+
plumbing.hostname = (porcelain.hostname)
|
10595
|
+
plumbing.id = (porcelain.id)
|
10596
|
+
plumbing.name = (porcelain.name)
|
10597
|
+
plumbing.override_database = (porcelain.override_database)
|
10598
|
+
plumbing.port = (porcelain.port)
|
10599
|
+
plumbing.port_override = (porcelain.port_override)
|
10600
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
10601
|
+
plumbing.region = (porcelain.region)
|
10602
|
+
plumbing.role_assumption_arn = (porcelain.role_assumption_arn)
|
10603
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
10604
|
+
plumbing.subdomain = (porcelain.subdomain)
|
10605
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
10606
|
+
plumbing
|
10607
|
+
end
|
10608
|
+
def self.convert_repeated_redshift_iam_to_plumbing(porcelains)
|
10609
|
+
items = Array.new
|
10610
|
+
porcelains.each do |porcelain|
|
10611
|
+
plumbing = convert_redshift_iam_to_plumbing(porcelain)
|
10612
|
+
items.append(plumbing)
|
10613
|
+
end
|
10614
|
+
items
|
10615
|
+
end
|
10616
|
+
|
10617
|
+
def self.convert_repeated_redshift_iam_to_porcelain(plumbings)
|
10618
|
+
items = Array.new
|
10619
|
+
plumbings.each do |plumbing|
|
10620
|
+
porcelain = convert_redshift_iam_to_porcelain(plumbing)
|
10621
|
+
items.append(porcelain)
|
10622
|
+
end
|
10623
|
+
items
|
10624
|
+
end
|
10625
|
+
def self.convert_redshift_serverless_iam_to_porcelain(plumbing)
|
10626
|
+
if plumbing == nil
|
10627
|
+
return nil
|
10628
|
+
end
|
10629
|
+
porcelain = RedshiftServerlessIAM.new()
|
10630
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
10631
|
+
porcelain.database = (plumbing.database)
|
10632
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
10633
|
+
porcelain.healthy = (plumbing.healthy)
|
10634
|
+
porcelain.hostname = (plumbing.hostname)
|
10635
|
+
porcelain.id = (plumbing.id)
|
10636
|
+
porcelain.name = (plumbing.name)
|
10637
|
+
porcelain.override_database = (plumbing.override_database)
|
10638
|
+
porcelain.port = (plumbing.port)
|
10639
|
+
porcelain.port_override = (plumbing.port_override)
|
10640
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
10641
|
+
porcelain.region = (plumbing.region)
|
10642
|
+
porcelain.role_assumption_arn = (plumbing.role_assumption_arn)
|
10643
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
10644
|
+
porcelain.subdomain = (plumbing.subdomain)
|
10645
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
10646
|
+
porcelain.workgroup = (plumbing.workgroup)
|
10647
|
+
porcelain
|
10648
|
+
end
|
10649
|
+
|
10650
|
+
def self.convert_redshift_serverless_iam_to_plumbing(porcelain)
|
10651
|
+
if porcelain == nil
|
10652
|
+
return nil
|
10653
|
+
end
|
10654
|
+
plumbing = V1::RedshiftServerlessIAM.new()
|
10655
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
10656
|
+
plumbing.database = (porcelain.database)
|
10657
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
10658
|
+
plumbing.healthy = (porcelain.healthy)
|
10659
|
+
plumbing.hostname = (porcelain.hostname)
|
10660
|
+
plumbing.id = (porcelain.id)
|
10661
|
+
plumbing.name = (porcelain.name)
|
10662
|
+
plumbing.override_database = (porcelain.override_database)
|
10663
|
+
plumbing.port = (porcelain.port)
|
10664
|
+
plumbing.port_override = (porcelain.port_override)
|
10665
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
10666
|
+
plumbing.region = (porcelain.region)
|
10667
|
+
plumbing.role_assumption_arn = (porcelain.role_assumption_arn)
|
10668
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
10669
|
+
plumbing.subdomain = (porcelain.subdomain)
|
10670
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
10671
|
+
plumbing.workgroup = (porcelain.workgroup)
|
10672
|
+
plumbing
|
10673
|
+
end
|
10674
|
+
def self.convert_repeated_redshift_serverless_iam_to_plumbing(porcelains)
|
10675
|
+
items = Array.new
|
10676
|
+
porcelains.each do |porcelain|
|
10677
|
+
plumbing = convert_redshift_serverless_iam_to_plumbing(porcelain)
|
10678
|
+
items.append(plumbing)
|
10679
|
+
end
|
10680
|
+
items
|
10681
|
+
end
|
10682
|
+
|
10683
|
+
def self.convert_repeated_redshift_serverless_iam_to_porcelain(plumbings)
|
10684
|
+
items = Array.new
|
10685
|
+
plumbings.each do |plumbing|
|
10686
|
+
porcelain = convert_redshift_serverless_iam_to_porcelain(plumbing)
|
10687
|
+
items.append(porcelain)
|
10688
|
+
end
|
10689
|
+
items
|
10690
|
+
end
|
10501
10691
|
def self.convert_relay_to_porcelain(plumbing)
|
10502
10692
|
if plumbing == nil
|
10503
10693
|
return nil
|
@@ -11191,6 +11381,9 @@ module SDM
|
|
11191
11381
|
if porcelain.instance_of? KubernetesBasicAuth
|
11192
11382
|
plumbing.kubernetes_basic_auth = convert_kubernetes_basic_auth_to_plumbing(porcelain)
|
11193
11383
|
end
|
11384
|
+
if porcelain.instance_of? KubernetesPodIdentity
|
11385
|
+
plumbing.kubernetes_pod_identity = convert_kubernetes_pod_identity_to_plumbing(porcelain)
|
11386
|
+
end
|
11194
11387
|
if porcelain.instance_of? KubernetesServiceAccount
|
11195
11388
|
plumbing.kubernetes_service_account = convert_kubernetes_service_account_to_plumbing(porcelain)
|
11196
11389
|
end
|
@@ -11269,6 +11462,12 @@ module SDM
|
|
11269
11462
|
if porcelain.instance_of? Redshift
|
11270
11463
|
plumbing.redshift = convert_redshift_to_plumbing(porcelain)
|
11271
11464
|
end
|
11465
|
+
if porcelain.instance_of? RedshiftIAM
|
11466
|
+
plumbing.redshift_iam = convert_redshift_iam_to_plumbing(porcelain)
|
11467
|
+
end
|
11468
|
+
if porcelain.instance_of? RedshiftServerlessIAM
|
11469
|
+
plumbing.redshift_serverless_iam = convert_redshift_serverless_iam_to_plumbing(porcelain)
|
11470
|
+
end
|
11272
11471
|
if porcelain.instance_of? SingleStore
|
11273
11472
|
plumbing.single_store = convert_single_store_to_plumbing(porcelain)
|
11274
11473
|
end
|
@@ -11492,6 +11691,9 @@ module SDM
|
|
11492
11691
|
if plumbing.kubernetes_basic_auth != nil
|
11493
11692
|
return convert_kubernetes_basic_auth_to_porcelain(plumbing.kubernetes_basic_auth)
|
11494
11693
|
end
|
11694
|
+
if plumbing.kubernetes_pod_identity != nil
|
11695
|
+
return convert_kubernetes_pod_identity_to_porcelain(plumbing.kubernetes_pod_identity)
|
11696
|
+
end
|
11495
11697
|
if plumbing.kubernetes_service_account != nil
|
11496
11698
|
return convert_kubernetes_service_account_to_porcelain(plumbing.kubernetes_service_account)
|
11497
11699
|
end
|
@@ -11570,6 +11772,12 @@ module SDM
|
|
11570
11772
|
if plumbing.redshift != nil
|
11571
11773
|
return convert_redshift_to_porcelain(plumbing.redshift)
|
11572
11774
|
end
|
11775
|
+
if plumbing.redshift_iam != nil
|
11776
|
+
return convert_redshift_iam_to_porcelain(plumbing.redshift_iam)
|
11777
|
+
end
|
11778
|
+
if plumbing.redshift_serverless_iam != nil
|
11779
|
+
return convert_redshift_serverless_iam_to_porcelain(plumbing.redshift_serverless_iam)
|
11780
|
+
end
|
11573
11781
|
if plumbing.single_store != nil
|
11574
11782
|
return convert_single_store_to_porcelain(plumbing.single_store)
|
11575
11783
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -7213,6 +7213,74 @@ module SDM
|
|
7213
7213
|
end
|
7214
7214
|
end
|
7215
7215
|
|
7216
|
+
class KubernetesPodIdentity
|
7217
|
+
# If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
|
7218
|
+
# when a resource role is not provided.
|
7219
|
+
attr_accessor :allow_resource_role_bypass
|
7220
|
+
# 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.
|
7221
|
+
attr_accessor :bind_interface
|
7222
|
+
# The CA to authenticate TLS connections with.
|
7223
|
+
attr_accessor :certificate_authority
|
7224
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
7225
|
+
attr_accessor :egress_filter
|
7226
|
+
# The path used to check the health of your connection. Defaults to `default`.
|
7227
|
+
attr_accessor :healthcheck_namespace
|
7228
|
+
# True if the datasource is reachable and the credentials are valid.
|
7229
|
+
attr_accessor :healthy
|
7230
|
+
# Unique identifier of the Resource.
|
7231
|
+
attr_accessor :id
|
7232
|
+
# Unique human-readable name of the Resource.
|
7233
|
+
attr_accessor :name
|
7234
|
+
# The local port used by clients to connect to this resource.
|
7235
|
+
attr_accessor :port_override
|
7236
|
+
# ID of the proxy cluster for this resource, if any.
|
7237
|
+
attr_accessor :proxy_cluster_id
|
7238
|
+
# ID of the secret store containing credentials for this resource, if any.
|
7239
|
+
attr_accessor :secret_store_id
|
7240
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
7241
|
+
attr_accessor :subdomain
|
7242
|
+
# Tags is a map of key, value pairs.
|
7243
|
+
attr_accessor :tags
|
7244
|
+
|
7245
|
+
def initialize(
|
7246
|
+
allow_resource_role_bypass: nil,
|
7247
|
+
bind_interface: nil,
|
7248
|
+
certificate_authority: nil,
|
7249
|
+
egress_filter: nil,
|
7250
|
+
healthcheck_namespace: nil,
|
7251
|
+
healthy: nil,
|
7252
|
+
id: nil,
|
7253
|
+
name: nil,
|
7254
|
+
port_override: nil,
|
7255
|
+
proxy_cluster_id: nil,
|
7256
|
+
secret_store_id: nil,
|
7257
|
+
subdomain: nil,
|
7258
|
+
tags: nil
|
7259
|
+
)
|
7260
|
+
@allow_resource_role_bypass = allow_resource_role_bypass == nil ? false : allow_resource_role_bypass
|
7261
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
7262
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
7263
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
7264
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
7265
|
+
@healthy = healthy == nil ? false : healthy
|
7266
|
+
@id = id == nil ? "" : id
|
7267
|
+
@name = name == nil ? "" : name
|
7268
|
+
@port_override = port_override == nil ? 0 : port_override
|
7269
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
7270
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
7271
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
7272
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
7273
|
+
end
|
7274
|
+
|
7275
|
+
def to_json(options = {})
|
7276
|
+
hash = {}
|
7277
|
+
self.instance_variables.each do |var|
|
7278
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
7279
|
+
end
|
7280
|
+
hash.to_json
|
7281
|
+
end
|
7282
|
+
end
|
7283
|
+
|
7216
7284
|
class KubernetesServiceAccount
|
7217
7285
|
# If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
|
7218
7286
|
# when a resource role is not provided.
|
@@ -10669,6 +10737,174 @@ module SDM
|
|
10669
10737
|
end
|
10670
10738
|
end
|
10671
10739
|
|
10740
|
+
# RedshiftIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
10741
|
+
class RedshiftIAM
|
10742
|
+
# 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.
|
10743
|
+
attr_accessor :bind_interface
|
10744
|
+
# Cluster Identified of Redshift cluster
|
10745
|
+
attr_accessor :cluster_id
|
10746
|
+
# The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
|
10747
|
+
attr_accessor :database
|
10748
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
10749
|
+
attr_accessor :egress_filter
|
10750
|
+
# True if the datasource is reachable and the credentials are valid.
|
10751
|
+
attr_accessor :healthy
|
10752
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
10753
|
+
attr_accessor :hostname
|
10754
|
+
# Unique identifier of the Resource.
|
10755
|
+
attr_accessor :id
|
10756
|
+
# Unique human-readable name of the Resource.
|
10757
|
+
attr_accessor :name
|
10758
|
+
# If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
|
10759
|
+
attr_accessor :override_database
|
10760
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
10761
|
+
attr_accessor :port
|
10762
|
+
# The local port used by clients to connect to this resource.
|
10763
|
+
attr_accessor :port_override
|
10764
|
+
# ID of the proxy cluster for this resource, if any.
|
10765
|
+
attr_accessor :proxy_cluster_id
|
10766
|
+
# The AWS region to connect to.
|
10767
|
+
attr_accessor :region
|
10768
|
+
# If provided, the gateway/relay will try to assume this role instead of the underlying compute's role.
|
10769
|
+
attr_accessor :role_assumption_arn
|
10770
|
+
# ID of the secret store containing credentials for this resource, if any.
|
10771
|
+
attr_accessor :secret_store_id
|
10772
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
10773
|
+
attr_accessor :subdomain
|
10774
|
+
# Tags is a map of key, value pairs.
|
10775
|
+
attr_accessor :tags
|
10776
|
+
|
10777
|
+
def initialize(
|
10778
|
+
bind_interface: nil,
|
10779
|
+
cluster_id: nil,
|
10780
|
+
database: nil,
|
10781
|
+
egress_filter: nil,
|
10782
|
+
healthy: nil,
|
10783
|
+
hostname: nil,
|
10784
|
+
id: nil,
|
10785
|
+
name: nil,
|
10786
|
+
override_database: nil,
|
10787
|
+
port: nil,
|
10788
|
+
port_override: nil,
|
10789
|
+
proxy_cluster_id: nil,
|
10790
|
+
region: nil,
|
10791
|
+
role_assumption_arn: nil,
|
10792
|
+
secret_store_id: nil,
|
10793
|
+
subdomain: nil,
|
10794
|
+
tags: nil
|
10795
|
+
)
|
10796
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
10797
|
+
@cluster_id = cluster_id == nil ? "" : cluster_id
|
10798
|
+
@database = database == nil ? "" : database
|
10799
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
10800
|
+
@healthy = healthy == nil ? false : healthy
|
10801
|
+
@hostname = hostname == nil ? "" : hostname
|
10802
|
+
@id = id == nil ? "" : id
|
10803
|
+
@name = name == nil ? "" : name
|
10804
|
+
@override_database = override_database == nil ? false : override_database
|
10805
|
+
@port = port == nil ? 0 : port
|
10806
|
+
@port_override = port_override == nil ? 0 : port_override
|
10807
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
10808
|
+
@region = region == nil ? "" : region
|
10809
|
+
@role_assumption_arn = role_assumption_arn == nil ? "" : role_assumption_arn
|
10810
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
10811
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
10812
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
10813
|
+
end
|
10814
|
+
|
10815
|
+
def to_json(options = {})
|
10816
|
+
hash = {}
|
10817
|
+
self.instance_variables.each do |var|
|
10818
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
10819
|
+
end
|
10820
|
+
hash.to_json
|
10821
|
+
end
|
10822
|
+
end
|
10823
|
+
|
10824
|
+
# RedshiftServerlessIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
10825
|
+
class RedshiftServerlessIAM
|
10826
|
+
# 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.
|
10827
|
+
attr_accessor :bind_interface
|
10828
|
+
# The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
|
10829
|
+
attr_accessor :database
|
10830
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
10831
|
+
attr_accessor :egress_filter
|
10832
|
+
# True if the datasource is reachable and the credentials are valid.
|
10833
|
+
attr_accessor :healthy
|
10834
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
10835
|
+
attr_accessor :hostname
|
10836
|
+
# Unique identifier of the Resource.
|
10837
|
+
attr_accessor :id
|
10838
|
+
# Unique human-readable name of the Resource.
|
10839
|
+
attr_accessor :name
|
10840
|
+
# If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
|
10841
|
+
attr_accessor :override_database
|
10842
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
10843
|
+
attr_accessor :port
|
10844
|
+
# The local port used by clients to connect to this resource.
|
10845
|
+
attr_accessor :port_override
|
10846
|
+
# ID of the proxy cluster for this resource, if any.
|
10847
|
+
attr_accessor :proxy_cluster_id
|
10848
|
+
# The AWS region to connect to.
|
10849
|
+
attr_accessor :region
|
10850
|
+
# If provided, the gateway/relay will try to assume this role instead of the underlying compute's role.
|
10851
|
+
attr_accessor :role_assumption_arn
|
10852
|
+
# ID of the secret store containing credentials for this resource, if any.
|
10853
|
+
attr_accessor :secret_store_id
|
10854
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
10855
|
+
attr_accessor :subdomain
|
10856
|
+
# Tags is a map of key, value pairs.
|
10857
|
+
attr_accessor :tags
|
10858
|
+
# Workgroup name in the serverless Redshift
|
10859
|
+
attr_accessor :workgroup
|
10860
|
+
|
10861
|
+
def initialize(
|
10862
|
+
bind_interface: nil,
|
10863
|
+
database: nil,
|
10864
|
+
egress_filter: nil,
|
10865
|
+
healthy: nil,
|
10866
|
+
hostname: nil,
|
10867
|
+
id: nil,
|
10868
|
+
name: nil,
|
10869
|
+
override_database: nil,
|
10870
|
+
port: nil,
|
10871
|
+
port_override: nil,
|
10872
|
+
proxy_cluster_id: nil,
|
10873
|
+
region: nil,
|
10874
|
+
role_assumption_arn: nil,
|
10875
|
+
secret_store_id: nil,
|
10876
|
+
subdomain: nil,
|
10877
|
+
tags: nil,
|
10878
|
+
workgroup: nil
|
10879
|
+
)
|
10880
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
10881
|
+
@database = database == nil ? "" : database
|
10882
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
10883
|
+
@healthy = healthy == nil ? false : healthy
|
10884
|
+
@hostname = hostname == nil ? "" : hostname
|
10885
|
+
@id = id == nil ? "" : id
|
10886
|
+
@name = name == nil ? "" : name
|
10887
|
+
@override_database = override_database == nil ? false : override_database
|
10888
|
+
@port = port == nil ? 0 : port
|
10889
|
+
@port_override = port_override == nil ? 0 : port_override
|
10890
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
10891
|
+
@region = region == nil ? "" : region
|
10892
|
+
@role_assumption_arn = role_assumption_arn == nil ? "" : role_assumption_arn
|
10893
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
10894
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
10895
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
10896
|
+
@workgroup = workgroup == nil ? "" : workgroup
|
10897
|
+
end
|
10898
|
+
|
10899
|
+
def to_json(options = {})
|
10900
|
+
hash = {}
|
10901
|
+
self.instance_variables.each do |var|
|
10902
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
10903
|
+
end
|
10904
|
+
hash.to_json
|
10905
|
+
end
|
10906
|
+
end
|
10907
|
+
|
10672
10908
|
# Relay represents a StrongDM CLI installation running in relay mode.
|
10673
10909
|
class Relay
|
10674
10910
|
# Device is a read only device name uploaded by the gateway process when
|
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/13.1
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/13.2.1"
|
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
@@ -4690,6 +4690,7 @@ module SDM #:nodoc:
|
|
4690
4690
|
# {HTTPNoAuth}
|
4691
4691
|
# {Kubernetes}
|
4692
4692
|
# {KubernetesBasicAuth}
|
4693
|
+
# {KubernetesPodIdentity}
|
4693
4694
|
# {KubernetesServiceAccount}
|
4694
4695
|
# {KubernetesServiceAccountUserImpersonation}
|
4695
4696
|
# {KubernetesUserImpersonation}
|
@@ -4716,6 +4717,8 @@ module SDM #:nodoc:
|
|
4716
4717
|
# {RDSPostgresIAM}
|
4717
4718
|
# {Redis}
|
4718
4719
|
# {Redshift}
|
4720
|
+
# {RedshiftIAM}
|
4721
|
+
# {RedshiftServerlessIAM}
|
4719
4722
|
# {SingleStore}
|
4720
4723
|
# {Snowflake}
|
4721
4724
|
# {Snowsight}
|
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: 13.1
|
4
|
+
version: 13.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-10 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-37835b9ae84d740c5abd402760c05a571f85842a.idx"
|
85
|
+
- "./.git/objects/pack/pack-37835b9ae84d740c5abd402760c05a571f85842a.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|