strongdm 3.18.0 → 4.0.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-f4db79d8b517a6bbe6b8e46ce03146184bf6e554.idx → pack-62c21975dcf26d12a04fa2870997616174cd2273.idx} +0 -0
- data/.git/objects/pack/{pack-f4db79d8b517a6bbe6b8e46ce03146184bf6e554.pack → pack-62c21975dcf26d12a04fa2870997616174cd2273.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +3 -15
- data/lib/grpc/nodes_pb.rb +0 -2
- data/lib/grpc/plumbing.rb +2 -4
- data/lib/grpc/queries_pb.rb +1 -0
- data/lib/models/porcelain.rb +4 -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
|
@@ -51,6 +51,8 @@ f880c51210aa33186d71d9b463ddbd587ef3e4fd refs/tags/v3.12.0
|
|
51
51
|
6e8ee132772d2663157a4263aa15ddffeac7486f refs/tags/v3.15.0
|
52
52
|
a469b2d58875fd54ce9a67154bd8feaa73588449 refs/tags/v3.16.0
|
53
53
|
7e8c95f92b7ab35d93eec71a3e6b378bbe4e8d36 refs/tags/v3.17.0
|
54
|
+
0d2955c2c2f11a0bd128d6b6a45b5d0c741b9789 refs/tags/v3.18.0
|
55
|
+
a38565dfcbe14542f525a29ccd7135f87024243b refs/tags/v3.19.0
|
54
56
|
40d185ce8d4f4375411706886f6fbbaa5493bef6 refs/tags/v3.2.0
|
55
57
|
dd6a8a74ad5675831f42e3a820208e96f7361f80 refs/tags/v3.2.1
|
56
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.
|
@@ -243,21 +244,6 @@ module SDM
|
|
243
244
|
ACCESS_REQUEST_TO_RESOURCE_TIMED_OUT = "access request to resource timed out"
|
244
245
|
ACCESS_REQUEST_TO_RESOURCE_GRANTED = "access request to resource granted"
|
245
246
|
ACCESS_REQUEST_TO_RESOURCE_GRANTED_AUTOMATICALLY = "access request to resource granted automatically"
|
246
|
-
WORKFLOW_ADDED = "access workflow added"
|
247
|
-
WORKFLOW_DELETED = "access workflow deleted"
|
248
|
-
WORKFLOW_RESOURCE_ASSIGNED = "resource assigned to workflow"
|
249
|
-
WORKFLOW_RESOURCE_UNASSIGNED = "resource unassigned from workflow"
|
250
|
-
WORKFLOW_RESOURCE_MULTIPLE_ASSIGNED = "multiple resources assigned to workflow"
|
251
|
-
WORKFLOW_RESOURCE_MULTIPLE_UNASSIGNED = "multiple resources unassigned from workflow"
|
252
|
-
WORKFLOW_ROLES_UPDATED = "workflow roles updated"
|
253
|
-
WORKFLOW_APPROVERS_UPDATED = "workflow approvers updated"
|
254
|
-
WORKFLOW_NAME_UPDATED = "workflow name updated"
|
255
|
-
WORKFLOW_DESCRIPTION_UPDATED = "workflow description updated"
|
256
|
-
WORKFLOW_AUTO_GRANT_UPDATED = "workflow auto grant updated"
|
257
|
-
WORKFLOW_REQUIRES_REASON_UPDATED = "workflow requires reason updated"
|
258
|
-
WORKFLOW_ACCESS_RULES_UPDATED = "workflow access rules updated"
|
259
|
-
WORKFLOW_ACCESS_RULES_DELETED = "workflow access rules deleted"
|
260
|
-
WORKFLOW_ACCESS_RULES_CREATED = "workflow access rules created"
|
261
247
|
ORG_VNM_SUBNET_UPDATED = "organization VNM subnet updated"
|
262
248
|
ORG_VNM_RESOURCES_ALLOCATED = "organization resources allocated within VNM subnet"
|
263
249
|
DEPRECATED_ORG_ACTIVATE_DEVICE_APPROVAL = "activate device approval"
|
@@ -283,6 +269,8 @@ module SDM
|
|
283
269
|
DEPRECATED_DATASOURCE_GRANT = "datasource:grant"
|
284
270
|
DATASOURCE_DELETE = "datasource:delete"
|
285
271
|
DATASOURCE_UPDATE = "datasource:update"
|
272
|
+
RESOURCE_LOCK_DELETE = "resourcelock:delete"
|
273
|
+
RESOURCE_LOCK_LIST = "resourcelock:list"
|
286
274
|
SECRET_STORE_CREATE = "secretstore:create"
|
287
275
|
SECRET_STORE_LIST = "secretstore:list"
|
288
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)
|
@@ -5890,6 +5888,7 @@ module SDM
|
|
5890
5888
|
porcelain.resource_name = (plumbing.resource_name)
|
5891
5889
|
porcelain.resource_tags = convert_tags_to_porcelain(plumbing.resource_tags)
|
5892
5890
|
porcelain.resource_type = (plumbing.resource_type)
|
5891
|
+
porcelain.source_ip = (plumbing.source_ip)
|
5893
5892
|
porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
|
5894
5893
|
porcelain
|
5895
5894
|
end
|
@@ -5921,6 +5920,7 @@ module SDM
|
|
5921
5920
|
plumbing.resource_name = (porcelain.resource_name)
|
5922
5921
|
plumbing.resource_tags = convert_tags_to_plumbing(porcelain.resource_tags)
|
5923
5922
|
plumbing.resource_type = (porcelain.resource_type)
|
5923
|
+
plumbing.source_ip = (porcelain.source_ip)
|
5924
5924
|
plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
|
5925
5925
|
plumbing
|
5926
5926
|
end
|
@@ -6340,7 +6340,6 @@ module SDM
|
|
6340
6340
|
return nil
|
6341
6341
|
end
|
6342
6342
|
porcelain = Relay.new()
|
6343
|
-
porcelain.connects_to = (plumbing.connects_to)
|
6344
6343
|
porcelain.device = (plumbing.device)
|
6345
6344
|
porcelain.gateway_filter = (plumbing.gateway_filter)
|
6346
6345
|
porcelain.id = (plumbing.id)
|
@@ -6358,7 +6357,6 @@ module SDM
|
|
6358
6357
|
return nil
|
6359
6358
|
end
|
6360
6359
|
plumbing = V1::Relay.new()
|
6361
|
-
plumbing.connects_to = (porcelain.connects_to)
|
6362
6360
|
plumbing.device = (porcelain.device)
|
6363
6361
|
plumbing.gateway_filter = (porcelain.gateway_filter)
|
6364
6362
|
plumbing.id = (porcelain.id)
|
data/lib/grpc/queries_pb.rb
CHANGED
@@ -58,6 +58,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
58
58
|
optional :query_key_id, :string, 22
|
59
59
|
optional :completed_at, :message, 23, "google.protobuf.Timestamp"
|
60
60
|
optional :capture, :message, 24, "v1.QueryCapture"
|
61
|
+
optional :source_ip, :string, 25
|
61
62
|
end
|
62
63
|
add_message "v1.QueryCapture" do
|
63
64
|
optional :width, :int32, 1
|
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
|
@@ -6253,6 +6248,8 @@ module SDM
|
|
6253
6248
|
attr_accessor :resource_tags
|
6254
6249
|
# The specific type of Resource against which the Query was performed, e.g. "ssh" or "postgres".
|
6255
6250
|
attr_accessor :resource_type
|
6251
|
+
# The IP address the Query was performed from, as detected at the ingress gateway.
|
6252
|
+
attr_accessor :source_ip
|
6256
6253
|
# The time at which the Query was started.
|
6257
6254
|
attr_accessor :timestamp
|
6258
6255
|
|
@@ -6279,6 +6276,7 @@ module SDM
|
|
6279
6276
|
resource_name: nil,
|
6280
6277
|
resource_tags: nil,
|
6281
6278
|
resource_type: nil,
|
6279
|
+
source_ip: nil,
|
6282
6280
|
timestamp: nil
|
6283
6281
|
)
|
6284
6282
|
@account_email = account_email == nil ? "" : account_email
|
@@ -6303,6 +6301,7 @@ module SDM
|
|
6303
6301
|
@resource_name = resource_name == nil ? "" : resource_name
|
6304
6302
|
@resource_tags = resource_tags == nil ? SDM::_porcelain_zero_value_tags() : resource_tags
|
6305
6303
|
@resource_type = resource_type == nil ? "" : resource_type
|
6304
|
+
@source_ip = source_ip == nil ? "" : source_ip
|
6306
6305
|
@timestamp = timestamp == nil ? nil : timestamp
|
6307
6306
|
end
|
6308
6307
|
|
@@ -6767,9 +6766,6 @@ module SDM
|
|
6767
6766
|
|
6768
6767
|
# Relay represents a StrongDM CLI installation running in relay mode.
|
6769
6768
|
class Relay
|
6770
|
-
# ConnectsTo can be used to restrict the peering between relays and
|
6771
|
-
# gateways.
|
6772
|
-
attr_accessor :connects_to
|
6773
6769
|
# Device is a read only device name uploaded by the gateway process when
|
6774
6770
|
# it comes online.
|
6775
6771
|
attr_accessor :device
|
@@ -6807,7 +6803,6 @@ module SDM
|
|
6807
6803
|
attr_accessor :version
|
6808
6804
|
|
6809
6805
|
def initialize(
|
6810
|
-
connects_to: nil,
|
6811
6806
|
device: nil,
|
6812
6807
|
gateway_filter: nil,
|
6813
6808
|
id: nil,
|
@@ -6818,7 +6813,6 @@ module SDM
|
|
6818
6813
|
tags: nil,
|
6819
6814
|
version: nil
|
6820
6815
|
)
|
6821
|
-
@connects_to = connects_to == nil ? "" : connects_to
|
6822
6816
|
@device = device == nil ? "" : device
|
6823
6817
|
@gateway_filter = gateway_filter == nil ? "" : gateway_filter
|
6824
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"
|