strongdm 6.4.0 → 6.5.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-217887fd9a99d59bd0c57215ebc44ac0b1f0764e.idx → pack-24c17b93f53c5055cbee42ba2d5f48670a1c80b9.idx} +0 -0
- data/.git/objects/pack/{pack-217887fd9a99d59bd0c57215ebc44ac0b1f0764e.pack → pack-24c17b93f53c5055cbee42ba2d5f48670a1c80b9.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/plumbing.rb +52 -0
- data/lib/grpc/secret_store_types_pb.rb +11 -0
- data/lib/models/porcelain.rb +44 -0
- 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: 3c7e038ea7576c5495b94b1a686306c9e55350d4c51d604ea3a7e1f0024b3510
|
4
|
+
data.tar.gz: da67849ae14a48da333e30162930f34b3da3c3ef32d6d3888e94c2fd203dd606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa45c45c5ac637dd1605153e4c0556328fdd1998af19abaa12477a10cf5ed29963cb09fadf9fc85870e72246d933a4949af2f910b65e60367938769dcf31ea52
|
7
|
+
data.tar.gz: 1a321bcef6e7d5ac0ac12253351744e28da913ec0b49e6561e1847eb82779a484b51d4071f1c0ebf60ce601a45a16ea972277565d609c8560ffcf6c6916f2569
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
e015e0386c2f0b99314bb46ae71631afdbcf4ed0
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 e015e0386c2f0b99314bb46ae71631afdbcf4ed0 sdmrelease <support@strongdm.com> 1708468223 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
e015e0386c2f0b99314bb46ae71631afdbcf4ed0 e015e0386c2f0b99314bb46ae71631afdbcf4ed0 sdmrelease <support@strongdm.com> 1708468223 +0000 checkout: moving from master to master
|
3
|
+
e015e0386c2f0b99314bb46ae71631afdbcf4ed0 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708468223 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 e015e0386c2f0b99314bb46ae71631afdbcf4ed0 sdmrelease <support@strongdm.com> 1708468223 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
e015e0386c2f0b99314bb46ae71631afdbcf4ed0 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708468223 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 e015e0386c2f0b99314bb46ae71631afdbcf4ed0 sdmrelease <support@strongdm.com> 1708468223 +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
|
+
998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 refs/remotes/origin/development
|
3
|
+
e015e0386c2f0b99314bb46ae71631afdbcf4ed0 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,4 @@ 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
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8
|
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
|
@@ -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
|
data/lib/models/porcelain.rb
CHANGED
@@ -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
|
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.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/6.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/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: 6.
|
4
|
+
version: 6.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: 2024-02-
|
11
|
+
date: 2024-02-20 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-24c17b93f53c5055cbee42ba2d5f48670a1c80b9.idx"
|
85
|
+
- "./.git/objects/pack/pack-24c17b93f53c5055cbee42ba2d5f48670a1c80b9.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|