strongdm 9.4.0 → 9.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7c81965ceb255945bac7bd4e57141af68f9e277c1b53e92509babb20d1fdbfd
4
- data.tar.gz: 89a6ea40dd62299a924560c2ba249a4d724aca4516125c48f2248a18b2f5d018
3
+ metadata.gz: 6664b5344deff9097c1755d19200028f8243c82f5e67ac4169ff3303162352f0
4
+ data.tar.gz: '0818c8fbe98dabd375488a2ced52350cfa13806569cc4e5fea644c5d1697e30f'
5
5
  SHA512:
6
- metadata.gz: 2bddf991418a9567aec56aba4947e0028d059dbaccd2f4e69f208f410ad7e6f69943c81fce463a63fbc9f10b11d29708f8373b27d4989a6f98a88f830c455bcd
7
- data.tar.gz: 4e3e05e61d1ccc81698df15204c6368d1ed32e14eeab4554b8ffd293e4b98ad51dcfa8bf231ae8e6199a8e39bbaa840b0cbea7653e152c34331123bee0938d36
6
+ metadata.gz: 5cf639560174e74436b78412e864fd5efb6d4da99926749bb438726e461ffe1e5d0083aa35af2572b318561aa5565614f22dae9f2b7362918894188f58b2ddd8
7
+ data.tar.gz: 9fbdd418bad8e40179127a900abb7183dbbb403b5e04206190032080774d64d2e3f8e276fc5eef37100b35a40b150dfba1b29cc1aad4b2dad5818f1ad78b4815
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e
1
+ c364531ed10688edbdcf9523489096efd2239cbf
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e root <root@029fd2b088a6.(none)> 1718654462 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e 16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e root <root@029fd2b088a6.(none)> 1718654462 +0000 checkout: moving from master to master
3
- 16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@029fd2b088a6.(none)> 1718654462 +0000 merge origin/development: Fast-forward
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
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e root <root@029fd2b088a6.(none)> 1718654462 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@029fd2b088a6.(none)> 1718654462 +0000 merge origin/development: Fast-forward
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 16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e root <root@029fd2b088a6.(none)> 1718654462 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 c364531ed10688edbdcf9523489096efd2239cbf root <root@2433e17e03d5.(none)> 1719965357 +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
- 9ac734600b0f9a60b184b7add20f826496dd7f92 refs/remotes/origin/development
3
- 16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e refs/remotes/origin/master
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
@@ -112,3 +112,5 @@ f34575bc142eabf113dbbc5b40b3a16e0c026355 refs/tags/v7.1.0
112
112
  0271f35ba50e29ded8bbc919bcd180b8f5428fe6 refs/tags/v9.1.0
113
113
  74fd97d07c0510f0c612ce2611adadbba25e2e91 refs/tags/v9.2.0
114
114
  16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e refs/tags/v9.3.0
115
+ 9ac734600b0f9a60b184b7add20f826496dd7f92 refs/tags/v9.4.0
116
+ c364531ed10688edbdcf9523489096efd2239cbf refs/tags/v9.5.0
@@ -1 +1 @@
1
- 9ac734600b0f9a60b184b7add20f826496dd7f92
1
+ 5693ebd7ca6850acaac70d0aeb7861cafc8885ab
data/lib/constants.rb CHANGED
@@ -447,8 +447,8 @@ module SDM
447
447
  SSH_PORT_FORWARD = "ssh-portForward"
448
448
  end
449
449
 
450
- # Providers responsible for device posture enforcement
451
- module DevicePostureProvider
450
+ # Providers responsible for device trust enforcement
451
+ module DeviceTrustProvider
452
452
  NONE = ""
453
453
  SENTINEL_ONE = "sentinelone"
454
454
  CROWD_STRIKE = "crowdstrike"
@@ -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
@@ -17,8 +17,8 @@
17
17
 
18
18
  require "google/protobuf"
19
19
 
20
- require "google/protobuf/duration_pb"
21
20
  require "google/protobuf/timestamp_pb"
21
+ require "google/protobuf/duration_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
24
 
@@ -64,6 +64,9 @@ 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 :loopback_range, :string, 26
68
+ optional :device_trust_enabled, :bool, 27
69
+ optional :device_trust_provider, :string, 28
67
70
  end
68
71
  end
69
72
  end
data/lib/grpc/plumbing.rb CHANGED
@@ -7484,6 +7484,8 @@ module SDM
7484
7484
  porcelain = Organization.new()
7485
7485
  porcelain.auth_provider = (plumbing.auth_provider)
7486
7486
  porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
7487
+ porcelain.device_trust_enabled = (plumbing.device_trust_enabled)
7488
+ porcelain.device_trust_provider = (plumbing.device_trust_provider)
7487
7489
  porcelain.idle_timeout = convert_duration_to_porcelain(plumbing.idle_timeout)
7488
7490
  porcelain.idle_timeout_enabled = (plumbing.idle_timeout_enabled)
7489
7491
  porcelain.kind = (plumbing.kind)
@@ -7516,6 +7518,8 @@ module SDM
7516
7518
  plumbing = V1::Organization.new()
7517
7519
  plumbing.auth_provider = (porcelain.auth_provider)
7518
7520
  plumbing.created_at = convert_timestamp_to_plumbing(porcelain.created_at)
7521
+ plumbing.device_trust_enabled = (porcelain.device_trust_enabled)
7522
+ plumbing.device_trust_provider = (porcelain.device_trust_provider)
7519
7523
  plumbing.idle_timeout = convert_duration_to_plumbing(porcelain.idle_timeout)
7520
7524
  plumbing.idle_timeout_enabled = (porcelain.idle_timeout_enabled)
7521
7525
  plumbing.kind = (porcelain.kind)
@@ -9678,6 +9682,9 @@ module SDM
9678
9682
  if porcelain.instance_of? SSHCustomerKey
9679
9683
  plumbing.ssh_customer_key = convert_ssh_customer_key_to_plumbing(porcelain)
9680
9684
  end
9685
+ if porcelain.instance_of? SSHPassword
9686
+ plumbing.ssh_password = convert_ssh_password_to_plumbing(porcelain)
9687
+ end
9681
9688
  if porcelain.instance_of? Sybase
9682
9689
  plumbing.sybase = convert_sybase_to_plumbing(porcelain)
9683
9690
  end
@@ -9937,6 +9944,9 @@ module SDM
9937
9944
  if plumbing.ssh_customer_key != nil
9938
9945
  return convert_ssh_customer_key_to_porcelain(plumbing.ssh_customer_key)
9939
9946
  end
9947
+ if plumbing.ssh_password != nil
9948
+ return convert_ssh_password_to_porcelain(plumbing.ssh_password)
9949
+ end
9940
9950
  if plumbing.sybase != nil
9941
9951
  return convert_sybase_to_porcelain(plumbing.sybase)
9942
9952
  end
@@ -10936,6 +10946,68 @@ module SDM
10936
10946
  end
10937
10947
  items
10938
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
10939
11011
  def self.convert_secret_store_to_plumbing(porcelain)
10940
11012
  if porcelain == nil
10941
11013
  return nil
@@ -1383,8 +1383,7 @@ module SDM
1383
1383
  # The most recent time at which the permission was granted. If a permission was
1384
1384
  # granted, revoked, and granted again, this will reflect the later time.
1385
1385
  attr_accessor :granted_at
1386
- # The value of this permission, split into vertical and action e.g.
1387
- # 'secretstore:List', 'role:update'
1386
+ # The value of this permission, split into vertical and action, one of the Permission constants.
1388
1387
  attr_accessor :permission
1389
1388
  # The scope of this permission. A global scope means this action can be taken
1390
1389
  # on any entity; otherwise the action can only be taken on or in the scope of
@@ -1585,7 +1584,7 @@ module SDM
1585
1584
  # The User Agent present when this request was executed. Generally a client type and version
1586
1585
  # like strongdm-cli/55.66.77
1587
1586
  attr_accessor :user_agent
1588
- # The kind of activity which has taken place.
1587
+ # The kind of activity which has taken place, one of the ActivityVerb constants.
1589
1588
  attr_accessor :verb
1590
1589
 
1591
1590
  def initialize(
@@ -1661,7 +1660,7 @@ module SDM
1661
1660
  attr_accessor :id
1662
1661
  # A display name representing the affected entity.
1663
1662
  attr_accessor :name
1664
- # The type of entity affected, one of the Activity Entities constants.
1663
+ # The type of entity affected, one of the ActivityEntityType constants.
1665
1664
  attr_accessor :type
1666
1665
 
1667
1666
  def initialize(
@@ -6889,7 +6888,6 @@ module SDM
6889
6888
  end
6890
6889
  end
6891
6890
 
6892
- # MongoShardedCluster is currently unstable, and its API may change, or it may be removed, without a major version bump.
6893
6891
  class MongoShardedCluster
6894
6892
  # The authentication database to use.
6895
6893
  attr_accessor :auth_database
@@ -7435,23 +7433,27 @@ module SDM
7435
7433
  end
7436
7434
 
7437
7435
  class Organization
7438
- # The Organization's authentication provider.
7436
+ # The Organization's authentication provider, one of the AuthProvider constants.
7439
7437
  attr_accessor :auth_provider
7440
7438
  # The time at which the Organization was created.
7441
7439
  attr_accessor :created_at
7440
+ # Indicates if the Organization has device trust enabled.
7441
+ attr_accessor :device_trust_enabled
7442
+ # The Organization's device trust provider, one of the DeviceTrustProvider constants.
7443
+ attr_accessor :device_trust_provider
7442
7444
  # The Organization's idle timeout, if enabled.
7443
7445
  attr_accessor :idle_timeout
7444
7446
  # Indicates if the Organization has idle timeouts enabled.
7445
7447
  attr_accessor :idle_timeout_enabled
7446
- # The Organization's type.
7448
+ # The Organization's type, one of the OrgKind constants.
7447
7449
  attr_accessor :kind
7448
- # The Organization's local log encryption encoder.
7450
+ # The Organization's local log encryption encoder, one of the LogLocalEncoder constants.
7449
7451
  attr_accessor :log_local_encoder
7450
- # The Organization's local log format.
7452
+ # The Organization's local log format, one of the LogLocalFormat constants.
7451
7453
  attr_accessor :log_local_format
7452
- # The Organization's local log storage.
7454
+ # The Organization's local log storage, one of the LogLocalStorage constants.
7453
7455
  attr_accessor :log_local_storage
7454
- # The Organization's remote log encryption encoder.
7456
+ # The Organization's remote log encryption encoder, one of the LogRemoteEncoder constants.
7455
7457
  attr_accessor :log_remote_encoder
7456
7458
  # The Organization's socket path for Socket local log storage.
7457
7459
  attr_accessor :log_socket_path
@@ -7459,7 +7461,7 @@ module SDM
7459
7461
  attr_accessor :log_tcp_address
7460
7462
  # Indicates if the Organization has multi-factor authentication enabled.
7461
7463
  attr_accessor :mfa_enabled
7462
- # The Organization's multi-factor authentication provider, if enabled.
7464
+ # The Organization's multi-factor authentication provider, one of the MFAProvider constants.
7463
7465
  attr_accessor :mfa_provider
7464
7466
  # The Organization's name.
7465
7467
  attr_accessor :name
@@ -7467,7 +7469,7 @@ module SDM
7467
7469
  attr_accessor :require_secret_store
7468
7470
  # The Organization's URL for SAML metadata.
7469
7471
  attr_accessor :saml_metadata_url
7470
- # The Organization's SCIM provider.
7472
+ # The Organization's SCIM provider, one of the SCIMProvider constants.
7471
7473
  attr_accessor :scim_provider
7472
7474
  # The Organization's label for sensitive resources.
7473
7475
  attr_accessor :sensitive_label
@@ -7487,6 +7489,8 @@ module SDM
7487
7489
  def initialize(
7488
7490
  auth_provider: nil,
7489
7491
  created_at: nil,
7492
+ device_trust_enabled: nil,
7493
+ device_trust_provider: nil,
7490
7494
  idle_timeout: nil,
7491
7495
  idle_timeout_enabled: nil,
7492
7496
  kind: nil,
@@ -7512,6 +7516,8 @@ module SDM
7512
7516
  )
7513
7517
  @auth_provider = auth_provider == nil ? "" : auth_provider
7514
7518
  @created_at = created_at == nil ? nil : created_at
7519
+ @device_trust_enabled = device_trust_enabled == nil ? false : device_trust_enabled
7520
+ @device_trust_provider = device_trust_provider == nil ? "" : device_trust_provider
7515
7521
  @idle_timeout = idle_timeout == nil ? nil : idle_timeout
7516
7522
  @idle_timeout_enabled = idle_timeout_enabled == nil ? false : idle_timeout_enabled
7517
7523
  @kind = kind == nil ? "" : kind
@@ -8314,7 +8320,7 @@ module SDM
8314
8320
  attr_accessor :request_method
8315
8321
  # The HTTP request URI of a Kubernetes operation.
8316
8322
  attr_accessor :request_uri
8317
- # The CaptureType of this query capture.
8323
+ # The CaptureType of this query capture, one of the CaptureType constants.
8318
8324
  attr_accessor :type
8319
8325
  # The width of the terminal or window for SSH, Kubernetes, and RDP interactive sessions.
8320
8326
  attr_accessor :width
@@ -8922,9 +8928,7 @@ module SDM
8922
8928
  attr_accessor :maintenance_windows
8923
8929
  # Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
8924
8930
  attr_accessor :name
8925
- # The current state of the relay. One of: "new", "verifying_restart",
8926
- # "awaiting_restart", "restarting", "started", "stopped", "dead",
8927
- # "unknown".
8931
+ # The current state of the relay, one of the NodeState constants.
8928
8932
  attr_accessor :state
8929
8933
  # Tags is a map of key, value pairs.
8930
8934
  attr_accessor :tags
@@ -10262,6 +10266,82 @@ module SDM
10262
10266
  end
10263
10267
  end
10264
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
+
10265
10345
  # SecretStoreCreateResponse reports how the SecretStores were created in the system.
10266
10346
  class SecretStoreCreateResponse
10267
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.4.0"
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
@@ -4205,6 +4205,7 @@ module SDM #:nodoc:
4205
4205
  # {SSH}
4206
4206
  # {SSHCert}
4207
4207
  # {SSHCustomerKey}
4208
+ # {SSHPassword}
4208
4209
  # {Sybase}
4209
4210
  # {SybaseIQ}
4210
4211
  # {Teradata}
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "9.4.0"
16
+ VERSION = "9.6.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 = "9.4.0"
16
+ VERSION = "9.6.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: 9.4.0
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-06-17 00:00:00.000000000 Z
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-4f28f9601159f8b97a70a79565617aeceedaecac.idx"
85
- - "./.git/objects/pack/pack-4f28f9601159f8b97a70a79565617aeceedaecac.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"