strongdm 6.7.0 → 6.8.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-82546c160db6f2093fffb13fda2210198cfda289.idx → pack-8e713d387f255f0ec0181dce3e2a505478deb064.idx} +0 -0
- data/.git/objects/pack/{pack-82546c160db6f2093fffb13fda2210198cfda289.pack → pack-8e713d387f255f0ec0181dce3e2a505478deb064.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/plumbing.rb +48 -0
- data/lib/grpc/queries_pb.rb +1 -0
- data/lib/grpc/secret_store_types_pb.rb +8 -0
- data/lib/models/porcelain.rb +37 -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
|
@@ -98,3 +98,5 @@ f4af6ebad8174f8e5aeec63536db9290597a3982 refs/tags/v6.2.1
|
|
98
98
|
e015e0386c2f0b99314bb46ae71631afdbcf4ed0 refs/tags/v6.4.0
|
99
99
|
998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 refs/tags/v6.5.0
|
100
100
|
b28e0cc368d9174e5858abd41992efff0a030bcb refs/tags/v6.6.0
|
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
|
@@ -6974,6 +7014,7 @@ module SDM
|
|
6974
7014
|
porcelain.account_last_name = (plumbing.account_last_name)
|
6975
7015
|
porcelain.account_tags = convert_tags_to_porcelain(plumbing.account_tags)
|
6976
7016
|
porcelain.capture = convert_query_capture_to_porcelain(plumbing.capture)
|
7017
|
+
porcelain.client_ip = (plumbing.client_ip)
|
6977
7018
|
porcelain.completed_at = convert_timestamp_to_porcelain(plumbing.completed_at)
|
6978
7019
|
porcelain.duration = convert_duration_to_porcelain(plumbing.duration)
|
6979
7020
|
porcelain.egress_node_id = (plumbing.egress_node_id)
|
@@ -7006,6 +7047,7 @@ module SDM
|
|
7006
7047
|
plumbing.account_last_name = (porcelain.account_last_name)
|
7007
7048
|
plumbing.account_tags = convert_tags_to_plumbing(porcelain.account_tags)
|
7008
7049
|
plumbing.capture = convert_query_capture_to_plumbing(porcelain.capture)
|
7050
|
+
plumbing.client_ip = (porcelain.client_ip)
|
7009
7051
|
plumbing.completed_at = convert_timestamp_to_plumbing(porcelain.completed_at)
|
7010
7052
|
plumbing.duration = convert_duration_to_plumbing(porcelain.duration)
|
7011
7053
|
plumbing.egress_node_id = (porcelain.egress_node_id)
|
@@ -9585,6 +9627,9 @@ module SDM
|
|
9585
9627
|
return nil
|
9586
9628
|
end
|
9587
9629
|
plumbing = V1::SecretStore.new()
|
9630
|
+
if porcelain.instance_of? ActiveDirectoryStore
|
9631
|
+
plumbing.active_directory = convert_active_directory_store_to_plumbing(porcelain)
|
9632
|
+
end
|
9588
9633
|
if porcelain.instance_of? AWSStore
|
9589
9634
|
plumbing.aws = convert_aws_store_to_plumbing(porcelain)
|
9590
9635
|
end
|
@@ -9646,6 +9691,9 @@ module SDM
|
|
9646
9691
|
if plumbing == nil
|
9647
9692
|
return nil
|
9648
9693
|
end
|
9694
|
+
if plumbing.active_directory != nil
|
9695
|
+
return convert_active_directory_store_to_porcelain(plumbing.active_directory)
|
9696
|
+
end
|
9649
9697
|
if plumbing.aws != nil
|
9650
9698
|
return convert_aws_store_to_porcelain(plumbing.aws)
|
9651
9699
|
end
|
data/lib/grpc/queries_pb.rb
CHANGED
@@ -63,6 +63,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
63
63
|
optional :authentication_id, :string, 26
|
64
64
|
optional :target, :string, 27
|
65
65
|
optional :authzJson, :string, 28
|
66
|
+
optional :client_ip, :string, 29
|
66
67
|
end
|
67
68
|
add_message "v1.QueryCapture" do
|
68
69
|
optional :width, :int32, 1
|
@@ -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
|
@@ -7082,6 +7115,8 @@ module SDM
|
|
7082
7115
|
# For queries against SSH, Kubernetes, and RDP resources, this contains additional information
|
7083
7116
|
# about the captured query.
|
7084
7117
|
attr_accessor :capture
|
7118
|
+
# The IP address the Query was performed from, as detected at the StrongDM control plane.
|
7119
|
+
attr_accessor :client_ip
|
7085
7120
|
# The time at which the Query was completed.
|
7086
7121
|
# Empty if this record indicates the start of a long-running query.
|
7087
7122
|
attr_accessor :completed_at
|
@@ -7133,6 +7168,7 @@ module SDM
|
|
7133
7168
|
account_last_name: nil,
|
7134
7169
|
account_tags: nil,
|
7135
7170
|
capture: nil,
|
7171
|
+
client_ip: nil,
|
7136
7172
|
completed_at: nil,
|
7137
7173
|
duration: nil,
|
7138
7174
|
egress_node_id: nil,
|
@@ -7158,6 +7194,7 @@ module SDM
|
|
7158
7194
|
@account_last_name = account_last_name == nil ? "" : account_last_name
|
7159
7195
|
@account_tags = account_tags == nil ? SDM::_porcelain_zero_value_tags() : account_tags
|
7160
7196
|
@capture = capture == nil ? nil : capture
|
7197
|
+
@client_ip = client_ip == nil ? "" : client_ip
|
7161
7198
|
@completed_at = completed_at == nil ? nil : completed_at
|
7162
7199
|
@duration = duration == nil ? nil : duration
|
7163
7200
|
@egress_node_id = egress_node_id == nil ? "" : egress_node_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.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-
|
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"
|