strongdm 9.5.0 → 9.6.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-6337b631778d9e36dcf8451ebddad9bc12e76af5.idx → pack-67defbc64eb2c4ebfda7cdf44a463624d107449b.idx} +0 -0
- data/.git/objects/pack/{pack-6337b631778d9e36dcf8451ebddad9bc12e76af5.pack → pack-67defbc64eb2c4ebfda7cdf44a463624d107449b.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +19 -0
- data/lib/grpc/organization_history_pb.rb +1 -1
- data/lib/grpc/plumbing.rb +68 -0
- data/lib/models/porcelain.rb +76 -1
- 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: 6664b5344deff9097c1755d19200028f8243c82f5e67ac4169ff3303162352f0
|
4
|
+
data.tar.gz: '0818c8fbe98dabd375488a2ced52350cfa13806569cc4e5fea644c5d1697e30f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cf639560174e74436b78412e864fd5efb6d4da99926749bb438726e461ffe1e5d0083aa35af2572b318561aa5565614f22dae9f2b7362918894188f58b2ddd8
|
7
|
+
data.tar.gz: 9fbdd418bad8e40179127a900abb7183dbbb403b5e04206190032080774d64d2e3f8e276fc5eef37100b35a40b150dfba1b29cc1aad4b2dad5818f1ad78b4815
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
c364531ed10688edbdcf9523489096efd2239cbf
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 c364531ed10688edbdcf9523489096efd2239cbf root <root@2433e17e03d5.(none)> 1719965357 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
c364531ed10688edbdcf9523489096efd2239cbf c364531ed10688edbdcf9523489096efd2239cbf root <root@2433e17e03d5.(none)> 1719965357 +0000 checkout: moving from master to master
|
3
|
+
c364531ed10688edbdcf9523489096efd2239cbf 5693ebd7ca6850acaac70d0aeb7861cafc8885ab root <root@2433e17e03d5.(none)> 1719965357 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 c364531ed10688edbdcf9523489096efd2239cbf root <root@2433e17e03d5.(none)> 1719965357 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
c364531ed10688edbdcf9523489096efd2239cbf 5693ebd7ca6850acaac70d0aeb7861cafc8885ab root <root@2433e17e03d5.(none)> 1719965357 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 c364531ed10688edbdcf9523489096efd2239cbf root <root@2433e17e03d5.(none)> 1719965357 +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
|
+
5693ebd7ca6850acaac70d0aeb7861cafc8885ab refs/remotes/origin/development
|
3
|
+
c364531ed10688edbdcf9523489096efd2239cbf 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
|
@@ -113,3 +113,4 @@ f34575bc142eabf113dbbc5b40b3a16e0c026355 refs/tags/v7.1.0
|
|
113
113
|
74fd97d07c0510f0c612ce2611adadbba25e2e91 refs/tags/v9.2.0
|
114
114
|
16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e refs/tags/v9.3.0
|
115
115
|
9ac734600b0f9a60b184b7add20f826496dd7f92 refs/tags/v9.4.0
|
116
|
+
c364531ed10688edbdcf9523489096efd2239cbf refs/tags/v9.5.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
5693ebd7ca6850acaac70d0aeb7861cafc8885ab
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -101,6 +101,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
101
101
|
optional :ssh, :message, 1900, "v1.SSH"
|
102
102
|
optional :ssh_cert, :message, 1901, "v1.SSHCert"
|
103
103
|
optional :ssh_customer_key, :message, 1902, "v1.SSHCustomerKey"
|
104
|
+
optional :ssh_password, :message, 1904, "v1.SSHPassword"
|
104
105
|
optional :single_store, :message, 1105, "v1.SingleStore"
|
105
106
|
optional :snowflake, :message, 1700, "v1.Snowflake"
|
106
107
|
optional :snowsight, :message, 1701, "v1.Snowsight"
|
@@ -1440,6 +1441,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1440
1441
|
optional :private_key, :string, 4
|
1441
1442
|
optional :username, :string, 2
|
1442
1443
|
end
|
1444
|
+
add_message "v1.SSHPassword" do
|
1445
|
+
optional :id, :string, 32768
|
1446
|
+
optional :name, :string, 32769
|
1447
|
+
optional :healthy, :bool, 32770
|
1448
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1449
|
+
optional :secret_store_id, :string, 32772
|
1450
|
+
optional :egress_filter, :string, 32773
|
1451
|
+
optional :bind_interface, :string, 32774
|
1452
|
+
optional :subdomain, :string, 32775
|
1453
|
+
optional :allow_deprecated_key_exchanges, :bool, 6
|
1454
|
+
optional :hostname, :string, 1
|
1455
|
+
optional :password, :string, 4
|
1456
|
+
optional :port, :int32, 3
|
1457
|
+
optional :port_forwarding, :bool, 5
|
1458
|
+
optional :port_override, :int32, 7
|
1459
|
+
optional :username, :string, 2
|
1460
|
+
end
|
1443
1461
|
add_message "v1.SingleStore" do
|
1444
1462
|
optional :id, :string, 32768
|
1445
1463
|
optional :name, :string, 32769
|
@@ -1630,6 +1648,7 @@ module V1
|
|
1630
1648
|
SSH = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSH").msgclass
|
1631
1649
|
SSHCert = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHCert").msgclass
|
1632
1650
|
SSHCustomerKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHCustomerKey").msgclass
|
1651
|
+
SSHPassword = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHPassword").msgclass
|
1633
1652
|
SingleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SingleStore").msgclass
|
1634
1653
|
Snowflake = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Snowflake").msgclass
|
1635
1654
|
Snowsight = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Snowsight").msgclass
|
@@ -64,7 +64,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
64
64
|
optional :saml_metadata_url, :string, 23
|
65
65
|
optional :kind, :string, 24
|
66
66
|
optional :id, :string, 25
|
67
|
-
optional :
|
67
|
+
optional :loopback_range, :string, 26
|
68
68
|
optional :device_trust_enabled, :bool, 27
|
69
69
|
optional :device_trust_provider, :string, 28
|
70
70
|
end
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -9682,6 +9682,9 @@ module SDM
|
|
9682
9682
|
if porcelain.instance_of? SSHCustomerKey
|
9683
9683
|
plumbing.ssh_customer_key = convert_ssh_customer_key_to_plumbing(porcelain)
|
9684
9684
|
end
|
9685
|
+
if porcelain.instance_of? SSHPassword
|
9686
|
+
plumbing.ssh_password = convert_ssh_password_to_plumbing(porcelain)
|
9687
|
+
end
|
9685
9688
|
if porcelain.instance_of? Sybase
|
9686
9689
|
plumbing.sybase = convert_sybase_to_plumbing(porcelain)
|
9687
9690
|
end
|
@@ -9941,6 +9944,9 @@ module SDM
|
|
9941
9944
|
if plumbing.ssh_customer_key != nil
|
9942
9945
|
return convert_ssh_customer_key_to_porcelain(plumbing.ssh_customer_key)
|
9943
9946
|
end
|
9947
|
+
if plumbing.ssh_password != nil
|
9948
|
+
return convert_ssh_password_to_porcelain(plumbing.ssh_password)
|
9949
|
+
end
|
9944
9950
|
if plumbing.sybase != nil
|
9945
9951
|
return convert_sybase_to_porcelain(plumbing.sybase)
|
9946
9952
|
end
|
@@ -10940,6 +10946,68 @@ module SDM
|
|
10940
10946
|
end
|
10941
10947
|
items
|
10942
10948
|
end
|
10949
|
+
def self.convert_ssh_password_to_porcelain(plumbing)
|
10950
|
+
if plumbing == nil
|
10951
|
+
return nil
|
10952
|
+
end
|
10953
|
+
porcelain = SSHPassword.new()
|
10954
|
+
porcelain.allow_deprecated_key_exchanges = (plumbing.allow_deprecated_key_exchanges)
|
10955
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
10956
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
10957
|
+
porcelain.healthy = (plumbing.healthy)
|
10958
|
+
porcelain.hostname = (plumbing.hostname)
|
10959
|
+
porcelain.id = (plumbing.id)
|
10960
|
+
porcelain.name = (plumbing.name)
|
10961
|
+
porcelain.password = (plumbing.password)
|
10962
|
+
porcelain.port = (plumbing.port)
|
10963
|
+
porcelain.port_forwarding = (plumbing.port_forwarding)
|
10964
|
+
porcelain.port_override = (plumbing.port_override)
|
10965
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
10966
|
+
porcelain.subdomain = (plumbing.subdomain)
|
10967
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
10968
|
+
porcelain.username = (plumbing.username)
|
10969
|
+
porcelain
|
10970
|
+
end
|
10971
|
+
|
10972
|
+
def self.convert_ssh_password_to_plumbing(porcelain)
|
10973
|
+
if porcelain == nil
|
10974
|
+
return nil
|
10975
|
+
end
|
10976
|
+
plumbing = V1::SSHPassword.new()
|
10977
|
+
plumbing.allow_deprecated_key_exchanges = (porcelain.allow_deprecated_key_exchanges)
|
10978
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
10979
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
10980
|
+
plumbing.healthy = (porcelain.healthy)
|
10981
|
+
plumbing.hostname = (porcelain.hostname)
|
10982
|
+
plumbing.id = (porcelain.id)
|
10983
|
+
plumbing.name = (porcelain.name)
|
10984
|
+
plumbing.password = (porcelain.password)
|
10985
|
+
plumbing.port = (porcelain.port)
|
10986
|
+
plumbing.port_forwarding = (porcelain.port_forwarding)
|
10987
|
+
plumbing.port_override = (porcelain.port_override)
|
10988
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
10989
|
+
plumbing.subdomain = (porcelain.subdomain)
|
10990
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
10991
|
+
plumbing.username = (porcelain.username)
|
10992
|
+
plumbing
|
10993
|
+
end
|
10994
|
+
def self.convert_repeated_ssh_password_to_plumbing(porcelains)
|
10995
|
+
items = Array.new
|
10996
|
+
porcelains.each do |porcelain|
|
10997
|
+
plumbing = convert_ssh_password_to_plumbing(porcelain)
|
10998
|
+
items.append(plumbing)
|
10999
|
+
end
|
11000
|
+
items
|
11001
|
+
end
|
11002
|
+
|
11003
|
+
def self.convert_repeated_ssh_password_to_porcelain(plumbings)
|
11004
|
+
items = Array.new
|
11005
|
+
plumbings.each do |plumbing|
|
11006
|
+
porcelain = convert_ssh_password_to_porcelain(plumbing)
|
11007
|
+
items.append(porcelain)
|
11008
|
+
end
|
11009
|
+
items
|
11010
|
+
end
|
10943
11011
|
def self.convert_secret_store_to_plumbing(porcelain)
|
10944
11012
|
if porcelain == nil
|
10945
11013
|
return nil
|
data/lib/models/porcelain.rb
CHANGED
@@ -6888,7 +6888,6 @@ module SDM
|
|
6888
6888
|
end
|
6889
6889
|
end
|
6890
6890
|
|
6891
|
-
# MongoShardedCluster is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
6892
6891
|
class MongoShardedCluster
|
6893
6892
|
# The authentication database to use.
|
6894
6893
|
attr_accessor :auth_database
|
@@ -10267,6 +10266,82 @@ module SDM
|
|
10267
10266
|
end
|
10268
10267
|
end
|
10269
10268
|
|
10269
|
+
# SSHPassword is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
10270
|
+
class SSHPassword
|
10271
|
+
# Whether deprecated, insecure key exchanges are allowed for use to connect to the target ssh server.
|
10272
|
+
attr_accessor :allow_deprecated_key_exchanges
|
10273
|
+
# 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.
|
10274
|
+
attr_accessor :bind_interface
|
10275
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
10276
|
+
attr_accessor :egress_filter
|
10277
|
+
# True if the datasource is reachable and the credentials are valid.
|
10278
|
+
attr_accessor :healthy
|
10279
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
10280
|
+
attr_accessor :hostname
|
10281
|
+
# Unique identifier of the Resource.
|
10282
|
+
attr_accessor :id
|
10283
|
+
# Unique human-readable name of the Resource.
|
10284
|
+
attr_accessor :name
|
10285
|
+
# The password to authenticate with.
|
10286
|
+
attr_accessor :password
|
10287
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
10288
|
+
attr_accessor :port
|
10289
|
+
# Whether port forwarding is allowed through this server.
|
10290
|
+
attr_accessor :port_forwarding
|
10291
|
+
# The local port used by clients to connect to this resource.
|
10292
|
+
attr_accessor :port_override
|
10293
|
+
# ID of the secret store containing credentials for this resource, if any.
|
10294
|
+
attr_accessor :secret_store_id
|
10295
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
10296
|
+
attr_accessor :subdomain
|
10297
|
+
# Tags is a map of key, value pairs.
|
10298
|
+
attr_accessor :tags
|
10299
|
+
# The username to authenticate with.
|
10300
|
+
attr_accessor :username
|
10301
|
+
|
10302
|
+
def initialize(
|
10303
|
+
allow_deprecated_key_exchanges: nil,
|
10304
|
+
bind_interface: nil,
|
10305
|
+
egress_filter: nil,
|
10306
|
+
healthy: nil,
|
10307
|
+
hostname: nil,
|
10308
|
+
id: nil,
|
10309
|
+
name: nil,
|
10310
|
+
password: nil,
|
10311
|
+
port: nil,
|
10312
|
+
port_forwarding: nil,
|
10313
|
+
port_override: nil,
|
10314
|
+
secret_store_id: nil,
|
10315
|
+
subdomain: nil,
|
10316
|
+
tags: nil,
|
10317
|
+
username: nil
|
10318
|
+
)
|
10319
|
+
@allow_deprecated_key_exchanges = allow_deprecated_key_exchanges == nil ? false : allow_deprecated_key_exchanges
|
10320
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
10321
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
10322
|
+
@healthy = healthy == nil ? false : healthy
|
10323
|
+
@hostname = hostname == nil ? "" : hostname
|
10324
|
+
@id = id == nil ? "" : id
|
10325
|
+
@name = name == nil ? "" : name
|
10326
|
+
@password = password == nil ? "" : password
|
10327
|
+
@port = port == nil ? 0 : port
|
10328
|
+
@port_forwarding = port_forwarding == nil ? false : port_forwarding
|
10329
|
+
@port_override = port_override == nil ? 0 : port_override
|
10330
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
10331
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
10332
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
10333
|
+
@username = username == nil ? "" : username
|
10334
|
+
end
|
10335
|
+
|
10336
|
+
def to_json(options = {})
|
10337
|
+
hash = {}
|
10338
|
+
self.instance_variables.each do |var|
|
10339
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
10340
|
+
end
|
10341
|
+
hash.to_json
|
10342
|
+
end
|
10343
|
+
end
|
10344
|
+
|
10270
10345
|
# SecretStoreCreateResponse reports how the SecretStores were created in the system.
|
10271
10346
|
class SecretStoreCreateResponse
|
10272
10347
|
# Reserved for future use.
|
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/9.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/9.6.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: 9.
|
4
|
+
version: 9.6.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: 2024-
|
11
|
+
date: 2024-07-03 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-67defbc64eb2c4ebfda7cdf44a463624d107449b.idx"
|
85
|
+
- "./.git/objects/pack/pack-67defbc64eb2c4ebfda7cdf44a463624d107449b.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|