strongdm 11.16.0 → 11.17.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: 69dcec3cfdaac3516dea8436249a5453bb1ecad02605ceff196be0b07d1a45fc
4
- data.tar.gz: 5f86253a164720dd6e9186db5f9d9ab44a9dc52ff4d2564071f621d11f051975
3
+ metadata.gz: 1ca44dffaac601860e6f5af54ff1cbfffc733cc52934c59fc66c16fd09dc695d
4
+ data.tar.gz: 6dcf82eaa5e6a2777084736685c8c3bf2b4ec29f1b93a4287f20ed0ea405becb
5
5
  SHA512:
6
- metadata.gz: 067c04067712d02843c1f7a0ee4f6e7fe3b954d50cad84d729030b6fd615a070fa5edfef3f73b5251dd45b065b13563bc1c0d7d5c620294fecc27e8b961d8c3a
7
- data.tar.gz: 1d5faed6b90e0b97435e28017a7914effab1166db6a5250eea97139351c5d56c07a3cc4e650e40253249bcaeb3b45f4db2d1471ade67fc8ccd591a7545853f83
6
+ metadata.gz: 344b6e6fd9afe1b865adf23437b356430de15b24813b516d572d6ed34a079caced0ee3096dbea744fc0fd7476f5c8ced3633d08fbb2581fb8fcf7094b32ca533
7
+ data.tar.gz: 1a784eae70baf0accfff024800ec96297ab2b1d2259e5d2a0814f802bf21147a903d347766eeda4aebc4bf6255dc42ac36bfacc70da8c7d7d31524e33b75b33d
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 76f5a2a075048c179bcabe4cad4f3e66e1f10b12
1
+ 5ea659281f2b7a99a04b52522551bce0625859eb
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 76f5a2a075048c179bcabe4cad4f3e66e1f10b12 root <root@e2d8bb240c69.(none)> 1730323098 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 76f5a2a075048c179bcabe4cad4f3e66e1f10b12 76f5a2a075048c179bcabe4cad4f3e66e1f10b12 root <root@e2d8bb240c69.(none)> 1730323098 +0000 checkout: moving from master to master
3
- 76f5a2a075048c179bcabe4cad4f3e66e1f10b12 5ea659281f2b7a99a04b52522551bce0625859eb root <root@e2d8bb240c69.(none)> 1730323098 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 5ea659281f2b7a99a04b52522551bce0625859eb root <root@216f1be888a4.(none)> 1730393736 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 5ea659281f2b7a99a04b52522551bce0625859eb 5ea659281f2b7a99a04b52522551bce0625859eb root <root@216f1be888a4.(none)> 1730393736 +0000 checkout: moving from master to master
3
+ 5ea659281f2b7a99a04b52522551bce0625859eb 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@216f1be888a4.(none)> 1730393736 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 76f5a2a075048c179bcabe4cad4f3e66e1f10b12 root <root@e2d8bb240c69.(none)> 1730323098 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 76f5a2a075048c179bcabe4cad4f3e66e1f10b12 5ea659281f2b7a99a04b52522551bce0625859eb root <root@e2d8bb240c69.(none)> 1730323098 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 5ea659281f2b7a99a04b52522551bce0625859eb root <root@216f1be888a4.(none)> 1730393736 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 5ea659281f2b7a99a04b52522551bce0625859eb 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@216f1be888a4.(none)> 1730393736 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 76f5a2a075048c179bcabe4cad4f3e66e1f10b12 root <root@e2d8bb240c69.(none)> 1730323098 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 5ea659281f2b7a99a04b52522551bce0625859eb root <root@216f1be888a4.(none)> 1730393736 +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
- 5ea659281f2b7a99a04b52522551bce0625859eb refs/remotes/origin/development
3
- 76f5a2a075048c179bcabe4cad4f3e66e1f10b12 refs/remotes/origin/master
2
+ 1e1852727f8fb5404f59461655b2b73fb270d925 refs/remotes/origin/development
3
+ 5ea659281f2b7a99a04b52522551bce0625859eb 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
@@ -43,6 +43,7 @@ aca824df29f19d5db284f1b94a34f5a3f2d2cbc7 refs/tags/v11.12.0
43
43
  323de62143b58142c1b49dba2ab9e120aa44926e refs/tags/v11.13.0
44
44
  30dce70c61509dfd3e9f9b427dcb406e68985697 refs/tags/v11.14.0
45
45
  76f5a2a075048c179bcabe4cad4f3e66e1f10b12 refs/tags/v11.15.0
46
+ 5ea659281f2b7a99a04b52522551bce0625859eb refs/tags/v11.16.0
46
47
  9103d7d0e3104e99edb3d9a188d231ae0ce3947f refs/tags/v11.3.0
47
48
  8c7312bf4266bdfeff959667faba7f8ef1e58f27 refs/tags/v11.4.0
48
49
  d181d0dc49250f81e47eea64cdd8e6a93f7a95da refs/tags/v11.5.0
@@ -1 +1 @@
1
- 5ea659281f2b7a99a04b52522551bce0625859eb
1
+ 1e1852727f8fb5404f59461655b2b73fb270d925
@@ -32,6 +32,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
32
32
  optional :aws, :message, 2300, "v1.AWS"
33
33
  optional :aws_console, :message, 3000, "v1.AWSConsole"
34
34
  optional :aws_console_static_key_pair, :message, 3001, "v1.AWSConsoleStaticKeyPair"
35
+ optional :aws_instance_profile, :message, 2301, "v1.AWSInstanceProfile"
35
36
  optional :amazon_eks, :message, 802, "v1.AmazonEKS"
36
37
  optional :amazon_eks_instance_profile, :message, 809, "v1.AmazonEKSInstanceProfile"
37
38
  optional :amazon_eks_instance_profile_user_impersonation, :message, 813, "v1.AmazonEKSInstanceProfileUserImpersonation"
@@ -264,6 +265,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
264
265
  optional :session_expiry, :int32, 6
265
266
  optional :subdomain, :string, 7
266
267
  end
268
+ add_message "v1.AWSInstanceProfile" do
269
+ optional :id, :string, 32768
270
+ optional :name, :string, 32769
271
+ optional :healthy, :bool, 32770
272
+ optional :tags, :message, 32771, "v1.Tags"
273
+ optional :secret_store_id, :string, 32772
274
+ optional :egress_filter, :string, 32773
275
+ optional :bind_interface, :string, 32774
276
+ optional :proxy_cluster_id, :string, 32776
277
+ optional :subdomain, :string, 32775
278
+ optional :enable_env_variables, :bool, 1
279
+ optional :port_override, :int32, 8
280
+ optional :region, :string, 2
281
+ optional :role_arn, :string, 3
282
+ optional :role_external_id, :string, 4
283
+ end
267
284
  add_message "v1.AmazonEKS" do
268
285
  optional :id, :string, 32768
269
286
  optional :name, :string, 32769
@@ -1705,6 +1722,7 @@ module V1
1705
1722
  AWS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWS").msgclass
1706
1723
  AWSConsole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsole").msgclass
1707
1724
  AWSConsoleStaticKeyPair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsoleStaticKeyPair").msgclass
1725
+ AWSInstanceProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSInstanceProfile").msgclass
1708
1726
  AmazonEKS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKS").msgclass
1709
1727
  AmazonEKSInstanceProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSInstanceProfile").msgclass
1710
1728
  AmazonEKSInstanceProfileUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSInstanceProfileUserImpersonation").msgclass
data/lib/grpc/plumbing.rb CHANGED
@@ -747,6 +747,66 @@ module SDM
747
747
  end
748
748
  items
749
749
  end
750
+ def self.convert_aws_instance_profile_to_porcelain(plumbing)
751
+ if plumbing == nil
752
+ return nil
753
+ end
754
+ porcelain = AWSInstanceProfile.new()
755
+ porcelain.bind_interface = (plumbing.bind_interface)
756
+ porcelain.egress_filter = (plumbing.egress_filter)
757
+ porcelain.enable_env_variables = (plumbing.enable_env_variables)
758
+ porcelain.healthy = (plumbing.healthy)
759
+ porcelain.id = (plumbing.id)
760
+ porcelain.name = (plumbing.name)
761
+ porcelain.port_override = (plumbing.port_override)
762
+ porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
763
+ porcelain.region = (plumbing.region)
764
+ porcelain.role_arn = (plumbing.role_arn)
765
+ porcelain.role_external_id = (plumbing.role_external_id)
766
+ porcelain.secret_store_id = (plumbing.secret_store_id)
767
+ porcelain.subdomain = (plumbing.subdomain)
768
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
769
+ porcelain
770
+ end
771
+
772
+ def self.convert_aws_instance_profile_to_plumbing(porcelain)
773
+ if porcelain == nil
774
+ return nil
775
+ end
776
+ plumbing = V1::AWSInstanceProfile.new()
777
+ plumbing.bind_interface = (porcelain.bind_interface)
778
+ plumbing.egress_filter = (porcelain.egress_filter)
779
+ plumbing.enable_env_variables = (porcelain.enable_env_variables)
780
+ plumbing.healthy = (porcelain.healthy)
781
+ plumbing.id = (porcelain.id)
782
+ plumbing.name = (porcelain.name)
783
+ plumbing.port_override = (porcelain.port_override)
784
+ plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
785
+ plumbing.region = (porcelain.region)
786
+ plumbing.role_arn = (porcelain.role_arn)
787
+ plumbing.role_external_id = (porcelain.role_external_id)
788
+ plumbing.secret_store_id = (porcelain.secret_store_id)
789
+ plumbing.subdomain = (porcelain.subdomain)
790
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
791
+ plumbing
792
+ end
793
+ def self.convert_repeated_aws_instance_profile_to_plumbing(porcelains)
794
+ items = Array.new
795
+ porcelains.each do |porcelain|
796
+ plumbing = convert_aws_instance_profile_to_plumbing(porcelain)
797
+ items.append(plumbing)
798
+ end
799
+ items
800
+ end
801
+
802
+ def self.convert_repeated_aws_instance_profile_to_porcelain(plumbings)
803
+ items = Array.new
804
+ plumbings.each do |plumbing|
805
+ porcelain = convert_aws_instance_profile_to_porcelain(plumbing)
806
+ items.append(porcelain)
807
+ end
808
+ items
809
+ end
750
810
  def self.convert_aws_store_to_porcelain(plumbing)
751
811
  if plumbing == nil
752
812
  return nil
@@ -10364,6 +10424,9 @@ module SDM
10364
10424
  if porcelain.instance_of? AWSConsoleStaticKeyPair
10365
10425
  plumbing.aws_console_static_key_pair = convert_aws_console_static_key_pair_to_plumbing(porcelain)
10366
10426
  end
10427
+ if porcelain.instance_of? AWSInstanceProfile
10428
+ plumbing.aws_instance_profile = convert_aws_instance_profile_to_plumbing(porcelain)
10429
+ end
10367
10430
  if porcelain.instance_of? Azure
10368
10431
  plumbing.azure = convert_azure_to_plumbing(porcelain)
10369
10432
  end
@@ -10632,6 +10695,9 @@ module SDM
10632
10695
  if plumbing.aws_console_static_key_pair != nil
10633
10696
  return convert_aws_console_static_key_pair_to_porcelain(plumbing.aws_console_static_key_pair)
10634
10697
  end
10698
+ if plumbing.aws_instance_profile != nil
10699
+ return convert_aws_instance_profile_to_porcelain(plumbing.aws_instance_profile)
10700
+ end
10635
10701
  if plumbing.azure != nil
10636
10702
  return convert_azure_to_porcelain(plumbing.azure)
10637
10703
  end
@@ -728,6 +728,77 @@ module SDM
728
728
  end
729
729
  end
730
730
 
731
+ class AWSInstanceProfile
732
+ # 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.
733
+ attr_accessor :bind_interface
734
+ # A filter applied to the routing logic to pin datasource to nodes.
735
+ attr_accessor :egress_filter
736
+ # If true, prefer environment variables to authenticate connection even if EC2 roles are configured.
737
+ attr_accessor :enable_env_variables
738
+ # True if the datasource is reachable and the credentials are valid.
739
+ attr_accessor :healthy
740
+ # Unique identifier of the Resource.
741
+ attr_accessor :id
742
+ # Unique human-readable name of the Resource.
743
+ attr_accessor :name
744
+ # The local port used by clients to connect to this resource.
745
+ attr_accessor :port_override
746
+ # ID of the proxy cluster for this resource, if any.
747
+ attr_accessor :proxy_cluster_id
748
+ # The AWS region to connect to.
749
+ attr_accessor :region
750
+ # The role to assume after logging in.
751
+ attr_accessor :role_arn
752
+ # The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
753
+ attr_accessor :role_external_id
754
+ # ID of the secret store containing credentials for this resource, if any.
755
+ attr_accessor :secret_store_id
756
+ # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
757
+ attr_accessor :subdomain
758
+ # Tags is a map of key, value pairs.
759
+ attr_accessor :tags
760
+
761
+ def initialize(
762
+ bind_interface: nil,
763
+ egress_filter: nil,
764
+ enable_env_variables: nil,
765
+ healthy: nil,
766
+ id: nil,
767
+ name: nil,
768
+ port_override: nil,
769
+ proxy_cluster_id: nil,
770
+ region: nil,
771
+ role_arn: nil,
772
+ role_external_id: nil,
773
+ secret_store_id: nil,
774
+ subdomain: nil,
775
+ tags: nil
776
+ )
777
+ @bind_interface = bind_interface == nil ? "" : bind_interface
778
+ @egress_filter = egress_filter == nil ? "" : egress_filter
779
+ @enable_env_variables = enable_env_variables == nil ? false : enable_env_variables
780
+ @healthy = healthy == nil ? false : healthy
781
+ @id = id == nil ? "" : id
782
+ @name = name == nil ? "" : name
783
+ @port_override = port_override == nil ? 0 : port_override
784
+ @proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
785
+ @region = region == nil ? "" : region
786
+ @role_arn = role_arn == nil ? "" : role_arn
787
+ @role_external_id = role_external_id == nil ? "" : role_external_id
788
+ @secret_store_id = secret_store_id == nil ? "" : secret_store_id
789
+ @subdomain = subdomain == nil ? "" : subdomain
790
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
791
+ end
792
+
793
+ def to_json(options = {})
794
+ hash = {}
795
+ self.instance_variables.each do |var|
796
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
797
+ end
798
+ hash.to_json
799
+ end
800
+ end
801
+
731
802
  class AWSStore
732
803
  # Unique identifier of the SecretStore.
733
804
  attr_accessor :id
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/11.16.0"
32
+ USER_AGENT = "strongdm-sdk-ruby/11.17.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
@@ -4650,6 +4650,7 @@ module SDM #:nodoc:
4650
4650
  # {AWS}
4651
4651
  # {AWSConsole}
4652
4652
  # {AWSConsoleStaticKeyPair}
4653
+ # {AWSInstanceProfile}
4653
4654
  # {Azure}
4654
4655
  # {AzureCertificate}
4655
4656
  # {AzureMysql}
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "11.16.0"
16
+ VERSION = "11.17.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 = "11.16.0"
16
+ VERSION = "11.17.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: 11.16.0
4
+ version: 11.17.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-10-30 00:00:00.000000000 Z
11
+ date: 2024-10-31 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-e562871e9a481abb4106ccb5bc169fb5bb7000dd.idx"
85
- - "./.git/objects/pack/pack-e562871e9a481abb4106ccb5bc169fb5bb7000dd.pack"
84
+ - "./.git/objects/pack/pack-69c1a45cd1d71a0a1a6bf0981aa9e0ac28aad184.idx"
85
+ - "./.git/objects/pack/pack-69c1a45cd1d71a0a1a6bf0981aa9e0ac28aad184.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"