strongdm 12.5.0 → 12.8.0
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-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.idx → pack-4a49d215f7bcf207a90a954bfbc4c801b9ffd5fb.idx} +0 -0
- data/.git/objects/pack/{pack-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.pack → pack-4a49d215f7bcf207a90a954bfbc4c801b9ffd5fb.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +18 -0
- data/lib/grpc/plumbing.rb +66 -0
- data/lib/models/porcelain.rb +72 -2
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +1 -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: eaa3e6ceb7034dcbc0b8234ce5f1dfaa526ea704be0ca725ac8fd6c4dd0e88a0
|
4
|
+
data.tar.gz: 4f634d82fcc40e1d4c4001d993fa6840dd19b059215933075cfe674fb13069b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15422c7f6ec04968a87057618fd9126153b9c378741380d474bf3f6bd9f06622abeb7fb9d3c769b678896a558eda4f7ac06394c8e73659b928b63797332a1696
|
7
|
+
data.tar.gz: 269b3cfc4aef677135b07adcfe6fc4988ab910a94038a7dee7c81e0b99b428f431eef3b9e6b7b015747045fbc13f4bc58b319fb6f2de9a8874276de7f83f02ef
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
9b1252fecc0db33645ced8adcbc49512187943e6
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 9b1252fecc0db33645ced8adcbc49512187943e6 root <root@6485deb4974f.(none)> 1737999570 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
9b1252fecc0db33645ced8adcbc49512187943e6 9b1252fecc0db33645ced8adcbc49512187943e6 root <root@6485deb4974f.(none)> 1737999570 +0000 checkout: moving from master to master
|
3
|
+
9b1252fecc0db33645ced8adcbc49512187943e6 b68a30b7513dbbdada47704bd34510560b4ee8ca root <root@6485deb4974f.(none)> 1737999570 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 9b1252fecc0db33645ced8adcbc49512187943e6 root <root@6485deb4974f.(none)> 1737999570 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
9b1252fecc0db33645ced8adcbc49512187943e6 b68a30b7513dbbdada47704bd34510560b4ee8ca root <root@6485deb4974f.(none)> 1737999570 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 9b1252fecc0db33645ced8adcbc49512187943e6 root <root@6485deb4974f.(none)> 1737999570 +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
|
+
b68a30b7513dbbdada47704bd34510560b4ee8ca refs/remotes/origin/development
|
3
|
+
9b1252fecc0db33645ced8adcbc49512187943e6 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
|
@@ -62,6 +62,8 @@ dea63eda193578749a7430e674f939e5f452a50b refs/tags/v12.0.0
|
|
62
62
|
62153b27115243969f8f6048b9496f7801efb619 refs/tags/v12.1.0
|
63
63
|
d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 refs/tags/v12.2.0
|
64
64
|
d2362ed882a935fc6d6a52abace4e581be82507d refs/tags/v12.4.0
|
65
|
+
2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9 refs/tags/v12.5.0
|
66
|
+
9b1252fecc0db33645ced8adcbc49512187943e6 refs/tags/v12.6.0
|
65
67
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
66
68
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
67
69
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
b68a30b7513dbbdada47704bd34510560b4ee8ca
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -40,6 +40,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
40
40
|
optional :amazon_es, :message, 600, "v1.AmazonES"
|
41
41
|
optional :amazon_mqamqp_091, :message, 2501, "v1.AmazonMQAMQP091"
|
42
42
|
optional :athena, :message, 100, "v1.Athena"
|
43
|
+
optional :athena_iam, :message, 3400, "v1.AthenaIAM"
|
43
44
|
optional :aurora_mysql, :message, 1101, "v1.AuroraMysql"
|
44
45
|
optional :aurora_mysql_iam, :message, 1109, "v1.AuroraMysqlIAM"
|
45
46
|
optional :aurora_postgres, :message, 1301, "v1.AuroraPostgres"
|
@@ -432,6 +433,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
432
433
|
optional :role_external_id, :string, 7
|
433
434
|
optional :secret_access_key, :string, 2
|
434
435
|
end
|
436
|
+
add_message "v1.AthenaIAM" do
|
437
|
+
optional :id, :string, 32768
|
438
|
+
optional :name, :string, 32769
|
439
|
+
optional :healthy, :bool, 32770
|
440
|
+
optional :tags, :message, 32771, "v1.Tags"
|
441
|
+
optional :secret_store_id, :string, 32772
|
442
|
+
optional :egress_filter, :string, 32773
|
443
|
+
optional :bind_interface, :string, 32774
|
444
|
+
optional :proxy_cluster_id, :string, 32776
|
445
|
+
optional :subdomain, :string, 32775
|
446
|
+
optional :output, :string, 1
|
447
|
+
optional :port_override, :int32, 2
|
448
|
+
optional :region, :string, 3
|
449
|
+
optional :role_arn, :string, 4
|
450
|
+
optional :role_external_id, :string, 5
|
451
|
+
end
|
435
452
|
add_message "v1.AuroraMysql" do
|
436
453
|
optional :id, :string, 32768
|
437
454
|
optional :name, :string, 32769
|
@@ -1875,6 +1892,7 @@ module V1
|
|
1875
1892
|
AmazonES = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonES").msgclass
|
1876
1893
|
AmazonMQAMQP091 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonMQAMQP091").msgclass
|
1877
1894
|
Athena = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Athena").msgclass
|
1895
|
+
AthenaIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AthenaIAM").msgclass
|
1878
1896
|
AuroraMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraMysql").msgclass
|
1879
1897
|
AuroraMysqlIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraMysqlIAM").msgclass
|
1880
1898
|
AuroraPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgres").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -3290,6 +3290,66 @@ module SDM
|
|
3290
3290
|
end
|
3291
3291
|
items
|
3292
3292
|
end
|
3293
|
+
def self.convert_athena_iam_to_porcelain(plumbing)
|
3294
|
+
if plumbing == nil
|
3295
|
+
return nil
|
3296
|
+
end
|
3297
|
+
porcelain = AthenaIAM.new()
|
3298
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
3299
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3300
|
+
porcelain.healthy = (plumbing.healthy)
|
3301
|
+
porcelain.id = (plumbing.id)
|
3302
|
+
porcelain.name = (plumbing.name)
|
3303
|
+
porcelain.output = (plumbing.output)
|
3304
|
+
porcelain.port_override = (plumbing.port_override)
|
3305
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
3306
|
+
porcelain.region = (plumbing.region)
|
3307
|
+
porcelain.role_arn = (plumbing.role_arn)
|
3308
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
3309
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3310
|
+
porcelain.subdomain = (plumbing.subdomain)
|
3311
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3312
|
+
porcelain
|
3313
|
+
end
|
3314
|
+
|
3315
|
+
def self.convert_athena_iam_to_plumbing(porcelain)
|
3316
|
+
if porcelain == nil
|
3317
|
+
return nil
|
3318
|
+
end
|
3319
|
+
plumbing = V1::AthenaIAM.new()
|
3320
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
3321
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
3322
|
+
plumbing.healthy = (porcelain.healthy)
|
3323
|
+
plumbing.id = (porcelain.id)
|
3324
|
+
plumbing.name = (porcelain.name)
|
3325
|
+
plumbing.output = (porcelain.output)
|
3326
|
+
plumbing.port_override = (porcelain.port_override)
|
3327
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
3328
|
+
plumbing.region = (porcelain.region)
|
3329
|
+
plumbing.role_arn = (porcelain.role_arn)
|
3330
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
3331
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
3332
|
+
plumbing.subdomain = (porcelain.subdomain)
|
3333
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
3334
|
+
plumbing
|
3335
|
+
end
|
3336
|
+
def self.convert_repeated_athena_iam_to_plumbing(porcelains)
|
3337
|
+
items = Array.new
|
3338
|
+
porcelains.each do |porcelain|
|
3339
|
+
plumbing = convert_athena_iam_to_plumbing(porcelain)
|
3340
|
+
items.append(plumbing)
|
3341
|
+
end
|
3342
|
+
items
|
3343
|
+
end
|
3344
|
+
|
3345
|
+
def self.convert_repeated_athena_iam_to_porcelain(plumbings)
|
3346
|
+
items = Array.new
|
3347
|
+
plumbings.each do |plumbing|
|
3348
|
+
porcelain = convert_athena_iam_to_porcelain(plumbing)
|
3349
|
+
items.append(porcelain)
|
3350
|
+
end
|
3351
|
+
items
|
3352
|
+
end
|
3293
3353
|
def self.convert_aurora_mysql_to_porcelain(plumbing)
|
3294
3354
|
if plumbing == nil
|
3295
3355
|
return nil
|
@@ -10910,6 +10970,9 @@ module SDM
|
|
10910
10970
|
if porcelain.instance_of? Athena
|
10911
10971
|
plumbing.athena = convert_athena_to_plumbing(porcelain)
|
10912
10972
|
end
|
10973
|
+
if porcelain.instance_of? AthenaIAM
|
10974
|
+
plumbing.athena_iam = convert_athena_iam_to_plumbing(porcelain)
|
10975
|
+
end
|
10913
10976
|
if porcelain.instance_of? AuroraMysql
|
10914
10977
|
plumbing.aurora_mysql = convert_aurora_mysql_to_plumbing(porcelain)
|
10915
10978
|
end
|
@@ -11205,6 +11268,9 @@ module SDM
|
|
11205
11268
|
if plumbing.athena != nil
|
11206
11269
|
return convert_athena_to_porcelain(plumbing.athena)
|
11207
11270
|
end
|
11271
|
+
if plumbing.athena_iam != nil
|
11272
|
+
return convert_athena_iam_to_porcelain(plumbing.athena_iam)
|
11273
|
+
end
|
11208
11274
|
if plumbing.aurora_mysql != nil
|
11209
11275
|
return convert_aurora_mysql_to_porcelain(plumbing.aurora_mysql)
|
11210
11276
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -2980,6 +2980,78 @@ module SDM
|
|
2980
2980
|
end
|
2981
2981
|
end
|
2982
2982
|
|
2983
|
+
# AthenaIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
2984
|
+
class AthenaIAM
|
2985
|
+
# 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.
|
2986
|
+
attr_accessor :bind_interface
|
2987
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2988
|
+
attr_accessor :egress_filter
|
2989
|
+
# True if the datasource is reachable and the credentials are valid.
|
2990
|
+
attr_accessor :healthy
|
2991
|
+
# Unique identifier of the Resource.
|
2992
|
+
attr_accessor :id
|
2993
|
+
# Unique human-readable name of the Resource.
|
2994
|
+
attr_accessor :name
|
2995
|
+
# The AWS S3 output location.
|
2996
|
+
attr_accessor :output
|
2997
|
+
# The local port used by clients to connect to this resource.
|
2998
|
+
attr_accessor :port_override
|
2999
|
+
# ID of the proxy cluster for this resource, if any.
|
3000
|
+
attr_accessor :proxy_cluster_id
|
3001
|
+
# The AWS region to connect to e.g. us-east-1.
|
3002
|
+
attr_accessor :region
|
3003
|
+
# The role to assume after logging in.
|
3004
|
+
attr_accessor :role_arn
|
3005
|
+
# The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
|
3006
|
+
attr_accessor :role_external_id
|
3007
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3008
|
+
attr_accessor :secret_store_id
|
3009
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
3010
|
+
attr_accessor :subdomain
|
3011
|
+
# Tags is a map of key, value pairs.
|
3012
|
+
attr_accessor :tags
|
3013
|
+
|
3014
|
+
def initialize(
|
3015
|
+
bind_interface: nil,
|
3016
|
+
egress_filter: nil,
|
3017
|
+
healthy: nil,
|
3018
|
+
id: nil,
|
3019
|
+
name: nil,
|
3020
|
+
output: nil,
|
3021
|
+
port_override: nil,
|
3022
|
+
proxy_cluster_id: nil,
|
3023
|
+
region: nil,
|
3024
|
+
role_arn: nil,
|
3025
|
+
role_external_id: nil,
|
3026
|
+
secret_store_id: nil,
|
3027
|
+
subdomain: nil,
|
3028
|
+
tags: nil
|
3029
|
+
)
|
3030
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
3031
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3032
|
+
@healthy = healthy == nil ? false : healthy
|
3033
|
+
@id = id == nil ? "" : id
|
3034
|
+
@name = name == nil ? "" : name
|
3035
|
+
@output = output == nil ? "" : output
|
3036
|
+
@port_override = port_override == nil ? 0 : port_override
|
3037
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
3038
|
+
@region = region == nil ? "" : region
|
3039
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
3040
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
3041
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3042
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
3043
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3044
|
+
end
|
3045
|
+
|
3046
|
+
def to_json(options = {})
|
3047
|
+
hash = {}
|
3048
|
+
self.instance_variables.each do |var|
|
3049
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
3050
|
+
end
|
3051
|
+
hash.to_json
|
3052
|
+
end
|
3053
|
+
end
|
3054
|
+
|
2983
3055
|
class AuroraMysql
|
2984
3056
|
# 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.
|
2985
3057
|
attr_accessor :bind_interface
|
@@ -3063,7 +3135,6 @@ module SDM
|
|
3063
3135
|
end
|
3064
3136
|
end
|
3065
3137
|
|
3066
|
-
# AuroraMysqlIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
3067
3138
|
class AuroraMysqlIAM
|
3068
3139
|
# 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.
|
3069
3140
|
attr_accessor :bind_interface
|
@@ -5239,7 +5310,6 @@ module SDM
|
|
5239
5310
|
end
|
5240
5311
|
end
|
5241
5312
|
|
5242
|
-
# DynamoDBIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
5243
5313
|
class DynamoDBIAM
|
5244
5314
|
# 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.
|
5245
5315
|
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 = "2024-03-28"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/12.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/12.8.0"
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
34
34
|
|
35
35
|
# Creates a new strongDM API client.
|
data/lib/svc.rb
CHANGED
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.
|
4
|
+
version: 12.8.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: 2025-01-
|
11
|
+
date: 2025-01-27 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-4a49d215f7bcf207a90a954bfbc4c801b9ffd5fb.idx"
|
85
|
+
- "./.git/objects/pack/pack-4a49d215f7bcf207a90a954bfbc4c801b9ffd5fb.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|