strongdm 4.8.0 → 5.0.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-b1dfafcd7b8c6b715aaf6a4fee0c32ac367fdfef.idx → pack-a8e04b10f27e6e34a06dadf3d74941a9592c9edd.idx} +0 -0
- data/.git/objects/pack/{pack-b1dfafcd7b8c6b715aaf6a4fee0c32ac367fdfef.pack → pack-a8e04b10f27e6e34a06dadf3d74941a9592c9edd.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +1 -1
- data/lib/grpc/drivers_pb.rb +38 -0
- data/lib/grpc/plumbing.rb +136 -0
- data/lib/models/porcelain.rb +152 -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: d4ab1ea82ac8ef2c7ef5833cb23c2446c77add0c81aae7ab2592dfe00acfe8fd
|
4
|
+
data.tar.gz: 07bd7a1dd4f1ca1411179db2d11210ec11d6573495b1d73e696b1c4a9a6135fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9232f25747b4ae41ea5a23d28e193b36a22ad6150c2743fdd122a79eb815d309979298f9dfadf4b4c1da191f5d321e595de5564c551d6aff795600b2c2e41890
|
7
|
+
data.tar.gz: 3a173bb8e244b8f2391c235968d2ef4a89f24def05b8878f203c1d9bbf1bf37d60031ec6b7fed9184d70a52a70bba2fd23e50d0c4ea04e9f74c21559e954c9b3
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb root <root@f33e2995246c.(none)> 1695234533 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb root <root@f33e2995246c.(none)> 1695234533 +0000 checkout: moving from master to master
|
3
|
+
fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb 7f2a0f1d6cbfda294fa9a3ec4a868d0c782c3fd0 root <root@f33e2995246c.(none)> 1695234533 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb root <root@f33e2995246c.(none)> 1695234533 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb 7f2a0f1d6cbfda294fa9a3ec4a868d0c782c3fd0 root <root@f33e2995246c.(none)> 1695234533 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb root <root@f33e2995246c.(none)> 1695234533 +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
|
+
7f2a0f1d6cbfda294fa9a3ec4a868d0c782c3fd0 refs/remotes/origin/development
|
3
|
+
fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb 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
|
@@ -82,3 +82,4 @@ a6f7cd7cd796d31adea0950366f45875ff0bbccc refs/tags/v4.4.2
|
|
82
82
|
34875c9b94e9f8627c7e3ce37855003bbb6a1417 refs/tags/v4.6.0
|
83
83
|
f8dd4b1ce524b487c509dd8b781f2b9676053543 refs/tags/v4.6.1
|
84
84
|
8a202244671d61f97d90b10f45f693266ea84afa refs/tags/v4.7.0
|
85
|
+
fb8fa232eb66f960b4a223ce7fe6eaaf46727bfb refs/tags/v4.8.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
7f2a0f1d6cbfda294fa9a3ec4a868d0c782c3fd0
|
data/lib/constants.rb
CHANGED
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -40,6 +40,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
40
40
|
optional :athena, :message, 100, "v1.Athena"
|
41
41
|
optional :aurora_mysql, :message, 1101, "v1.AuroraMysql"
|
42
42
|
optional :aurora_postgres, :message, 1301, "v1.AuroraPostgres"
|
43
|
+
optional :aurora_postgres_iam, :message, 1309, "v1.AuroraPostgresIAM"
|
43
44
|
optional :azure, :message, 2800, "v1.Azure"
|
44
45
|
optional :azure_certificate, :message, 2801, "v1.AzureCertificate"
|
45
46
|
optional :azure_mysql, :message, 1107, "v1.AzureMysql"
|
@@ -87,6 +88,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
87
88
|
optional :postgres, :message, 1300, "v1.Postgres"
|
88
89
|
optional :presto, :message, 1400, "v1.Presto"
|
89
90
|
optional :rdp, :message, 1500, "v1.RDP"
|
91
|
+
optional :rds_postgres_iam, :message, 1310, "v1.RDSPostgresIAM"
|
90
92
|
optional :rabbit_mqamqp_091, :message, 2500, "v1.RabbitMQAMQP091"
|
91
93
|
optional :raw_tcp, :message, 2600, "v1.RawTCP"
|
92
94
|
optional :redis, :message, 1600, "v1.Redis"
|
@@ -410,6 +412,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
410
412
|
optional :port_override, :int32, 5
|
411
413
|
optional :username, :string, 2
|
412
414
|
end
|
415
|
+
add_message "v1.AuroraPostgresIAM" do
|
416
|
+
optional :id, :string, 32768
|
417
|
+
optional :name, :string, 32769
|
418
|
+
optional :healthy, :bool, 32770
|
419
|
+
optional :tags, :message, 32771, "v1.Tags"
|
420
|
+
optional :secret_store_id, :string, 32772
|
421
|
+
optional :egress_filter, :string, 32773
|
422
|
+
optional :bind_interface, :string, 32774
|
423
|
+
optional :subdomain, :string, 32775
|
424
|
+
optional :database, :string, 4
|
425
|
+
optional :hostname, :string, 1
|
426
|
+
optional :override_database, :bool, 7
|
427
|
+
optional :port, :int32, 6
|
428
|
+
optional :port_override, :int32, 5
|
429
|
+
optional :region, :string, 3
|
430
|
+
optional :username, :string, 2
|
431
|
+
end
|
413
432
|
add_message "v1.Azure" do
|
414
433
|
optional :id, :string, 32768
|
415
434
|
optional :name, :string, 32769
|
@@ -1195,6 +1214,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1195
1214
|
optional :port_override, :int32, 4
|
1196
1215
|
optional :username, :string, 2
|
1197
1216
|
end
|
1217
|
+
add_message "v1.RDSPostgresIAM" do
|
1218
|
+
optional :id, :string, 32768
|
1219
|
+
optional :name, :string, 32769
|
1220
|
+
optional :healthy, :bool, 32770
|
1221
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1222
|
+
optional :secret_store_id, :string, 32772
|
1223
|
+
optional :egress_filter, :string, 32773
|
1224
|
+
optional :bind_interface, :string, 32774
|
1225
|
+
optional :subdomain, :string, 32775
|
1226
|
+
optional :database, :string, 4
|
1227
|
+
optional :hostname, :string, 1
|
1228
|
+
optional :override_database, :bool, 7
|
1229
|
+
optional :port, :int32, 6
|
1230
|
+
optional :port_override, :int32, 5
|
1231
|
+
optional :region, :string, 3
|
1232
|
+
optional :username, :string, 2
|
1233
|
+
end
|
1198
1234
|
add_message "v1.RabbitMQAMQP091" do
|
1199
1235
|
optional :id, :string, 32768
|
1200
1236
|
optional :name, :string, 32769
|
@@ -1502,6 +1538,7 @@ module V1
|
|
1502
1538
|
Athena = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Athena").msgclass
|
1503
1539
|
AuroraMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraMysql").msgclass
|
1504
1540
|
AuroraPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgres").msgclass
|
1541
|
+
AuroraPostgresIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgresIAM").msgclass
|
1505
1542
|
Azure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Azure").msgclass
|
1506
1543
|
AzureCertificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureCertificate").msgclass
|
1507
1544
|
AzureMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureMysql").msgclass
|
@@ -1549,6 +1586,7 @@ module V1
|
|
1549
1586
|
Postgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Postgres").msgclass
|
1550
1587
|
Presto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Presto").msgclass
|
1551
1588
|
RDP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RDP").msgclass
|
1589
|
+
RDSPostgresIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RDSPostgresIAM").msgclass
|
1552
1590
|
RabbitMQAMQP091 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RabbitMQAMQP091").msgclass
|
1553
1591
|
RawTCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RawTCP").msgclass
|
1554
1592
|
Redis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redis").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -2447,6 +2447,68 @@ module SDM
|
|
2447
2447
|
end
|
2448
2448
|
items
|
2449
2449
|
end
|
2450
|
+
def self.convert_aurora_postgres_iam_to_porcelain(plumbing)
|
2451
|
+
if plumbing == nil
|
2452
|
+
return nil
|
2453
|
+
end
|
2454
|
+
porcelain = AuroraPostgresIAM.new()
|
2455
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
2456
|
+
porcelain.database = (plumbing.database)
|
2457
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2458
|
+
porcelain.healthy = (plumbing.healthy)
|
2459
|
+
porcelain.hostname = (plumbing.hostname)
|
2460
|
+
porcelain.id = (plumbing.id)
|
2461
|
+
porcelain.name = (plumbing.name)
|
2462
|
+
porcelain.override_database = (plumbing.override_database)
|
2463
|
+
porcelain.port = (plumbing.port)
|
2464
|
+
porcelain.port_override = (plumbing.port_override)
|
2465
|
+
porcelain.region = (plumbing.region)
|
2466
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2467
|
+
porcelain.subdomain = (plumbing.subdomain)
|
2468
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2469
|
+
porcelain.username = (plumbing.username)
|
2470
|
+
porcelain
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
def self.convert_aurora_postgres_iam_to_plumbing(porcelain)
|
2474
|
+
if porcelain == nil
|
2475
|
+
return nil
|
2476
|
+
end
|
2477
|
+
plumbing = V1::AuroraPostgresIAM.new()
|
2478
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
2479
|
+
plumbing.database = (porcelain.database)
|
2480
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
2481
|
+
plumbing.healthy = (porcelain.healthy)
|
2482
|
+
plumbing.hostname = (porcelain.hostname)
|
2483
|
+
plumbing.id = (porcelain.id)
|
2484
|
+
plumbing.name = (porcelain.name)
|
2485
|
+
plumbing.override_database = (porcelain.override_database)
|
2486
|
+
plumbing.port = (porcelain.port)
|
2487
|
+
plumbing.port_override = (porcelain.port_override)
|
2488
|
+
plumbing.region = (porcelain.region)
|
2489
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
2490
|
+
plumbing.subdomain = (porcelain.subdomain)
|
2491
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2492
|
+
plumbing.username = (porcelain.username)
|
2493
|
+
plumbing
|
2494
|
+
end
|
2495
|
+
def self.convert_repeated_aurora_postgres_iam_to_plumbing(porcelains)
|
2496
|
+
items = Array.new
|
2497
|
+
porcelains.each do |porcelain|
|
2498
|
+
plumbing = convert_aurora_postgres_iam_to_plumbing(porcelain)
|
2499
|
+
items.append(plumbing)
|
2500
|
+
end
|
2501
|
+
items
|
2502
|
+
end
|
2503
|
+
|
2504
|
+
def self.convert_repeated_aurora_postgres_iam_to_porcelain(plumbings)
|
2505
|
+
items = Array.new
|
2506
|
+
plumbings.each do |plumbing|
|
2507
|
+
porcelain = convert_aurora_postgres_iam_to_porcelain(plumbing)
|
2508
|
+
items.append(porcelain)
|
2509
|
+
end
|
2510
|
+
items
|
2511
|
+
end
|
2450
2512
|
def self.convert_azure_to_porcelain(plumbing)
|
2451
2513
|
if plumbing == nil
|
2452
2514
|
return nil
|
@@ -6926,6 +6988,68 @@ module SDM
|
|
6926
6988
|
end
|
6927
6989
|
items
|
6928
6990
|
end
|
6991
|
+
def self.convert_rds_postgres_iam_to_porcelain(plumbing)
|
6992
|
+
if plumbing == nil
|
6993
|
+
return nil
|
6994
|
+
end
|
6995
|
+
porcelain = RDSPostgresIAM.new()
|
6996
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
6997
|
+
porcelain.database = (plumbing.database)
|
6998
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
6999
|
+
porcelain.healthy = (plumbing.healthy)
|
7000
|
+
porcelain.hostname = (plumbing.hostname)
|
7001
|
+
porcelain.id = (plumbing.id)
|
7002
|
+
porcelain.name = (plumbing.name)
|
7003
|
+
porcelain.override_database = (plumbing.override_database)
|
7004
|
+
porcelain.port = (plumbing.port)
|
7005
|
+
porcelain.port_override = (plumbing.port_override)
|
7006
|
+
porcelain.region = (plumbing.region)
|
7007
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
7008
|
+
porcelain.subdomain = (plumbing.subdomain)
|
7009
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
7010
|
+
porcelain.username = (plumbing.username)
|
7011
|
+
porcelain
|
7012
|
+
end
|
7013
|
+
|
7014
|
+
def self.convert_rds_postgres_iam_to_plumbing(porcelain)
|
7015
|
+
if porcelain == nil
|
7016
|
+
return nil
|
7017
|
+
end
|
7018
|
+
plumbing = V1::RDSPostgresIAM.new()
|
7019
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
7020
|
+
plumbing.database = (porcelain.database)
|
7021
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
7022
|
+
plumbing.healthy = (porcelain.healthy)
|
7023
|
+
plumbing.hostname = (porcelain.hostname)
|
7024
|
+
plumbing.id = (porcelain.id)
|
7025
|
+
plumbing.name = (porcelain.name)
|
7026
|
+
plumbing.override_database = (porcelain.override_database)
|
7027
|
+
plumbing.port = (porcelain.port)
|
7028
|
+
plumbing.port_override = (porcelain.port_override)
|
7029
|
+
plumbing.region = (porcelain.region)
|
7030
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
7031
|
+
plumbing.subdomain = (porcelain.subdomain)
|
7032
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
7033
|
+
plumbing.username = (porcelain.username)
|
7034
|
+
plumbing
|
7035
|
+
end
|
7036
|
+
def self.convert_repeated_rds_postgres_iam_to_plumbing(porcelains)
|
7037
|
+
items = Array.new
|
7038
|
+
porcelains.each do |porcelain|
|
7039
|
+
plumbing = convert_rds_postgres_iam_to_plumbing(porcelain)
|
7040
|
+
items.append(plumbing)
|
7041
|
+
end
|
7042
|
+
items
|
7043
|
+
end
|
7044
|
+
|
7045
|
+
def self.convert_repeated_rds_postgres_iam_to_porcelain(plumbings)
|
7046
|
+
items = Array.new
|
7047
|
+
plumbings.each do |plumbing|
|
7048
|
+
porcelain = convert_rds_postgres_iam_to_porcelain(plumbing)
|
7049
|
+
items.append(porcelain)
|
7050
|
+
end
|
7051
|
+
items
|
7052
|
+
end
|
6929
7053
|
def self.convert_rabbit_mqamqp_091_to_porcelain(plumbing)
|
6930
7054
|
if plumbing == nil
|
6931
7055
|
return nil
|
@@ -7715,6 +7839,9 @@ module SDM
|
|
7715
7839
|
if porcelain.instance_of? AuroraPostgres
|
7716
7840
|
plumbing.aurora_postgres = convert_aurora_postgres_to_plumbing(porcelain)
|
7717
7841
|
end
|
7842
|
+
if porcelain.instance_of? AuroraPostgresIAM
|
7843
|
+
plumbing.aurora_postgres_iam = convert_aurora_postgres_iam_to_plumbing(porcelain)
|
7844
|
+
end
|
7718
7845
|
if porcelain.instance_of? AWS
|
7719
7846
|
plumbing.aws = convert_aws_to_plumbing(porcelain)
|
7720
7847
|
end
|
@@ -7871,6 +7998,9 @@ module SDM
|
|
7871
7998
|
if porcelain.instance_of? RDP
|
7872
7999
|
plumbing.rdp = convert_rdp_to_plumbing(porcelain)
|
7873
8000
|
end
|
8001
|
+
if porcelain.instance_of? RDSPostgresIAM
|
8002
|
+
plumbing.rds_postgres_iam = convert_rds_postgres_iam_to_plumbing(porcelain)
|
8003
|
+
end
|
7874
8004
|
if porcelain.instance_of? Redis
|
7875
8005
|
plumbing.redis = convert_redis_to_plumbing(porcelain)
|
7876
8006
|
end
|
@@ -7965,6 +8095,9 @@ module SDM
|
|
7965
8095
|
if plumbing.aurora_postgres != nil
|
7966
8096
|
return convert_aurora_postgres_to_porcelain(plumbing.aurora_postgres)
|
7967
8097
|
end
|
8098
|
+
if plumbing.aurora_postgres_iam != nil
|
8099
|
+
return convert_aurora_postgres_iam_to_porcelain(plumbing.aurora_postgres_iam)
|
8100
|
+
end
|
7968
8101
|
if plumbing.aws != nil
|
7969
8102
|
return convert_aws_to_porcelain(plumbing.aws)
|
7970
8103
|
end
|
@@ -8121,6 +8254,9 @@ module SDM
|
|
8121
8254
|
if plumbing.rdp != nil
|
8122
8255
|
return convert_rdp_to_porcelain(plumbing.rdp)
|
8123
8256
|
end
|
8257
|
+
if plumbing.rds_postgres_iam != nil
|
8258
|
+
return convert_rds_postgres_iam_to_porcelain(plumbing.rds_postgres_iam)
|
8259
|
+
end
|
8124
8260
|
if plumbing.redis != nil
|
8125
8261
|
return convert_redis_to_porcelain(plumbing.redis)
|
8126
8262
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -2308,6 +2308,82 @@ module SDM
|
|
2308
2308
|
end
|
2309
2309
|
end
|
2310
2310
|
|
2311
|
+
# AuroraPostgresIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
2312
|
+
class AuroraPostgresIAM
|
2313
|
+
# 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.
|
2314
|
+
attr_accessor :bind_interface
|
2315
|
+
# The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
|
2316
|
+
attr_accessor :database
|
2317
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2318
|
+
attr_accessor :egress_filter
|
2319
|
+
# True if the datasource is reachable and the credentials are valid.
|
2320
|
+
attr_accessor :healthy
|
2321
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
2322
|
+
attr_accessor :hostname
|
2323
|
+
# Unique identifier of the Resource.
|
2324
|
+
attr_accessor :id
|
2325
|
+
# Unique human-readable name of the Resource.
|
2326
|
+
attr_accessor :name
|
2327
|
+
# 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.
|
2328
|
+
attr_accessor :override_database
|
2329
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
2330
|
+
attr_accessor :port
|
2331
|
+
# The local port used by clients to connect to this resource.
|
2332
|
+
attr_accessor :port_override
|
2333
|
+
# The AWS region to connect to.
|
2334
|
+
attr_accessor :region
|
2335
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2336
|
+
attr_accessor :secret_store_id
|
2337
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
2338
|
+
attr_accessor :subdomain
|
2339
|
+
# Tags is a map of key, value pairs.
|
2340
|
+
attr_accessor :tags
|
2341
|
+
# The username to authenticate with.
|
2342
|
+
attr_accessor :username
|
2343
|
+
|
2344
|
+
def initialize(
|
2345
|
+
bind_interface: nil,
|
2346
|
+
database: nil,
|
2347
|
+
egress_filter: nil,
|
2348
|
+
healthy: nil,
|
2349
|
+
hostname: nil,
|
2350
|
+
id: nil,
|
2351
|
+
name: nil,
|
2352
|
+
override_database: nil,
|
2353
|
+
port: nil,
|
2354
|
+
port_override: nil,
|
2355
|
+
region: nil,
|
2356
|
+
secret_store_id: nil,
|
2357
|
+
subdomain: nil,
|
2358
|
+
tags: nil,
|
2359
|
+
username: nil
|
2360
|
+
)
|
2361
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
2362
|
+
@database = database == nil ? "" : database
|
2363
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2364
|
+
@healthy = healthy == nil ? false : healthy
|
2365
|
+
@hostname = hostname == nil ? "" : hostname
|
2366
|
+
@id = id == nil ? "" : id
|
2367
|
+
@name = name == nil ? "" : name
|
2368
|
+
@override_database = override_database == nil ? false : override_database
|
2369
|
+
@port = port == nil ? 0 : port
|
2370
|
+
@port_override = port_override == nil ? 0 : port_override
|
2371
|
+
@region = region == nil ? "" : region
|
2372
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2373
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
2374
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2375
|
+
@username = username == nil ? "" : username
|
2376
|
+
end
|
2377
|
+
|
2378
|
+
def to_json(options = {})
|
2379
|
+
hash = {}
|
2380
|
+
self.instance_variables.each do |var|
|
2381
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2382
|
+
end
|
2383
|
+
hash.to_json
|
2384
|
+
end
|
2385
|
+
end
|
2386
|
+
|
2311
2387
|
class Azure
|
2312
2388
|
# The application ID to authenticate with.
|
2313
2389
|
attr_accessor :app_id
|
@@ -7096,6 +7172,82 @@ module SDM
|
|
7096
7172
|
end
|
7097
7173
|
end
|
7098
7174
|
|
7175
|
+
# RDSPostgresIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
7176
|
+
class RDSPostgresIAM
|
7177
|
+
# 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.
|
7178
|
+
attr_accessor :bind_interface
|
7179
|
+
# The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
|
7180
|
+
attr_accessor :database
|
7181
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
7182
|
+
attr_accessor :egress_filter
|
7183
|
+
# True if the datasource is reachable and the credentials are valid.
|
7184
|
+
attr_accessor :healthy
|
7185
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
7186
|
+
attr_accessor :hostname
|
7187
|
+
# Unique identifier of the Resource.
|
7188
|
+
attr_accessor :id
|
7189
|
+
# Unique human-readable name of the Resource.
|
7190
|
+
attr_accessor :name
|
7191
|
+
# 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.
|
7192
|
+
attr_accessor :override_database
|
7193
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
7194
|
+
attr_accessor :port
|
7195
|
+
# The local port used by clients to connect to this resource.
|
7196
|
+
attr_accessor :port_override
|
7197
|
+
# The AWS region to connect to.
|
7198
|
+
attr_accessor :region
|
7199
|
+
# ID of the secret store containing credentials for this resource, if any.
|
7200
|
+
attr_accessor :secret_store_id
|
7201
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
7202
|
+
attr_accessor :subdomain
|
7203
|
+
# Tags is a map of key, value pairs.
|
7204
|
+
attr_accessor :tags
|
7205
|
+
# The username to authenticate with.
|
7206
|
+
attr_accessor :username
|
7207
|
+
|
7208
|
+
def initialize(
|
7209
|
+
bind_interface: nil,
|
7210
|
+
database: nil,
|
7211
|
+
egress_filter: nil,
|
7212
|
+
healthy: nil,
|
7213
|
+
hostname: nil,
|
7214
|
+
id: nil,
|
7215
|
+
name: nil,
|
7216
|
+
override_database: nil,
|
7217
|
+
port: nil,
|
7218
|
+
port_override: nil,
|
7219
|
+
region: nil,
|
7220
|
+
secret_store_id: nil,
|
7221
|
+
subdomain: nil,
|
7222
|
+
tags: nil,
|
7223
|
+
username: nil
|
7224
|
+
)
|
7225
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
7226
|
+
@database = database == nil ? "" : database
|
7227
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
7228
|
+
@healthy = healthy == nil ? false : healthy
|
7229
|
+
@hostname = hostname == nil ? "" : hostname
|
7230
|
+
@id = id == nil ? "" : id
|
7231
|
+
@name = name == nil ? "" : name
|
7232
|
+
@override_database = override_database == nil ? false : override_database
|
7233
|
+
@port = port == nil ? 0 : port
|
7234
|
+
@port_override = port_override == nil ? 0 : port_override
|
7235
|
+
@region = region == nil ? "" : region
|
7236
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
7237
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
7238
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
7239
|
+
@username = username == nil ? "" : username
|
7240
|
+
end
|
7241
|
+
|
7242
|
+
def to_json(options = {})
|
7243
|
+
hash = {}
|
7244
|
+
self.instance_variables.each do |var|
|
7245
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
7246
|
+
end
|
7247
|
+
hash.to_json
|
7248
|
+
end
|
7249
|
+
end
|
7250
|
+
|
7099
7251
|
class RabbitMQAMQP091
|
7100
7252
|
# 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.
|
7101
7253
|
attr_accessor :bind_interface
|
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 = "2021-08-23"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/5.0.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
@@ -2969,6 +2969,7 @@ module SDM #:nodoc:
|
|
2969
2969
|
# {Athena}
|
2970
2970
|
# {AuroraMysql}
|
2971
2971
|
# {AuroraPostgres}
|
2972
|
+
# {AuroraPostgresIAM}
|
2972
2973
|
# {AWS}
|
2973
2974
|
# {AWSConsole}
|
2974
2975
|
# {AWSConsoleStaticKeyPair}
|
@@ -3021,6 +3022,7 @@ module SDM #:nodoc:
|
|
3021
3022
|
# {RabbitMQAMQP091}
|
3022
3023
|
# {RawTCP}
|
3023
3024
|
# {RDP}
|
3025
|
+
# {RDSPostgresIAM}
|
3024
3026
|
# {Redis}
|
3025
3027
|
# {Redshift}
|
3026
3028
|
# {SingleStore}
|
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:
|
4
|
+
version: 5.0.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: 2023-09-
|
11
|
+
date: 2023-09-20 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-a8e04b10f27e6e34a06dadf3d74941a9592c9edd.idx"
|
85
|
+
- "./.git/objects/pack/pack-a8e04b10f27e6e34a06dadf3d74941a9592c9edd.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|