strongdm 3.19.0 → 4.0.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-039487bbd7f310787cffd29574acef4686618fba.idx → pack-62c21975dcf26d12a04fa2870997616174cd2273.idx} +0 -0
- data/.git/objects/pack/{pack-039487bbd7f310787cffd29574acef4686618fba.pack → pack-62c21975dcf26d12a04fa2870997616174cd2273.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +3 -0
- data/lib/grpc/nodes_pb.rb +0 -2
- data/lib/grpc/plumbing.rb +0 -4
- data/lib/models/porcelain.rb +0 -10
- data/lib/strongdm.rb +1 -1
- 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: 6721ce01c451198381ec7fc422f09483b14cea4b7c0932f6b005d64d5ae978da
|
|
4
|
+
data.tar.gz: 7542c40c698e7508d4677c2f0a068206645716250758e0b2ae37e74e84babc7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0f34f73f19bc250e4cb25d945250aae8c222a88e9785b1d72fffce1cc092593e95b25f73b98c4aa71a5a7dae58672517fba2800d484753a9db349cf2b218946
|
|
7
|
+
data.tar.gz: 9ea3ee58c52d7f321134eed947ea08055675c19d8585aaaf11d06d52d0f55844049932719ec2a29b83a0b6869c5778adab237ebd4e790f28800ebe56fa209b5a
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a38565dfcbe14542f525a29ccd7135f87024243b
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 a38565dfcbe14542f525a29ccd7135f87024243b root <root@78cea6f6462c.(none)> 1689694201 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
a38565dfcbe14542f525a29ccd7135f87024243b a38565dfcbe14542f525a29ccd7135f87024243b root <root@78cea6f6462c.(none)> 1689694201 +0000 checkout: moving from master to master
|
|
3
|
+
a38565dfcbe14542f525a29ccd7135f87024243b 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f root <root@78cea6f6462c.(none)> 1689694201 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 a38565dfcbe14542f525a29ccd7135f87024243b root <root@78cea6f6462c.(none)> 1689694201 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
a38565dfcbe14542f525a29ccd7135f87024243b 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f root <root@78cea6f6462c.(none)> 1689694201 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 a38565dfcbe14542f525a29ccd7135f87024243b root <root@78cea6f6462c.(none)> 1689694201 +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
|
+
66c01691f9e5ba524569f85fa51eb0f4f9f0e99f refs/remotes/origin/development
|
|
3
|
+
a38565dfcbe14542f525a29ccd7135f87024243b 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
|
|
@@ -52,6 +52,7 @@ f880c51210aa33186d71d9b463ddbd587ef3e4fd refs/tags/v3.12.0
|
|
|
52
52
|
a469b2d58875fd54ce9a67154bd8feaa73588449 refs/tags/v3.16.0
|
|
53
53
|
7e8c95f92b7ab35d93eec71a3e6b378bbe4e8d36 refs/tags/v3.17.0
|
|
54
54
|
0d2955c2c2f11a0bd128d6b6a45b5d0c741b9789 refs/tags/v3.18.0
|
|
55
|
+
a38565dfcbe14542f525a29ccd7135f87024243b refs/tags/v3.19.0
|
|
55
56
|
40d185ce8d4f4375411706886f6fbbaa5493bef6 refs/tags/v3.2.0
|
|
56
57
|
dd6a8a74ad5675831f42e3a820208e96f7361f80 refs/tags/v3.2.1
|
|
57
58
|
09ee1a3be370a7b5e21709a7857d0f189f23da8b refs/tags/v3.2.2
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
66c01691f9e5ba524569f85fa51eb0f4f9f0e99f
|
data/lib/constants.rb
CHANGED
|
@@ -107,6 +107,7 @@ module SDM
|
|
|
107
107
|
ACCESS_REQUEST = "access_request"
|
|
108
108
|
WORKFLOW = "workflow"
|
|
109
109
|
NODE = "node"
|
|
110
|
+
PEERING_GROUP = "peering_group"
|
|
110
111
|
end
|
|
111
112
|
|
|
112
113
|
# Activity Verbs, describe which kind of activity has taken place.
|
|
@@ -268,6 +269,8 @@ module SDM
|
|
|
268
269
|
DEPRECATED_DATASOURCE_GRANT = "datasource:grant"
|
|
269
270
|
DATASOURCE_DELETE = "datasource:delete"
|
|
270
271
|
DATASOURCE_UPDATE = "datasource:update"
|
|
272
|
+
RESOURCE_LOCK_DELETE = "resourcelock:delete"
|
|
273
|
+
RESOURCE_LOCK_LIST = "resourcelock:list"
|
|
271
274
|
SECRET_STORE_CREATE = "secretstore:create"
|
|
272
275
|
SECRET_STORE_LIST = "secretstore:list"
|
|
273
276
|
SECRET_STORE_DELETE = "secretstore:delete"
|
data/lib/grpc/nodes_pb.rb
CHANGED
|
@@ -84,7 +84,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
84
84
|
optional :location, :string, 7
|
|
85
85
|
optional :version, :string, 8
|
|
86
86
|
optional :uuid, :string, 9
|
|
87
|
-
optional :connects_to, :string, 10
|
|
88
87
|
repeated :maintenance_windows, :message, 11, "v1.NodeMaintenanceWindow"
|
|
89
88
|
end
|
|
90
89
|
add_message "v1.Gateway" do
|
|
@@ -99,7 +98,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
99
98
|
optional :location, :string, 9
|
|
100
99
|
optional :version, :string, 10
|
|
101
100
|
optional :uuid, :string, 11
|
|
102
|
-
optional :connects_to, :string, 12
|
|
103
101
|
repeated :maintenance_windows, :message, 13, "v1.NodeMaintenanceWindow"
|
|
104
102
|
end
|
|
105
103
|
add_message "v1.NodeMaintenanceWindow" do
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -3716,7 +3716,6 @@ module SDM
|
|
|
3716
3716
|
end
|
|
3717
3717
|
porcelain = Gateway.new()
|
|
3718
3718
|
porcelain.bind_address = (plumbing.bind_address)
|
|
3719
|
-
porcelain.connects_to = (plumbing.connects_to)
|
|
3720
3719
|
porcelain.device = (plumbing.device)
|
|
3721
3720
|
porcelain.gateway_filter = (plumbing.gateway_filter)
|
|
3722
3721
|
porcelain.id = (plumbing.id)
|
|
@@ -3736,7 +3735,6 @@ module SDM
|
|
|
3736
3735
|
end
|
|
3737
3736
|
plumbing = V1::Gateway.new()
|
|
3738
3737
|
plumbing.bind_address = (porcelain.bind_address)
|
|
3739
|
-
plumbing.connects_to = (porcelain.connects_to)
|
|
3740
3738
|
plumbing.device = (porcelain.device)
|
|
3741
3739
|
plumbing.gateway_filter = (porcelain.gateway_filter)
|
|
3742
3740
|
plumbing.id = (porcelain.id)
|
|
@@ -6342,7 +6340,6 @@ module SDM
|
|
|
6342
6340
|
return nil
|
|
6343
6341
|
end
|
|
6344
6342
|
porcelain = Relay.new()
|
|
6345
|
-
porcelain.connects_to = (plumbing.connects_to)
|
|
6346
6343
|
porcelain.device = (plumbing.device)
|
|
6347
6344
|
porcelain.gateway_filter = (plumbing.gateway_filter)
|
|
6348
6345
|
porcelain.id = (plumbing.id)
|
|
@@ -6360,7 +6357,6 @@ module SDM
|
|
|
6360
6357
|
return nil
|
|
6361
6358
|
end
|
|
6362
6359
|
plumbing = V1::Relay.new()
|
|
6363
|
-
plumbing.connects_to = (porcelain.connects_to)
|
|
6364
6360
|
plumbing.device = (porcelain.device)
|
|
6365
6361
|
plumbing.gateway_filter = (porcelain.gateway_filter)
|
|
6366
6362
|
plumbing.id = (porcelain.id)
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -3745,9 +3745,6 @@ module SDM
|
|
|
3745
3745
|
# The hostname/port tuple which the gateway daemon will bind to.
|
|
3746
3746
|
# If not provided on create, set to "0.0.0.0:listen_address_port".
|
|
3747
3747
|
attr_accessor :bind_address
|
|
3748
|
-
# ConnectsTo can be used to restrict the peering between relays and
|
|
3749
|
-
# gateways.
|
|
3750
|
-
attr_accessor :connects_to
|
|
3751
3748
|
# Device is a read only device name uploaded by the gateway process when
|
|
3752
3749
|
# it comes online.
|
|
3753
3750
|
attr_accessor :device
|
|
@@ -3787,7 +3784,6 @@ module SDM
|
|
|
3787
3784
|
|
|
3788
3785
|
def initialize(
|
|
3789
3786
|
bind_address: nil,
|
|
3790
|
-
connects_to: nil,
|
|
3791
3787
|
device: nil,
|
|
3792
3788
|
gateway_filter: nil,
|
|
3793
3789
|
id: nil,
|
|
@@ -3800,7 +3796,6 @@ module SDM
|
|
|
3800
3796
|
version: nil
|
|
3801
3797
|
)
|
|
3802
3798
|
@bind_address = bind_address == nil ? "" : bind_address
|
|
3803
|
-
@connects_to = connects_to == nil ? "" : connects_to
|
|
3804
3799
|
@device = device == nil ? "" : device
|
|
3805
3800
|
@gateway_filter = gateway_filter == nil ? "" : gateway_filter
|
|
3806
3801
|
@id = id == nil ? "" : id
|
|
@@ -6771,9 +6766,6 @@ module SDM
|
|
|
6771
6766
|
|
|
6772
6767
|
# Relay represents a StrongDM CLI installation running in relay mode.
|
|
6773
6768
|
class Relay
|
|
6774
|
-
# ConnectsTo can be used to restrict the peering between relays and
|
|
6775
|
-
# gateways.
|
|
6776
|
-
attr_accessor :connects_to
|
|
6777
6769
|
# Device is a read only device name uploaded by the gateway process when
|
|
6778
6770
|
# it comes online.
|
|
6779
6771
|
attr_accessor :device
|
|
@@ -6811,7 +6803,6 @@ module SDM
|
|
|
6811
6803
|
attr_accessor :version
|
|
6812
6804
|
|
|
6813
6805
|
def initialize(
|
|
6814
|
-
connects_to: nil,
|
|
6815
6806
|
device: nil,
|
|
6816
6807
|
gateway_filter: nil,
|
|
6817
6808
|
id: nil,
|
|
@@ -6822,7 +6813,6 @@ module SDM
|
|
|
6822
6813
|
tags: nil,
|
|
6823
6814
|
version: nil
|
|
6824
6815
|
)
|
|
6825
|
-
@connects_to = connects_to == nil ? "" : connects_to
|
|
6826
6816
|
@device = device == nil ? "" : device
|
|
6827
6817
|
@gateway_filter = gateway_filter == nil ? "" : gateway_filter
|
|
6828
6818
|
@id = id == nil ? "" : 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/
|
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/4.0.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/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:
|
|
4
|
+
version: 4.0.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: 2023-07-
|
|
11
|
+
date: 2023-07-18 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-62c21975dcf26d12a04fa2870997616174cd2273.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-62c21975dcf26d12a04fa2870997616174cd2273.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|