strongdm 12.0.0 → 12.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7d3e0c93cc793df4ce696ca518ff63fa3b9b6c1f13841e39034f2560543f7cb
4
- data.tar.gz: 364522e62b0020d7cf85534a2dcf68632a086e79da11447a259bc84aaaa62cc5
3
+ metadata.gz: 19eca4876eca9b6a585428f97ae99c07cdaacece952b3e7b28869b4328d85f03
4
+ data.tar.gz: 28a5f9d2e59e1e893df970cce6e10bf0d7f893a128fd4a631f16f202762d3958
5
5
  SHA512:
6
- metadata.gz: ccd234e7039d8f7919bbff69e08f86ba69b4bde96f71b59c62026dc081b5a0b81ecfe9962a86d56cc7461a303d95177b47d396dbe254eb9368b0d054ab4b1d5f
7
- data.tar.gz: cf8af2ea28e7b8799f50c3b1f5a33a8438d1e717e40106a35d2f79b3189bca8af92cca1506a67709b656f117faf6670d100f19563c1f37ca9728d1aeafaef7f1
6
+ metadata.gz: 6c49327a2a795a73beb71bfbb7c53b6c45c0c4695bfd7b3e7aba5dbc1596e47c5244c95fb3b2eaa5b3bbce8154247b19ce57967c2bdd8ae65be7e814fe82e577
7
+ data.tar.gz: 24de68a954df83449fea6db5b4a8cc8d0077a7c784f249fd62f9f29631144222cb2dc6b8a8f23452ee198d82191e7cc8f88a8425677974193237716331e2fa70
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- e1030c394c76e14bf727d36e72e2f3fdf56b5653
1
+ 62153b27115243969f8f6048b9496f7801efb619
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@e4e086f4ad2c.(none)> 1736362933 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- e1030c394c76e14bf727d36e72e2f3fdf56b5653 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@e4e086f4ad2c.(none)> 1736362933 +0000 checkout: moving from master to master
3
- e1030c394c76e14bf727d36e72e2f3fdf56b5653 dea63eda193578749a7430e674f939e5f452a50b root <root@e4e086f4ad2c.(none)> 1736362934 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 62153b27115243969f8f6048b9496f7801efb619 root <root@ed93f356ec71.(none)> 1736889239 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 62153b27115243969f8f6048b9496f7801efb619 62153b27115243969f8f6048b9496f7801efb619 root <root@ed93f356ec71.(none)> 1736889239 +0000 checkout: moving from master to master
3
+ 62153b27115243969f8f6048b9496f7801efb619 d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 root <root@ed93f356ec71.(none)> 1736889239 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@e4e086f4ad2c.(none)> 1736362933 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- e1030c394c76e14bf727d36e72e2f3fdf56b5653 dea63eda193578749a7430e674f939e5f452a50b root <root@e4e086f4ad2c.(none)> 1736362934 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 62153b27115243969f8f6048b9496f7801efb619 root <root@ed93f356ec71.(none)> 1736889239 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 62153b27115243969f8f6048b9496f7801efb619 d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 root <root@ed93f356ec71.(none)> 1736889239 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@e4e086f4ad2c.(none)> 1736362933 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 62153b27115243969f8f6048b9496f7801efb619 root <root@ed93f356ec71.(none)> 1736889239 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- dea63eda193578749a7430e674f939e5f452a50b refs/remotes/origin/development
3
- e1030c394c76e14bf727d36e72e2f3fdf56b5653 refs/remotes/origin/master
2
+ d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 refs/remotes/origin/development
3
+ 62153b27115243969f8f6048b9496f7801efb619 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
@@ -58,6 +58,8 @@ d181d0dc49250f81e47eea64cdd8e6a93f7a95da refs/tags/v11.5.0
58
58
  cc3ff44b177b0c33bfbd0b0b9d76dc9679d871fd refs/tags/v11.7.0
59
59
  58e36c8f4e2e5c8e9a45b1a9d1802f6379a3daa7 refs/tags/v11.8.0
60
60
  867fdf37a506e4ee5726e06b65a2517413077d23 refs/tags/v11.9.0
61
+ dea63eda193578749a7430e674f939e5f452a50b refs/tags/v12.0.0
62
+ 62153b27115243969f8f6048b9496f7801efb619 refs/tags/v12.1.0
61
63
  e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
62
64
  62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
63
65
  9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
@@ -1 +1 @@
1
- dea63eda193578749a7430e674f939e5f452a50b
1
+ d3ba64b9e0147a8f79b33775f1ca635dbcad3b68
data/lib/constants.rb CHANGED
@@ -250,6 +250,7 @@ module SDM
250
250
  SECRET_STORE_DELETED = "secret store deleted"
251
251
  SECRET_ENGINE_ADDED = "secret engine added"
252
252
  SECRET_ENGINE_UPDATED = "secret engine updated"
253
+ SECRET_ENGINE_ROTATED = "secret engine's credentials updated"
253
254
  SECRET_ENGINE_DELETED = "secret engine deleted"
254
255
  REMOTE_IDENTITY_GROUP_CREATED = "remote identity group created"
255
256
  REMOTE_IDENTITY_GROUP_UPDATED = "remote identity group updated"
@@ -64,6 +64,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
64
64
  optional :account_id, :string, 3
65
65
  optional :start_from, :message, 4, "google.protobuf.Timestamp"
66
66
  optional :valid_until, :message, 5, "google.protobuf.Timestamp"
67
+ optional :access_rule, :string, 6
67
68
  end
68
69
  end
69
70
  end
@@ -41,6 +41,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
41
  optional :amazon_mqamqp_091, :message, 2501, "v1.AmazonMQAMQP091"
42
42
  optional :athena, :message, 100, "v1.Athena"
43
43
  optional :aurora_mysql, :message, 1101, "v1.AuroraMysql"
44
+ optional :aurora_mysql_iam, :message, 1109, "v1.AuroraMysqlIAM"
44
45
  optional :aurora_postgres, :message, 1301, "v1.AuroraPostgres"
45
46
  optional :aurora_postgres_iam, :message, 1309, "v1.AuroraPostgresIAM"
46
47
  optional :azure, :message, 2800, "v1.Azure"
@@ -445,6 +446,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
445
446
  optional :use_azure_single_server_usernames, :bool, 10
446
447
  optional :username, :string, 2
447
448
  end
449
+ add_message "v1.AuroraMysqlIAM" do
450
+ optional :id, :string, 32768
451
+ optional :name, :string, 32769
452
+ optional :healthy, :bool, 32770
453
+ optional :tags, :message, 32771, "v1.Tags"
454
+ optional :secret_store_id, :string, 32772
455
+ optional :egress_filter, :string, 32773
456
+ optional :bind_interface, :string, 32774
457
+ optional :proxy_cluster_id, :string, 32776
458
+ optional :subdomain, :string, 32775
459
+ optional :database, :string, 4
460
+ optional :hostname, :string, 1
461
+ optional :port, :int32, 6
462
+ optional :port_override, :int32, 5
463
+ optional :region, :string, 3
464
+ optional :role_assumption_arn, :string, 8
465
+ optional :username, :string, 2
466
+ end
448
467
  add_message "v1.AuroraPostgres" do
449
468
  optional :id, :string, 32768
450
469
  optional :name, :string, 32769
@@ -1770,6 +1789,7 @@ module V1
1770
1789
  AmazonMQAMQP091 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonMQAMQP091").msgclass
1771
1790
  Athena = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Athena").msgclass
1772
1791
  AuroraMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraMysql").msgclass
1792
+ AuroraMysqlIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraMysqlIAM").msgclass
1773
1793
  AuroraPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgres").msgclass
1774
1794
  AuroraPostgresIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgresIAM").msgclass
1775
1795
  Azure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Azure").msgclass
data/lib/grpc/plumbing.rb CHANGED
@@ -3356,6 +3356,70 @@ module SDM
3356
3356
  end
3357
3357
  items
3358
3358
  end
3359
+ def self.convert_aurora_mysql_iam_to_porcelain(plumbing)
3360
+ if plumbing == nil
3361
+ return nil
3362
+ end
3363
+ porcelain = AuroraMysqlIAM.new()
3364
+ porcelain.bind_interface = (plumbing.bind_interface)
3365
+ porcelain.database = (plumbing.database)
3366
+ porcelain.egress_filter = (plumbing.egress_filter)
3367
+ porcelain.healthy = (plumbing.healthy)
3368
+ porcelain.hostname = (plumbing.hostname)
3369
+ porcelain.id = (plumbing.id)
3370
+ porcelain.name = (plumbing.name)
3371
+ porcelain.port = (plumbing.port)
3372
+ porcelain.port_override = (plumbing.port_override)
3373
+ porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
3374
+ porcelain.region = (plumbing.region)
3375
+ porcelain.role_assumption_arn = (plumbing.role_assumption_arn)
3376
+ porcelain.secret_store_id = (plumbing.secret_store_id)
3377
+ porcelain.subdomain = (plumbing.subdomain)
3378
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3379
+ porcelain.username = (plumbing.username)
3380
+ porcelain
3381
+ end
3382
+
3383
+ def self.convert_aurora_mysql_iam_to_plumbing(porcelain)
3384
+ if porcelain == nil
3385
+ return nil
3386
+ end
3387
+ plumbing = V1::AuroraMysqlIAM.new()
3388
+ plumbing.bind_interface = (porcelain.bind_interface)
3389
+ plumbing.database = (porcelain.database)
3390
+ plumbing.egress_filter = (porcelain.egress_filter)
3391
+ plumbing.healthy = (porcelain.healthy)
3392
+ plumbing.hostname = (porcelain.hostname)
3393
+ plumbing.id = (porcelain.id)
3394
+ plumbing.name = (porcelain.name)
3395
+ plumbing.port = (porcelain.port)
3396
+ plumbing.port_override = (porcelain.port_override)
3397
+ plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
3398
+ plumbing.region = (porcelain.region)
3399
+ plumbing.role_assumption_arn = (porcelain.role_assumption_arn)
3400
+ plumbing.secret_store_id = (porcelain.secret_store_id)
3401
+ plumbing.subdomain = (porcelain.subdomain)
3402
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
3403
+ plumbing.username = (porcelain.username)
3404
+ plumbing
3405
+ end
3406
+ def self.convert_repeated_aurora_mysql_iam_to_plumbing(porcelains)
3407
+ items = Array.new
3408
+ porcelains.each do |porcelain|
3409
+ plumbing = convert_aurora_mysql_iam_to_plumbing(porcelain)
3410
+ items.append(plumbing)
3411
+ end
3412
+ items
3413
+ end
3414
+
3415
+ def self.convert_repeated_aurora_mysql_iam_to_porcelain(plumbings)
3416
+ items = Array.new
3417
+ plumbings.each do |plumbing|
3418
+ porcelain = convert_aurora_mysql_iam_to_porcelain(plumbing)
3419
+ items.append(porcelain)
3420
+ end
3421
+ items
3422
+ end
3359
3423
  def self.convert_aurora_postgres_to_porcelain(plumbing)
3360
3424
  if plumbing == nil
3361
3425
  return nil
@@ -10545,6 +10609,9 @@ module SDM
10545
10609
  if porcelain.instance_of? AuroraMysql
10546
10610
  plumbing.aurora_mysql = convert_aurora_mysql_to_plumbing(porcelain)
10547
10611
  end
10612
+ if porcelain.instance_of? AuroraMysqlIAM
10613
+ plumbing.aurora_mysql_iam = convert_aurora_mysql_iam_to_plumbing(porcelain)
10614
+ end
10548
10615
  if porcelain.instance_of? AuroraPostgres
10549
10616
  plumbing.aurora_postgres = convert_aurora_postgres_to_plumbing(porcelain)
10550
10617
  end
@@ -10822,6 +10889,9 @@ module SDM
10822
10889
  if plumbing.aurora_mysql != nil
10823
10890
  return convert_aurora_mysql_to_porcelain(plumbing.aurora_mysql)
10824
10891
  end
10892
+ if plumbing.aurora_mysql_iam != nil
10893
+ return convert_aurora_mysql_iam_to_porcelain(plumbing.aurora_mysql_iam)
10894
+ end
10825
10895
  if plumbing.aurora_postgres != nil
10826
10896
  return convert_aurora_postgres_to_porcelain(plumbing.aurora_postgres)
10827
10897
  end
@@ -3063,6 +3063,86 @@ module SDM
3063
3063
  end
3064
3064
  end
3065
3065
 
3066
+ # AuroraMysqlIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
3067
+ class AuroraMysqlIAM
3068
+ # 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
+ attr_accessor :bind_interface
3070
+ # The database for healthchecks. Does not affect client requests
3071
+ attr_accessor :database
3072
+ # A filter applied to the routing logic to pin datasource to nodes.
3073
+ attr_accessor :egress_filter
3074
+ # True if the datasource is reachable and the credentials are valid.
3075
+ attr_accessor :healthy
3076
+ # The host to dial to initiate a connection from the egress node to this resource.
3077
+ attr_accessor :hostname
3078
+ # Unique identifier of the Resource.
3079
+ attr_accessor :id
3080
+ # Unique human-readable name of the Resource.
3081
+ attr_accessor :name
3082
+ # The port to dial to initiate a connection from the egress node to this resource.
3083
+ attr_accessor :port
3084
+ # The local port used by clients to connect to this resource.
3085
+ attr_accessor :port_override
3086
+ # ID of the proxy cluster for this resource, if any.
3087
+ attr_accessor :proxy_cluster_id
3088
+ # The AWS region to connect to.
3089
+ attr_accessor :region
3090
+ # If provided, the gateway/relay will try to assume this role instead of the underlying compute's role.
3091
+ attr_accessor :role_assumption_arn
3092
+ # ID of the secret store containing credentials for this resource, if any.
3093
+ attr_accessor :secret_store_id
3094
+ # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
3095
+ attr_accessor :subdomain
3096
+ # Tags is a map of key, value pairs.
3097
+ attr_accessor :tags
3098
+ # The username to authenticate with.
3099
+ attr_accessor :username
3100
+
3101
+ def initialize(
3102
+ bind_interface: nil,
3103
+ database: nil,
3104
+ egress_filter: nil,
3105
+ healthy: nil,
3106
+ hostname: nil,
3107
+ id: nil,
3108
+ name: nil,
3109
+ port: nil,
3110
+ port_override: nil,
3111
+ proxy_cluster_id: nil,
3112
+ region: nil,
3113
+ role_assumption_arn: nil,
3114
+ secret_store_id: nil,
3115
+ subdomain: nil,
3116
+ tags: nil,
3117
+ username: nil
3118
+ )
3119
+ @bind_interface = bind_interface == nil ? "" : bind_interface
3120
+ @database = database == nil ? "" : database
3121
+ @egress_filter = egress_filter == nil ? "" : egress_filter
3122
+ @healthy = healthy == nil ? false : healthy
3123
+ @hostname = hostname == nil ? "" : hostname
3124
+ @id = id == nil ? "" : id
3125
+ @name = name == nil ? "" : name
3126
+ @port = port == nil ? 0 : port
3127
+ @port_override = port_override == nil ? 0 : port_override
3128
+ @proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
3129
+ @region = region == nil ? "" : region
3130
+ @role_assumption_arn = role_assumption_arn == nil ? "" : role_assumption_arn
3131
+ @secret_store_id = secret_store_id == nil ? "" : secret_store_id
3132
+ @subdomain = subdomain == nil ? "" : subdomain
3133
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
3134
+ @username = username == nil ? "" : username
3135
+ end
3136
+
3137
+ def to_json(options = {})
3138
+ hash = {}
3139
+ self.instance_variables.each do |var|
3140
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
3141
+ end
3142
+ hash.to_json
3143
+ end
3144
+ end
3145
+
3066
3146
  class AuroraPostgres
3067
3147
  # 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.
3068
3148
  attr_accessor :bind_interface
@@ -5127,7 +5207,6 @@ module SDM
5127
5207
  end
5128
5208
  end
5129
5209
 
5130
- # GCPConsole is currently unstable, and its API may change, or it may be removed, without a major version bump.
5131
5210
  class GCPConsole
5132
5211
  # 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.
5133
5212
  attr_accessor :bind_interface
@@ -5234,7 +5313,6 @@ module SDM
5234
5313
  end
5235
5314
  end
5236
5315
 
5237
- # GCPWIF is currently unstable, and its API may change, or it may be removed, without a major version bump.
5238
5316
  class GCPWIF
5239
5317
  # 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.
5240
5318
  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.0.0"
32
+ USER_AGENT = "strongdm-sdk-ruby/12.2.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
@@ -4645,6 +4645,7 @@ module SDM #:nodoc:
4645
4645
  # {AmazonMQAMQP091}
4646
4646
  # {Athena}
4647
4647
  # {AuroraMysql}
4648
+ # {AuroraMysqlIAM}
4648
4649
  # {AuroraPostgres}
4649
4650
  # {AuroraPostgresIAM}
4650
4651
  # {AWS}
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "12.0.0"
16
+ VERSION = "12.2.0"
17
17
  end
data/lib/version.rb CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "12.0.0"
16
+ VERSION = "12.2.0"
17
17
  end
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.0.0
4
+ version: 12.2.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-08 00:00:00.000000000 Z
11
+ date: 2025-01-14 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-61e8f698f0975e8fb139189ff79c7c858800cbff.idx"
85
- - "./.git/objects/pack/pack-61e8f698f0975e8fb139189ff79c7c858800cbff.pack"
84
+ - "./.git/objects/pack/pack-ef9dc4ce84a064593bf88fefdf54ae14432b0437.idx"
85
+ - "./.git/objects/pack/pack-ef9dc4ce84a064593bf88fefdf54ae14432b0437.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"