strongdm 6.7.1 → 6.8.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 +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-757ca4731668a732671503ca8a7e87450627a2ec.idx → pack-8e713d387f255f0ec0181dce3e2a505478deb064.idx} +0 -0
- data/.git/objects/pack/{pack-757ca4731668a732671503ca8a7e87450627a2ec.pack → pack-8e713d387f255f0ec0181dce3e2a505478deb064.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/plumbing.rb +46 -0
- data/lib/grpc/secret_store_types_pb.rb +8 -0
- data/lib/models/porcelain.rb +33 -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: cee096670378ec3e7e89c03bbe3833a20a1c75535ab8d2e5df9d78870478ed35
|
|
4
|
+
data.tar.gz: 84d8cdbdd73b915adcb2744b04b271b0abcb43f3eecb59e4450845c8b1212eba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2e1ae613131799b7897faf477944cde91f2f1c6a8fbd0c039c679f88514d39fd8da9587a6f5b1bb274affd349457f0e138ef5637871f2b45a3e6c21f15397b2
|
|
7
|
+
data.tar.gz: 30023190f2566eba0e67770b3311ee98445dd16005a4ddd7a614f9116c2346c48938a917781286fbbe7e9fd648a8aa3776abf6747c95dc687f31067e8cbd64ca
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3e28afb8b757876c463b22aac13ee618d9ead204
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709578850 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
3e28afb8b757876c463b22aac13ee618d9ead204 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709578850 +0000 checkout: moving from master to master
|
|
3
|
+
3e28afb8b757876c463b22aac13ee618d9ead204 0429c9a2739f699ea33db7e6dd85e6be47e9190e sdmrelease <support@strongdm.com> 1709578850 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709578850 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
3e28afb8b757876c463b22aac13ee618d9ead204 0429c9a2739f699ea33db7e6dd85e6be47e9190e sdmrelease <support@strongdm.com> 1709578850 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709578850 +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
|
+
0429c9a2739f699ea33db7e6dd85e6be47e9190e refs/remotes/origin/development
|
|
3
|
+
3e28afb8b757876c463b22aac13ee618d9ead204 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
|
|
@@ -99,3 +99,4 @@ e015e0386c2f0b99314bb46ae71631afdbcf4ed0 refs/tags/v6.4.0
|
|
|
99
99
|
998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 refs/tags/v6.5.0
|
|
100
100
|
b28e0cc368d9174e5858abd41992efff0a030bcb refs/tags/v6.6.0
|
|
101
101
|
e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 refs/tags/v6.7.0
|
|
102
|
+
3e28afb8b757876c463b22aac13ee618d9ead204 refs/tags/v6.7.1
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0429c9a2739f699ea33db7e6dd85e6be47e9190e
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -1780,6 +1780,46 @@ module SDM
|
|
|
1780
1780
|
end
|
|
1781
1781
|
items
|
|
1782
1782
|
end
|
|
1783
|
+
def self.convert_active_directory_store_to_porcelain(plumbing)
|
|
1784
|
+
if plumbing == nil
|
|
1785
|
+
return nil
|
|
1786
|
+
end
|
|
1787
|
+
porcelain = ActiveDirectoryStore.new()
|
|
1788
|
+
porcelain.id = (plumbing.id)
|
|
1789
|
+
porcelain.name = (plumbing.name)
|
|
1790
|
+
porcelain.server_address = (plumbing.server_address)
|
|
1791
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
1792
|
+
porcelain
|
|
1793
|
+
end
|
|
1794
|
+
|
|
1795
|
+
def self.convert_active_directory_store_to_plumbing(porcelain)
|
|
1796
|
+
if porcelain == nil
|
|
1797
|
+
return nil
|
|
1798
|
+
end
|
|
1799
|
+
plumbing = V1::ActiveDirectoryStore.new()
|
|
1800
|
+
plumbing.id = (porcelain.id)
|
|
1801
|
+
plumbing.name = (porcelain.name)
|
|
1802
|
+
plumbing.server_address = (porcelain.server_address)
|
|
1803
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
1804
|
+
plumbing
|
|
1805
|
+
end
|
|
1806
|
+
def self.convert_repeated_active_directory_store_to_plumbing(porcelains)
|
|
1807
|
+
items = Array.new
|
|
1808
|
+
porcelains.each do |porcelain|
|
|
1809
|
+
plumbing = convert_active_directory_store_to_plumbing(porcelain)
|
|
1810
|
+
items.append(plumbing)
|
|
1811
|
+
end
|
|
1812
|
+
items
|
|
1813
|
+
end
|
|
1814
|
+
|
|
1815
|
+
def self.convert_repeated_active_directory_store_to_porcelain(plumbings)
|
|
1816
|
+
items = Array.new
|
|
1817
|
+
plumbings.each do |plumbing|
|
|
1818
|
+
porcelain = convert_active_directory_store_to_porcelain(plumbing)
|
|
1819
|
+
items.append(porcelain)
|
|
1820
|
+
end
|
|
1821
|
+
items
|
|
1822
|
+
end
|
|
1783
1823
|
def self.convert_activity_to_porcelain(plumbing)
|
|
1784
1824
|
if plumbing == nil
|
|
1785
1825
|
return nil
|
|
@@ -9587,6 +9627,9 @@ module SDM
|
|
|
9587
9627
|
return nil
|
|
9588
9628
|
end
|
|
9589
9629
|
plumbing = V1::SecretStore.new()
|
|
9630
|
+
if porcelain.instance_of? ActiveDirectoryStore
|
|
9631
|
+
plumbing.active_directory = convert_active_directory_store_to_plumbing(porcelain)
|
|
9632
|
+
end
|
|
9590
9633
|
if porcelain.instance_of? AWSStore
|
|
9591
9634
|
plumbing.aws = convert_aws_store_to_plumbing(porcelain)
|
|
9592
9635
|
end
|
|
@@ -9648,6 +9691,9 @@ module SDM
|
|
|
9648
9691
|
if plumbing == nil
|
|
9649
9692
|
return nil
|
|
9650
9693
|
end
|
|
9694
|
+
if plumbing.active_directory != nil
|
|
9695
|
+
return convert_active_directory_store_to_porcelain(plumbing.active_directory)
|
|
9696
|
+
end
|
|
9651
9697
|
if plumbing.aws != nil
|
|
9652
9698
|
return convert_aws_store_to_porcelain(plumbing.aws)
|
|
9653
9699
|
end
|
|
@@ -26,6 +26,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
26
26
|
oneof :secret_store do
|
|
27
27
|
optional :aws, :message, 3, "v1.AWSStore"
|
|
28
28
|
optional :aws_cert_x_509, :message, 30, "v1.AWSCertX509Store"
|
|
29
|
+
optional :active_directory, :message, 666, "v1.ActiveDirectoryStore"
|
|
29
30
|
optional :azure, :message, 101, "v1.AzureStore"
|
|
30
31
|
optional :cyberark_conjur, :message, 301, "v1.CyberarkConjurStore"
|
|
31
32
|
optional :cyberark_pam, :message, 303, "v1.CyberarkPAMStore"
|
|
@@ -60,6 +61,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
60
61
|
optional :signingAlgo, :string, 6
|
|
61
62
|
optional :tags, :message, 4, "v1.Tags"
|
|
62
63
|
end
|
|
64
|
+
add_message "v1.ActiveDirectoryStore" do
|
|
65
|
+
optional :id, :string, 1
|
|
66
|
+
optional :name, :string, 2
|
|
67
|
+
optional :server_address, :string, 3
|
|
68
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
69
|
+
end
|
|
63
70
|
add_message "v1.AzureStore" do
|
|
64
71
|
optional :id, :string, 1
|
|
65
72
|
optional :name, :string, 2
|
|
@@ -197,6 +204,7 @@ module V1
|
|
|
197
204
|
SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
|
|
198
205
|
AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
|
|
199
206
|
AWSCertX509Store = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSCertX509Store").msgclass
|
|
207
|
+
ActiveDirectoryStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActiveDirectoryStore").msgclass
|
|
200
208
|
AzureStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureStore").msgclass
|
|
201
209
|
CyberarkConjurStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkConjurStore").msgclass
|
|
202
210
|
CyberarkPAMStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkPAMStore").msgclass
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -1506,6 +1506,39 @@ module SDM
|
|
|
1506
1506
|
end
|
|
1507
1507
|
end
|
|
1508
1508
|
|
|
1509
|
+
# ActiveDirectoryStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
1510
|
+
class ActiveDirectoryStore
|
|
1511
|
+
# Unique identifier of the SecretStore.
|
|
1512
|
+
attr_accessor :id
|
|
1513
|
+
# Unique human-readable name of the SecretStore.
|
|
1514
|
+
attr_accessor :name
|
|
1515
|
+
# Hostname of server that is hosting NDES (Network Device Enrollment Services).
|
|
1516
|
+
# Often this is the same host as Active Directory Certificate Services
|
|
1517
|
+
attr_accessor :server_address
|
|
1518
|
+
# Tags is a map of key, value pairs.
|
|
1519
|
+
attr_accessor :tags
|
|
1520
|
+
|
|
1521
|
+
def initialize(
|
|
1522
|
+
id: nil,
|
|
1523
|
+
name: nil,
|
|
1524
|
+
server_address: nil,
|
|
1525
|
+
tags: nil
|
|
1526
|
+
)
|
|
1527
|
+
@id = id == nil ? "" : id
|
|
1528
|
+
@name = name == nil ? "" : name
|
|
1529
|
+
@server_address = server_address == nil ? "" : server_address
|
|
1530
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
1531
|
+
end
|
|
1532
|
+
|
|
1533
|
+
def to_json(options = {})
|
|
1534
|
+
hash = {}
|
|
1535
|
+
self.instance_variables.each do |var|
|
|
1536
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
1537
|
+
end
|
|
1538
|
+
hash.to_json
|
|
1539
|
+
end
|
|
1540
|
+
end
|
|
1541
|
+
|
|
1509
1542
|
# An Activity is a record of an action taken against a strongDM deployment, e.g.
|
|
1510
1543
|
# a user creation, resource deletion, sso configuration change, etc.
|
|
1511
1544
|
class Activity
|
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.8.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.8.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-03-
|
|
11
|
+
date: 2024-03-04 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-8e713d387f255f0ec0181dce3e2a505478deb064.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-8e713d387f255f0ec0181dce3e2a505478deb064.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|