strongdm 6.4.0 → 6.6.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: bc5a040bf80506dcca8430f017e6a7dcb67d0fe0093b0f81c999500a59209d70
4
- data.tar.gz: 7c734774bacbf86d7abc2a1d50010788eacc9b052c0a74b17e4c881bca8caa1e
3
+ metadata.gz: bb444a5cb1c2b6577d8162dfa6839123c1e737761ec042ce18294c77e9f7bb5e
4
+ data.tar.gz: 6968aff57afa8f68a0a52f10eff4634e7eda0d52ccaa978796ca238215458983
5
5
  SHA512:
6
- metadata.gz: 0450da4a3e7483ad87595b75485abceab47c82a4ef299ffb024c77aba1dfb0e6ed26324ce5d0a789dd9173b75b1f644bcf069ed7cb712859464d6208dd121c9c
7
- data.tar.gz: 3de312182f7540523b97b7220a19583c571b97c87f52af10dd60930c96c5cb73ffc80b79d81fa94d4a534666bb7e7fbdda08b89e899f7546a24b8c1cfceb679e
6
+ metadata.gz: 226e5c8dcbbd0953ec70009c94b0d63de5b7d8db148d99eae174dbe1367dbea7f828f6fe097e5a4266b1438c728e9b3a0e7c9269f119a07848d248e25e6e18a4
7
+ data.tar.gz: ab74faa3298a483ccb7f4e3467d7505ce41820f5d028b697e00885ac8f1687ff08b92fe85ce7d28684513c32e1ee490a9d1e526fdacdb6188f1858d56cd4ed24
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 3ca1e977d66e0fb0232024c33a223a789453031c
1
+ 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 3ca1e977d66e0fb0232024c33a223a789453031c sdmrelease <support@strongdm.com> 1707503462 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 3ca1e977d66e0fb0232024c33a223a789453031c 3ca1e977d66e0fb0232024c33a223a789453031c sdmrelease <support@strongdm.com> 1707503462 +0000 checkout: moving from master to master
3
- 3ca1e977d66e0fb0232024c33a223a789453031c e015e0386c2f0b99314bb46ae71631afdbcf4ed0 sdmrelease <support@strongdm.com> 1707503462 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708981380 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708981380 +0000 checkout: moving from master to master
3
+ 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 b28e0cc368d9174e5858abd41992efff0a030bcb sdmrelease <support@strongdm.com> 1708981380 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 3ca1e977d66e0fb0232024c33a223a789453031c sdmrelease <support@strongdm.com> 1707503462 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 3ca1e977d66e0fb0232024c33a223a789453031c e015e0386c2f0b99314bb46ae71631afdbcf4ed0 sdmrelease <support@strongdm.com> 1707503462 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708981380 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 b28e0cc368d9174e5858abd41992efff0a030bcb sdmrelease <support@strongdm.com> 1708981380 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 3ca1e977d66e0fb0232024c33a223a789453031c sdmrelease <support@strongdm.com> 1707503462 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708981380 +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
- e015e0386c2f0b99314bb46ae71631afdbcf4ed0 refs/remotes/origin/development
3
- 3ca1e977d66e0fb0232024c33a223a789453031c refs/remotes/origin/master
2
+ b28e0cc368d9174e5858abd41992efff0a030bcb refs/remotes/origin/development
3
+ 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 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
@@ -95,3 +95,5 @@ d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 refs/tags/v6.2.0
95
95
  f4af6ebad8174f8e5aeec63536db9290597a3982 refs/tags/v6.2.1
96
96
  59ba0e6392d2e7f5f4c053e663766157c9a9b149 refs/tags/v6.3.0
97
97
  3ca1e977d66e0fb0232024c33a223a789453031c refs/tags/v6.3.1
98
+ e015e0386c2f0b99314bb46ae71631afdbcf4ed0 refs/tags/v6.4.0
99
+ 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 refs/tags/v6.5.0
@@ -1 +1 @@
1
- e015e0386c2f0b99314bb46ae71631afdbcf4ed0
1
+ b28e0cc368d9174e5858abd41992efff0a030bcb
data/lib/grpc/plumbing.rb CHANGED
@@ -4076,6 +4076,52 @@ module SDM
4076
4076
  end
4077
4077
  items
4078
4078
  end
4079
+ def self.convert_gcp_cert_x_509_store_to_porcelain(plumbing)
4080
+ if plumbing == nil
4081
+ return nil
4082
+ end
4083
+ porcelain = GCPCertX509Store.new()
4084
+ porcelain.caid = (plumbing.caID)
4085
+ porcelain.capoolid = (plumbing.caPoolID)
4086
+ porcelain.id = (plumbing.id)
4087
+ porcelain.location = (plumbing.location)
4088
+ porcelain.name = (plumbing.name)
4089
+ porcelain.projectid = (plumbing.projectID)
4090
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
4091
+ porcelain
4092
+ end
4093
+
4094
+ def self.convert_gcp_cert_x_509_store_to_plumbing(porcelain)
4095
+ if porcelain == nil
4096
+ return nil
4097
+ end
4098
+ plumbing = V1::GCPCertX509Store.new()
4099
+ plumbing.caID = (porcelain.caid)
4100
+ plumbing.caPoolID = (porcelain.capoolid)
4101
+ plumbing.id = (porcelain.id)
4102
+ plumbing.location = (porcelain.location)
4103
+ plumbing.name = (porcelain.name)
4104
+ plumbing.projectID = (porcelain.projectid)
4105
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
4106
+ plumbing
4107
+ end
4108
+ def self.convert_repeated_gcp_cert_x_509_store_to_plumbing(porcelains)
4109
+ items = Array.new
4110
+ porcelains.each do |porcelain|
4111
+ plumbing = convert_gcp_cert_x_509_store_to_plumbing(porcelain)
4112
+ items.append(plumbing)
4113
+ end
4114
+ items
4115
+ end
4116
+
4117
+ def self.convert_repeated_gcp_cert_x_509_store_to_porcelain(plumbings)
4118
+ items = Array.new
4119
+ plumbings.each do |plumbing|
4120
+ porcelain = convert_gcp_cert_x_509_store_to_porcelain(plumbing)
4121
+ items.append(porcelain)
4122
+ end
4123
+ items
4124
+ end
4079
4125
  def self.convert_gcp_store_to_porcelain(plumbing)
4080
4126
  if plumbing == nil
4081
4127
  return nil
@@ -9512,6 +9558,9 @@ module SDM
9512
9558
  if porcelain.instance_of? GCPStore
9513
9559
  plumbing.gcp = convert_gcp_store_to_plumbing(porcelain)
9514
9560
  end
9561
+ if porcelain.instance_of? GCPCertX509Store
9562
+ plumbing.gcp_cert_x_509 = convert_gcp_cert_x_509_store_to_plumbing(porcelain)
9563
+ end
9515
9564
  if porcelain.instance_of? VaultAppRoleStore
9516
9565
  plumbing.vault_app_role = convert_vault_app_role_store_to_plumbing(porcelain)
9517
9566
  end
@@ -9567,6 +9616,9 @@ module SDM
9567
9616
  if plumbing.gcp != nil
9568
9617
  return convert_gcp_store_to_porcelain(plumbing.gcp)
9569
9618
  end
9619
+ if plumbing.gcp_cert_x_509 != nil
9620
+ return convert_gcp_cert_x_509_store_to_porcelain(plumbing.gcp_cert_x_509)
9621
+ end
9570
9622
  if plumbing.vault_app_role != nil
9571
9623
  return convert_vault_app_role_store_to_porcelain(plumbing.vault_app_role)
9572
9624
  end
@@ -10921,6 +10973,7 @@ module SDM
10921
10973
  end
10922
10974
  porcelain = Workflow.new()
10923
10975
  porcelain.access_rules = convert_access_rules_to_porcelain(plumbing.access_rules)
10976
+ porcelain.approval_flow_id = (plumbing.approval_flow_id)
10924
10977
  porcelain.auto_grant = (plumbing.auto_grant)
10925
10978
  porcelain.description = (plumbing.description)
10926
10979
  porcelain.enabled = (plumbing.enabled)
@@ -10936,6 +10989,7 @@ module SDM
10936
10989
  end
10937
10990
  plumbing = V1::Workflow.new()
10938
10991
  plumbing.access_rules = convert_access_rules_to_plumbing(porcelain.access_rules)
10992
+ plumbing.approval_flow_id = (porcelain.approval_flow_id)
10939
10993
  plumbing.auto_grant = (porcelain.auto_grant)
10940
10994
  plumbing.description = (porcelain.description)
10941
10995
  plumbing.enabled = (porcelain.enabled)
@@ -31,6 +31,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
31
31
  optional :cyberark_pam_experimental, :message, 302, "v1.CyberarkPAMExperimentalStore"
32
32
  optional :delinea, :message, 2900, "v1.DelineaStore"
33
33
  optional :gcp, :message, 201, "v1.GCPStore"
34
+ optional :gcp_cert_x_509, :message, 202, "v1.GCPCertX509Store"
34
35
  optional :vault_app_role, :message, 4, "v1.VaultAppRoleStore"
35
36
  optional :vault_app_role_cert_ssh, :message, 94, "v1.VaultAppRoleCertSSHStore"
36
37
  optional :vault_app_role_cert_x_509, :message, 95, "v1.VaultAppRoleCertX509Store"
@@ -85,6 +86,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
85
86
  optional :projectID, :string, 3
86
87
  optional :tags, :message, 32771, "v1.Tags"
87
88
  end
89
+ add_message "v1.GCPCertX509Store" do
90
+ optional :id, :string, 1
91
+ optional :name, :string, 2
92
+ optional :caID, :string, 6
93
+ optional :caPoolID, :string, 5
94
+ optional :location, :string, 4
95
+ optional :projectID, :string, 3
96
+ optional :tags, :message, 32771, "v1.Tags"
97
+ end
88
98
  add_message "v1.VaultAppRoleStore" do
89
99
  optional :id, :string, 1
90
100
  optional :name, :string, 2
@@ -181,6 +191,7 @@ module V1
181
191
  CyberarkPAMExperimentalStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkPAMExperimentalStore").msgclass
182
192
  DelineaStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DelineaStore").msgclass
183
193
  GCPStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPStore").msgclass
194
+ GCPCertX509Store = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPCertX509Store").msgclass
184
195
  VaultAppRoleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAppRoleStore").msgclass
185
196
  VaultAppRoleCertSSHStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAppRoleCertSSHStore").msgclass
186
197
  VaultAppRoleCertX509Store = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAppRoleCertX509Store").msgclass
@@ -76,6 +76,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
76
76
  optional :enabled, :bool, 6
77
77
  optional :requires_reason, :bool, 7
78
78
  optional :access_rules, :string, 8
79
+ optional :approval_flow_id, :string, 9
79
80
  end
80
81
  end
81
82
  end
@@ -4053,6 +4053,50 @@ module SDM
4053
4053
  end
4054
4054
  end
4055
4055
 
4056
+ # GCPCertX509Store is currently unstable, and its API may change, or it may be removed, without a major version bump.
4057
+ class GCPCertX509Store
4058
+ # The ID of the target CA
4059
+ attr_accessor :caid
4060
+ # The ID of the target CA pool
4061
+ attr_accessor :capoolid
4062
+ # Unique identifier of the SecretStore.
4063
+ attr_accessor :id
4064
+ # The Region for the CA in GCP format e.g. us-west1
4065
+ attr_accessor :location
4066
+ # Unique human-readable name of the SecretStore.
4067
+ attr_accessor :name
4068
+ # The GCP project ID to target.
4069
+ attr_accessor :projectid
4070
+ # Tags is a map of key, value pairs.
4071
+ attr_accessor :tags
4072
+
4073
+ def initialize(
4074
+ caid: nil,
4075
+ capoolid: nil,
4076
+ id: nil,
4077
+ location: nil,
4078
+ name: nil,
4079
+ projectid: nil,
4080
+ tags: nil
4081
+ )
4082
+ @caid = caid == nil ? "" : caid
4083
+ @capoolid = capoolid == nil ? "" : capoolid
4084
+ @id = id == nil ? "" : id
4085
+ @location = location == nil ? "" : location
4086
+ @name = name == nil ? "" : name
4087
+ @projectid = projectid == nil ? "" : projectid
4088
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
4089
+ end
4090
+
4091
+ def to_json(options = {})
4092
+ hash = {}
4093
+ self.instance_variables.each do |var|
4094
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
4095
+ end
4096
+ hash.to_json
4097
+ end
4098
+ end
4099
+
4056
4100
  class GCPStore
4057
4101
  # Unique identifier of the SecretStore.
4058
4102
  attr_accessor :id
@@ -10315,6 +10359,8 @@ module SDM
10315
10359
  class Workflow
10316
10360
  # AccessRules is a list of access rules defining the resources this Workflow provides access to.
10317
10361
  attr_accessor :access_rules
10362
+ # Optional approval flow ID identifies an approval flow that linked to the workflow
10363
+ attr_accessor :approval_flow_id
10318
10364
  # Optional auto grant setting to automatically approve requests or not, defaults to false.
10319
10365
  attr_accessor :auto_grant
10320
10366
  # Optional description of the Workflow.
@@ -10334,6 +10380,7 @@ module SDM
10334
10380
 
10335
10381
  def initialize(
10336
10382
  access_rules: nil,
10383
+ approval_flow_id: nil,
10337
10384
  auto_grant: nil,
10338
10385
  description: nil,
10339
10386
  enabled: nil,
@@ -10342,6 +10389,7 @@ module SDM
10342
10389
  weight: nil
10343
10390
  )
10344
10391
  @access_rules = access_rules == nil ? SDM::_porcelain_zero_value_access_rules() : access_rules
10392
+ @approval_flow_id = approval_flow_id == nil ? "" : approval_flow_id
10345
10393
  @auto_grant = auto_grant == nil ? false : auto_grant
10346
10394
  @description = description == nil ? "" : description
10347
10395
  @enabled = enabled == nil ? false : enabled
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/6.4.0"
32
+ USER_AGENT = "strongdm-sdk-ruby/6.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
@@ -3763,6 +3763,7 @@ module SDM #:nodoc:
3763
3763
  # {CyberarkPAMExperimentalStore}
3764
3764
  # {DelineaStore}
3765
3765
  # {GCPStore}
3766
+ # {GCPCertX509Store}
3766
3767
  # {VaultAppRoleStore}
3767
3768
  # {VaultAppRoleCertSSHStore}
3768
3769
  # {VaultAppRoleCertX509Store}
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "6.4.0"
16
+ VERSION = "6.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 = "6.4.0"
16
+ VERSION = "6.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: 6.4.0
4
+ version: 6.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-02-09 00:00:00.000000000 Z
11
+ date: 2024-02-26 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-217887fd9a99d59bd0c57215ebc44ac0b1f0764e.idx"
85
- - "./.git/objects/pack/pack-217887fd9a99d59bd0c57215ebc44ac0b1f0764e.pack"
84
+ - "./.git/objects/pack/pack-0c802db963cb0bdcf17886c66f050fbf1796db3d.idx"
85
+ - "./.git/objects/pack/pack-0c802db963cb0bdcf17886c66f050fbf1796db3d.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"