strongdm 4.4.1 → 4.5.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: e9a9586047a454e3f7d49f1852a1b481ac0118958e30dd05f74ac00cedcd9ad5
4
- data.tar.gz: de74bd0e163fc3a985f9c6e483035bb9e51428a4efb9f7ebb965c7fd910e58e1
3
+ metadata.gz: 68a79d102b17a60eb69e7c907886c71f51d50476bf350a3c50d464c9b0b5f01a
4
+ data.tar.gz: 7e02e4e713304c89b0b9fa901da5fa72df98cd29200dbc372a31be7b48f8e7a0
5
5
  SHA512:
6
- metadata.gz: 7c870bbfb60b4c17215caa526d2a06c518ccb57369036a7a30b4985b69e621aa1252ceccf89d469fbf0f8602e22a0bc315f59dff87cd49d997df5534c59191d8
7
- data.tar.gz: e8a21f51b8681a89503df9b706863267100651077d7ed52184a181fb68adc526720f61b534e9c73491c0cb8b9f9db296aaafc4e115bbe9f98dc5982830f5c0c0
6
+ metadata.gz: 6f4b0b01bbdfe376ee1a8d9026bc497c9e7354fce21ef27e41a70d74e7cf27afbadef0e962a6454348210c47088836a0242aa503701c0eb12b35d396791f71cd
7
+ data.tar.gz: bedc47fbfa813dff5ddcf44ef9803c9b5ca072b612bdf026ee3bda02014e275808d4b10d047a72b456734c665c96275bd500e72646a7f8d5cfe75c83cadb315e
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- be896a77988796e24875925fd44919a667749986
1
+ a6f7cd7cd796d31adea0950366f45875ff0bbccc
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 be896a77988796e24875925fd44919a667749986 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- be896a77988796e24875925fd44919a667749986 be896a77988796e24875925fd44919a667749986 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 checkout: moving from master to master
3
- be896a77988796e24875925fd44919a667749986 def18d4d7f07d6132af4c4b7cb79cae369cde163 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 a6f7cd7cd796d31adea0950366f45875ff0bbccc root <root@551c3e6c7e03.(none)> 1692807689 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ a6f7cd7cd796d31adea0950366f45875ff0bbccc a6f7cd7cd796d31adea0950366f45875ff0bbccc root <root@551c3e6c7e03.(none)> 1692807689 +0000 checkout: moving from master to master
3
+ a6f7cd7cd796d31adea0950366f45875ff0bbccc 84fea4167681751281741524facd056dd2b91b77 root <root@551c3e6c7e03.(none)> 1692807689 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 be896a77988796e24875925fd44919a667749986 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- be896a77988796e24875925fd44919a667749986 def18d4d7f07d6132af4c4b7cb79cae369cde163 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 a6f7cd7cd796d31adea0950366f45875ff0bbccc root <root@551c3e6c7e03.(none)> 1692807689 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ a6f7cd7cd796d31adea0950366f45875ff0bbccc 84fea4167681751281741524facd056dd2b91b77 root <root@551c3e6c7e03.(none)> 1692807689 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 be896a77988796e24875925fd44919a667749986 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 a6f7cd7cd796d31adea0950366f45875ff0bbccc root <root@551c3e6c7e03.(none)> 1692807689 +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
- def18d4d7f07d6132af4c4b7cb79cae369cde163 refs/remotes/origin/development
3
- be896a77988796e24875925fd44919a667749986 refs/remotes/origin/master
2
+ 84fea4167681751281741524facd056dd2b91b77 refs/remotes/origin/development
3
+ a6f7cd7cd796d31adea0950366f45875ff0bbccc 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
@@ -75,3 +75,5 @@ d39111ffa2c85b26a22a8bb3ddff212ac2228e1f refs/tags/v4.1.0
75
75
  08f4675a1557ed133181105c72b37ffbef084740 refs/tags/v4.2.0
76
76
  1cb2610175dbf43344602d4446e90119ee37b10a refs/tags/v4.3.0
77
77
  be896a77988796e24875925fd44919a667749986 refs/tags/v4.4.0
78
+ def18d4d7f07d6132af4c4b7cb79cae369cde163 refs/tags/v4.4.1
79
+ a6f7cd7cd796d31adea0950366f45875ff0bbccc refs/tags/v4.4.2
@@ -1 +1 @@
1
- def18d4d7f07d6132af4c4b7cb79cae369cde163
1
+ 84fea4167681751281741524facd056dd2b91b77
data/lib/constants.rb CHANGED
@@ -23,6 +23,7 @@ module SDM
23
23
  DATABASE_ADMIN = "database-admin"
24
24
  TEAM_LEADER = "multi-team-leader"
25
25
  USER = "user"
26
+ READ_ONLY_ADMIN = "read-only-admin"
26
27
  RELAY = "relay"
27
28
  ADMIN_TOKEN = "admin-token"
28
29
  SCIM_TOKEN = "scim-token"
@@ -207,6 +208,7 @@ module SDM
207
208
  RELAY_UPDATED_NAME = "relay name updated"
208
209
  RELAY_DELETED = "relay deleted"
209
210
  ORG_PUBLIC_KEY_UPDATED = "public key updated"
211
+ ORG_DISCARD_REPLAYS_UPDATED = "discard replays updated"
210
212
  ORG_ENFORCE_PORT_OVERRIDES_UPDATED = "port override enforcement updated"
211
213
  ORG_SERVICE_AUTO_CONNECT_UPDATED = "service account auto-connect updated"
212
214
  ORG_SELF_REGISTRATION_ACTIVATED = "self-registration activated"
@@ -1266,6 +1266,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1266
1266
  optional :egress_filter, :string, 32773
1267
1267
  optional :bind_interface, :string, 32774
1268
1268
  optional :subdomain, :string, 32775
1269
+ optional :allow_deprecated_encryption, :bool, 9
1269
1270
  optional :database, :string, 4
1270
1271
  optional :hostname, :string, 1
1271
1272
  optional :override_database, :bool, 8
@@ -1284,6 +1285,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1284
1285
  optional :egress_filter, :string, 32773
1285
1286
  optional :bind_interface, :string, 32774
1286
1287
  optional :subdomain, :string, 32775
1288
+ optional :allow_deprecated_encryption, :bool, 10
1287
1289
  optional :client_id, :string, 2
1288
1290
  optional :database, :string, 4
1289
1291
  optional :hostname, :string, 1
@@ -1303,6 +1305,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1303
1305
  optional :egress_filter, :string, 32773
1304
1306
  optional :bind_interface, :string, 32774
1305
1307
  optional :subdomain, :string, 32775
1308
+ optional :allow_deprecated_encryption, :bool, 12
1306
1309
  optional :database, :string, 4
1307
1310
  optional :hostname, :string, 1
1308
1311
  optional :keytab, :string, 3
data/lib/grpc/plumbing.rb CHANGED
@@ -8685,6 +8685,7 @@ module SDM
8685
8685
  return nil
8686
8686
  end
8687
8687
  porcelain = SQLServer.new()
8688
+ porcelain.allow_deprecated_encryption = (plumbing.allow_deprecated_encryption)
8688
8689
  porcelain.bind_interface = (plumbing.bind_interface)
8689
8690
  porcelain.database = (plumbing.database)
8690
8691
  porcelain.egress_filter = (plumbing.egress_filter)
@@ -8709,6 +8710,7 @@ module SDM
8709
8710
  return nil
8710
8711
  end
8711
8712
  plumbing = V1::SQLServer.new()
8713
+ plumbing.allow_deprecated_encryption = (porcelain.allow_deprecated_encryption)
8712
8714
  plumbing.bind_interface = (porcelain.bind_interface)
8713
8715
  plumbing.database = (porcelain.database)
8714
8716
  plumbing.egress_filter = (porcelain.egress_filter)
@@ -8749,6 +8751,7 @@ module SDM
8749
8751
  return nil
8750
8752
  end
8751
8753
  porcelain = SQLServerAzureAD.new()
8754
+ porcelain.allow_deprecated_encryption = (plumbing.allow_deprecated_encryption)
8752
8755
  porcelain.bind_interface = (plumbing.bind_interface)
8753
8756
  porcelain.client_id = (plumbing.client_id)
8754
8757
  porcelain.database = (plumbing.database)
@@ -8774,6 +8777,7 @@ module SDM
8774
8777
  return nil
8775
8778
  end
8776
8779
  plumbing = V1::SQLServerAzureAD.new()
8780
+ plumbing.allow_deprecated_encryption = (porcelain.allow_deprecated_encryption)
8777
8781
  plumbing.bind_interface = (porcelain.bind_interface)
8778
8782
  plumbing.client_id = (porcelain.client_id)
8779
8783
  plumbing.database = (porcelain.database)
@@ -8815,6 +8819,7 @@ module SDM
8815
8819
  return nil
8816
8820
  end
8817
8821
  porcelain = SQLServerKerberosAD.new()
8822
+ porcelain.allow_deprecated_encryption = (plumbing.allow_deprecated_encryption)
8818
8823
  porcelain.bind_interface = (plumbing.bind_interface)
8819
8824
  porcelain.database = (plumbing.database)
8820
8825
  porcelain.egress_filter = (plumbing.egress_filter)
@@ -8842,6 +8847,7 @@ module SDM
8842
8847
  return nil
8843
8848
  end
8844
8849
  plumbing = V1::SQLServerKerberosAD.new()
8850
+ plumbing.allow_deprecated_encryption = (porcelain.allow_deprecated_encryption)
8845
8851
  plumbing.bind_interface = (porcelain.bind_interface)
8846
8852
  plumbing.database = (porcelain.database)
8847
8853
  plumbing.egress_filter = (porcelain.egress_filter)
@@ -2159,7 +2159,7 @@ module SDM
2159
2159
  class AuroraMysql
2160
2160
  # 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.
2161
2161
  attr_accessor :bind_interface
2162
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
2162
+ # The database for healthchecks. Does not affect client requests
2163
2163
  attr_accessor :database
2164
2164
  # A filter applied to the routing logic to pin datasource to nodes.
2165
2165
  attr_accessor :egress_filter
@@ -2439,7 +2439,7 @@ module SDM
2439
2439
  class AzureMysql
2440
2440
  # 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.
2441
2441
  attr_accessor :bind_interface
2442
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
2442
+ # The database for healthchecks. Does not affect client requests.
2443
2443
  attr_accessor :database
2444
2444
  # A filter applied to the routing logic to pin datasource to nodes.
2445
2445
  attr_accessor :egress_filter
@@ -2917,7 +2917,7 @@ module SDM
2917
2917
  class Clustrix
2918
2918
  # 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.
2919
2919
  attr_accessor :bind_interface
2920
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
2920
+ # The database for healthchecks. Does not affect client requests.
2921
2921
  attr_accessor :database
2922
2922
  # A filter applied to the routing logic to pin datasource to nodes.
2923
2923
  attr_accessor :egress_filter
@@ -4847,7 +4847,7 @@ module SDM
4847
4847
  attr_accessor :client_certificate
4848
4848
  # The key to authenticate TLS connections with.
4849
4849
  attr_accessor :client_key
4850
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
4850
+ # The database for healthchecks. Does not affect client requests.
4851
4851
  attr_accessor :database
4852
4852
  # A filter applied to the routing logic to pin datasource to nodes.
4853
4853
  attr_accessor :egress_filter
@@ -5027,7 +5027,7 @@ module SDM
5027
5027
  class Maria
5028
5028
  # 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.
5029
5029
  attr_accessor :bind_interface
5030
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
5030
+ # The database for healthchecks. Does not affect client requests.
5031
5031
  attr_accessor :database
5032
5032
  # A filter applied to the routing logic to pin datasource to nodes.
5033
5033
  attr_accessor :egress_filter
@@ -5165,7 +5165,7 @@ module SDM
5165
5165
  class Memsql
5166
5166
  # 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.
5167
5167
  attr_accessor :bind_interface
5168
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
5168
+ # The database for healthchecks. Does not affect client requests.
5169
5169
  attr_accessor :database
5170
5170
  # A filter applied to the routing logic to pin datasource to nodes.
5171
5171
  attr_accessor :egress_filter
@@ -5638,7 +5638,7 @@ module SDM
5638
5638
  class Mysql
5639
5639
  # 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.
5640
5640
  attr_accessor :bind_interface
5641
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
5641
+ # The database for healthchecks. Does not affect client requests.
5642
5642
  attr_accessor :database
5643
5643
  # A filter applied to the routing logic to pin datasource to nodes.
5644
5644
  attr_accessor :egress_filter
@@ -8181,9 +8181,12 @@ module SDM
8181
8181
  end
8182
8182
 
8183
8183
  class SQLServer
8184
+ # Whether to allow deprecated encryption protocols to be used for this resource. For example,
8185
+ # TLS 1.0.
8186
+ attr_accessor :allow_deprecated_encryption
8184
8187
  # 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.
8185
8188
  attr_accessor :bind_interface
8186
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
8189
+ # The database for healthchecks, and used for clients if Override Default Database is true.
8187
8190
  attr_accessor :database
8188
8191
  # A filter applied to the routing logic to pin datasource to nodes.
8189
8192
  attr_accessor :egress_filter
@@ -8215,6 +8218,7 @@ module SDM
8215
8218
  attr_accessor :username
8216
8219
 
8217
8220
  def initialize(
8221
+ allow_deprecated_encryption: nil,
8218
8222
  bind_interface: nil,
8219
8223
  database: nil,
8220
8224
  egress_filter: nil,
@@ -8232,6 +8236,7 @@ module SDM
8232
8236
  tags: nil,
8233
8237
  username: nil
8234
8238
  )
8239
+ @allow_deprecated_encryption = allow_deprecated_encryption == nil ? false : allow_deprecated_encryption
8235
8240
  @bind_interface = bind_interface == nil ? "" : bind_interface
8236
8241
  @database = database == nil ? "" : database
8237
8242
  @egress_filter = egress_filter == nil ? "" : egress_filter
@@ -8260,11 +8265,14 @@ module SDM
8260
8265
  end
8261
8266
 
8262
8267
  class SQLServerAzureAD
8268
+ # Whether to allow deprecated encryption protocols to be used for this resource. For example,
8269
+ # TLS 1.0.
8270
+ attr_accessor :allow_deprecated_encryption
8263
8271
  # 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.
8264
8272
  attr_accessor :bind_interface
8265
8273
  # The Azure AD application (client) ID with which to authenticate.
8266
8274
  attr_accessor :client_id
8267
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
8275
+ # The database for healthchecks, and used for clients if Override Default Database is true.
8268
8276
  attr_accessor :database
8269
8277
  # A filter applied to the routing logic to pin datasource to nodes.
8270
8278
  attr_accessor :egress_filter
@@ -8296,6 +8304,7 @@ module SDM
8296
8304
  attr_accessor :tenant_id
8297
8305
 
8298
8306
  def initialize(
8307
+ allow_deprecated_encryption: nil,
8299
8308
  bind_interface: nil,
8300
8309
  client_id: nil,
8301
8310
  database: nil,
@@ -8314,6 +8323,7 @@ module SDM
8314
8323
  tags: nil,
8315
8324
  tenant_id: nil
8316
8325
  )
8326
+ @allow_deprecated_encryption = allow_deprecated_encryption == nil ? false : allow_deprecated_encryption
8317
8327
  @bind_interface = bind_interface == nil ? "" : bind_interface
8318
8328
  @client_id = client_id == nil ? "" : client_id
8319
8329
  @database = database == nil ? "" : database
@@ -8343,9 +8353,12 @@ module SDM
8343
8353
  end
8344
8354
 
8345
8355
  class SQLServerKerberosAD
8356
+ # Whether to allow deprecated encryption protocols to be used for this resource. For example,
8357
+ # TLS 1.0.
8358
+ attr_accessor :allow_deprecated_encryption
8346
8359
  # 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.
8347
8360
  attr_accessor :bind_interface
8348
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
8361
+ # The database for healthchecks, and used for clients if Override Default Database is true.
8349
8362
  attr_accessor :database
8350
8363
  # A filter applied to the routing logic to pin datasource to nodes.
8351
8364
  attr_accessor :egress_filter
@@ -8383,6 +8396,7 @@ module SDM
8383
8396
  attr_accessor :username
8384
8397
 
8385
8398
  def initialize(
8399
+ allow_deprecated_encryption: nil,
8386
8400
  bind_interface: nil,
8387
8401
  database: nil,
8388
8402
  egress_filter: nil,
@@ -8403,6 +8417,7 @@ module SDM
8403
8417
  tags: nil,
8404
8418
  username: nil
8405
8419
  )
8420
+ @allow_deprecated_encryption = allow_deprecated_encryption == nil ? false : allow_deprecated_encryption
8406
8421
  @bind_interface = bind_interface == nil ? "" : bind_interface
8407
8422
  @database = database == nil ? "" : database
8408
8423
  @egress_filter = egress_filter == nil ? "" : egress_filter
@@ -8850,7 +8865,7 @@ module SDM
8850
8865
  class SingleStore
8851
8866
  # 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.
8852
8867
  attr_accessor :bind_interface
8853
- # The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
8868
+ # The database for healthchecks. Does not affect client requests.
8854
8869
  attr_accessor :database
8855
8870
  # A filter applied to the routing logic to pin datasource to nodes.
8856
8871
  attr_accessor :egress_filter
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/4.4.1"
32
+ USER_AGENT = "strongdm-sdk-ruby/4.5.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/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "4.4.1"
16
+ VERSION = "4.5.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 = "4.4.1"
16
+ VERSION = "4.5.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: 4.4.1
4
+ version: 4.5.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-08-16 00:00:00.000000000 Z
11
+ date: 2023-08-23 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-ed1d3ea443c0a0f442dc86b21f86e97df43ad2e3.idx"
85
- - "./.git/objects/pack/pack-ed1d3ea443c0a0f442dc86b21f86e97df43ad2e3.pack"
84
+ - "./.git/objects/pack/pack-c14f01f196376ecabf290358decd811589b08a8f.idx"
85
+ - "./.git/objects/pack/pack-c14f01f196376ecabf290358decd811589b08a8f.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"