strongdm 11.18.0 → 11.21.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-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.idx → pack-e3a9c839e2d25c9ddfd4f35215ef3c5aadbeb0dd.idx} +0 -0
- data/.git/objects/pack/{pack-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.pack → pack-e3a9c839e2d25c9ddfd4f35215ef3c5aadbeb0dd.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +3 -0
- data/lib/grpc/access_requests_pb.rb +10 -0
- data/lib/grpc/drivers_pb.rb +2 -0
- data/lib/grpc/plumbing.rb +8 -0
- data/lib/models/porcelain.rb +17 -0
- 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: 22bb8b78d17db336cf61e9669eb48876c61f3b599c3b5ceae7ba78448e14be1d
|
4
|
+
data.tar.gz: bb48d8a66459e2e57191d7bdbb7c49db979e6609f82a001b1c1b184141822c6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0559da6b3b3d55a7405affbd43caa2bdd2378dedba8d5c7d9c5b7a1942cba2be506f54d46f28aa94b8a936c3af7fbf0333b3da2c21a12c660ed643851b0c4699'
|
7
|
+
data.tar.gz: 5af77e8c09e1608a81fddce9f1316ba8eda2504c9e7f0af15c1ce554c693ed0c6ebdc332ce27f4420deaf67c69594552b5883e0fec323d8075893bc726ff72b9
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
6c59b1cc33d79de19952a7d99c4e8a30d24f07c9
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 root <root@d200eab0c08a.(none)> 1734553386 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 root <root@d200eab0c08a.(none)> 1734553386 +0000 checkout: moving from master to master
|
3
|
+
6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 root <root@d200eab0c08a.(none)> 1734553386 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 root <root@d200eab0c08a.(none)> 1734553386 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 root <root@d200eab0c08a.(none)> 1734553386 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 root <root@d200eab0c08a.(none)> 1734553386 +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
|
+
babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 refs/remotes/origin/development
|
3
|
+
6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 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
|
@@ -45,6 +45,8 @@ aca824df29f19d5db284f1b94a34f5a3f2d2cbc7 refs/tags/v11.12.0
|
|
45
45
|
76f5a2a075048c179bcabe4cad4f3e66e1f10b12 refs/tags/v11.15.0
|
46
46
|
5ea659281f2b7a99a04b52522551bce0625859eb refs/tags/v11.16.0
|
47
47
|
1e1852727f8fb5404f59461655b2b73fb270d925 refs/tags/v11.17.0
|
48
|
+
ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec refs/tags/v11.18.0
|
49
|
+
6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 refs/tags/v11.20.0
|
48
50
|
9103d7d0e3104e99edb3d9a188d231ae0ce3947f refs/tags/v11.3.0
|
49
51
|
8c7312bf4266bdfeff959667faba7f8ef1e58f27 refs/tags/v11.4.0
|
50
52
|
d181d0dc49250f81e47eea64cdd8e6a93f7a95da refs/tags/v11.5.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8
|
data/lib/constants.rb
CHANGED
@@ -275,6 +275,7 @@ module SDM
|
|
275
275
|
ACCESS_REQUEST_TO_RESOURCE_GRANTED = "access request to resource granted"
|
276
276
|
ACCESS_REQUEST_TO_RESOURCE_GRANTED_AUTOMATICALLY = "access request to resource granted automatically"
|
277
277
|
ACCESS_REQUEST_TO_RESOURCE_APPROVED_VIA_SERVICE_NOW = "access request to resource approved via ServiceNow"
|
278
|
+
ACCESS_REQUEST_TO_RESOURCE_APPROVED_VIA_JIRA = "access request to resource approved via Jira"
|
278
279
|
WORKFLOW_DELETED = "workflow deleted"
|
279
280
|
WORKFLOW_ADDED = "workflow added"
|
280
281
|
DEPRECATED_WORKFLOW_RESOURCE_ASSIGNED = "resource assigned to workflow"
|
@@ -288,6 +289,7 @@ module SDM
|
|
288
289
|
WORKFLOW_NAME_UPDATED = "workflow name updated"
|
289
290
|
WORKFLOW_DESCRIPTION_UPDATED = "workflow description updated"
|
290
291
|
WORKFLOW_REQUIRES_REASON_UPDATED = "workflow requires reason updated"
|
292
|
+
WORKFLOW_SETTINGS_UPDATED = "workflow settings updated"
|
291
293
|
WORKFLOW_ACCESS_RULES_UPDATED = "workflow access rules updated"
|
292
294
|
WORKFLOW_ACCESS_RULES_DELETED = "workflow access rules deleted"
|
293
295
|
WORKFLOW_ACCESS_RULES_CREATED = "workflow access rules created"
|
@@ -324,6 +326,7 @@ module SDM
|
|
324
326
|
MANAGED_SECRET_CREATED = "managed secret created"
|
325
327
|
MANAGED_SECRET_UPDATED = "managed secret updated"
|
326
328
|
MANAGED_SECRET_EXPIRATION_TIME_UPDATED = "managed secret expiration time updated"
|
329
|
+
MANAGED_SECRET_CONFIG_UPDATED = "managed secret config updated"
|
327
330
|
MANAGED_SECRET_DELETED = "managed secret deleted"
|
328
331
|
end
|
329
332
|
|
@@ -17,6 +17,7 @@
|
|
17
17
|
|
18
18
|
require "google/protobuf"
|
19
19
|
|
20
|
+
require "google/protobuf/duration_pb"
|
20
21
|
require "google/protobuf/timestamp_pb"
|
21
22
|
require "options_pb"
|
22
23
|
require "spec_pb"
|
@@ -45,6 +46,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
45
46
|
optional :status_at, :message, 9, "google.protobuf.Timestamp"
|
46
47
|
optional :grant_id, :string, 10
|
47
48
|
optional :duration, :int64, 11
|
49
|
+
optional :requestedDuration, :message, 13, "google.protobuf.Duration"
|
50
|
+
optional :resultDuration, :message, 14, "google.protobuf.Duration"
|
48
51
|
optional :requester_name, :string, 12
|
49
52
|
end
|
50
53
|
add_message "v1.AccessRequestEvent" do
|
@@ -69,6 +72,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
69
72
|
optional :start_from, :message, 3, "google.protobuf.Timestamp"
|
70
73
|
optional :duration, :string, 4
|
71
74
|
end
|
75
|
+
add_message "v1.RequestAccessRequestConfig" do
|
76
|
+
repeated :resource_ids, :string, 1
|
77
|
+
optional :reason, :string, 2
|
78
|
+
optional :start_from, :message, 3, "google.protobuf.Timestamp"
|
79
|
+
optional :duration, :string, 4
|
80
|
+
end
|
72
81
|
end
|
73
82
|
end
|
74
83
|
|
@@ -79,4 +88,5 @@ module V1
|
|
79
88
|
AccessRequestEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestEvent").msgclass
|
80
89
|
RequestableResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RequestableResource").msgclass
|
81
90
|
AccessRequestConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestConfig").msgclass
|
91
|
+
RequestAccessRequestConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RequestAccessRequestConfig").msgclass
|
82
92
|
end
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -870,6 +870,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
870
870
|
optional :identity_alias_healthcheck_username, :string, 5
|
871
871
|
optional :identity_set_id, :string, 4
|
872
872
|
optional :port_override, :int32, 6
|
873
|
+
optional :project_id, :string, 13
|
873
874
|
optional :scopes, :string, 7
|
874
875
|
optional :session_expiry, :int32, 3
|
875
876
|
optional :workforce_pool_id, :string, 1
|
@@ -1403,6 +1404,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1403
1404
|
optional :hostname, :string, 1
|
1404
1405
|
optional :identity_alias_healthcheck_username, :string, 6
|
1405
1406
|
optional :identity_set_id, :string, 5
|
1407
|
+
optional :lock_required, :bool, 11
|
1406
1408
|
optional :port, :int32, 4
|
1407
1409
|
optional :port_override, :int32, 3
|
1408
1410
|
optional :username, :string, 2
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -857,7 +857,9 @@ module SDM
|
|
857
857
|
porcelain.grant_id = (plumbing.grant_id)
|
858
858
|
porcelain.id = (plumbing.id)
|
859
859
|
porcelain.reason = (plumbing.reason)
|
860
|
+
porcelain.requestedduration = convert_duration_to_porcelain(plumbing.requestedDuration)
|
860
861
|
porcelain.resource_id = (plumbing.resource_id)
|
862
|
+
porcelain.resultduration = convert_duration_to_porcelain(plumbing.resultDuration)
|
861
863
|
porcelain.start_from = convert_timestamp_to_porcelain(plumbing.start_from)
|
862
864
|
porcelain.status = (plumbing.status)
|
863
865
|
porcelain.status_at = convert_timestamp_to_porcelain(plumbing.status_at)
|
@@ -876,7 +878,9 @@ module SDM
|
|
876
878
|
plumbing.grant_id = (porcelain.grant_id)
|
877
879
|
plumbing.id = (porcelain.id)
|
878
880
|
plumbing.reason = (porcelain.reason)
|
881
|
+
plumbing.requestedDuration = convert_duration_to_plumbing(porcelain.requestedduration)
|
879
882
|
plumbing.resource_id = (porcelain.resource_id)
|
883
|
+
plumbing.resultDuration = convert_duration_to_plumbing(porcelain.resultduration)
|
880
884
|
plumbing.start_from = convert_timestamp_to_plumbing(porcelain.start_from)
|
881
885
|
plumbing.status = (porcelain.status)
|
882
886
|
plumbing.status_at = convert_timestamp_to_plumbing(porcelain.status_at)
|
@@ -5329,6 +5333,7 @@ module SDM
|
|
5329
5333
|
porcelain.identity_set_id = (plumbing.identity_set_id)
|
5330
5334
|
porcelain.name = (plumbing.name)
|
5331
5335
|
porcelain.port_override = (plumbing.port_override)
|
5336
|
+
porcelain.project_id = (plumbing.project_id)
|
5332
5337
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
5333
5338
|
porcelain.scopes = (plumbing.scopes)
|
5334
5339
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
@@ -5353,6 +5358,7 @@ module SDM
|
|
5353
5358
|
plumbing.identity_set_id = (porcelain.identity_set_id)
|
5354
5359
|
plumbing.name = (porcelain.name)
|
5355
5360
|
plumbing.port_override = (porcelain.port_override)
|
5361
|
+
plumbing.project_id = (porcelain.project_id)
|
5356
5362
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
5357
5363
|
plumbing.scopes = (porcelain.scopes)
|
5358
5364
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
@@ -9579,6 +9585,7 @@ module SDM
|
|
9579
9585
|
porcelain.id = (plumbing.id)
|
9580
9586
|
porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
|
9581
9587
|
porcelain.identity_set_id = (plumbing.identity_set_id)
|
9588
|
+
porcelain.lock_required = (plumbing.lock_required)
|
9582
9589
|
porcelain.name = (plumbing.name)
|
9583
9590
|
porcelain.port = (plumbing.port)
|
9584
9591
|
porcelain.port_override = (plumbing.port_override)
|
@@ -9602,6 +9609,7 @@ module SDM
|
|
9602
9609
|
plumbing.id = (porcelain.id)
|
9603
9610
|
plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
|
9604
9611
|
plumbing.identity_set_id = (porcelain.identity_set_id)
|
9612
|
+
plumbing.lock_required = (porcelain.lock_required)
|
9605
9613
|
plumbing.name = (porcelain.name)
|
9606
9614
|
plumbing.port = (porcelain.port)
|
9607
9615
|
plumbing.port_override = (porcelain.port_override)
|
data/lib/models/porcelain.rb
CHANGED
@@ -835,6 +835,7 @@ module SDM
|
|
835
835
|
# The account that initiated the request.
|
836
836
|
attr_accessor :account_id
|
837
837
|
# Duration of the access request.
|
838
|
+
# Deprecated: use requested/result duration instead
|
838
839
|
attr_accessor :duration
|
839
840
|
# The account grant created, if it exists.
|
840
841
|
attr_accessor :grant_id
|
@@ -842,8 +843,12 @@ module SDM
|
|
842
843
|
attr_accessor :id
|
843
844
|
# The reason the access was requested.
|
844
845
|
attr_accessor :reason
|
846
|
+
# The duration that access was requested for, if any.
|
847
|
+
attr_accessor :requestedduration
|
845
848
|
# The resource id.
|
846
849
|
attr_accessor :resource_id
|
850
|
+
# The duration that results from an approved request.
|
851
|
+
attr_accessor :resultduration
|
847
852
|
# The timestamp when the requested access will be granted.
|
848
853
|
# If this field is not specified it will default to the current time.
|
849
854
|
attr_accessor :start_from
|
@@ -862,7 +867,9 @@ module SDM
|
|
862
867
|
grant_id: nil,
|
863
868
|
id: nil,
|
864
869
|
reason: nil,
|
870
|
+
requestedduration: nil,
|
865
871
|
resource_id: nil,
|
872
|
+
resultduration: nil,
|
866
873
|
start_from: nil,
|
867
874
|
status: nil,
|
868
875
|
status_at: nil,
|
@@ -874,7 +881,9 @@ module SDM
|
|
874
881
|
@grant_id = grant_id == nil ? "" : grant_id
|
875
882
|
@id = id == nil ? "" : id
|
876
883
|
@reason = reason == nil ? "" : reason
|
884
|
+
@requestedduration = requestedduration == nil ? nil : requestedduration
|
877
885
|
@resource_id = resource_id == nil ? "" : resource_id
|
886
|
+
@resultduration = resultduration == nil ? nil : resultduration
|
878
887
|
@start_from = start_from == nil ? nil : start_from
|
879
888
|
@status = status == nil ? "" : status
|
880
889
|
@status_at = status_at == nil ? nil : status_at
|
@@ -5243,6 +5252,8 @@ module SDM
|
|
5243
5252
|
attr_accessor :name
|
5244
5253
|
# The local port used by clients to connect to this resource.
|
5245
5254
|
attr_accessor :port_override
|
5255
|
+
# When specified, all project scoped requests will use this Project ID, overriding the project ID specified by clients
|
5256
|
+
attr_accessor :project_id
|
5246
5257
|
# ID of the proxy cluster for this resource, if any.
|
5247
5258
|
attr_accessor :proxy_cluster_id
|
5248
5259
|
# Space separated scopes that this login should assume into when authenticating.
|
@@ -5269,6 +5280,7 @@ module SDM
|
|
5269
5280
|
identity_set_id: nil,
|
5270
5281
|
name: nil,
|
5271
5282
|
port_override: nil,
|
5283
|
+
project_id: nil,
|
5272
5284
|
proxy_cluster_id: nil,
|
5273
5285
|
scopes: nil,
|
5274
5286
|
secret_store_id: nil,
|
@@ -5286,6 +5298,7 @@ module SDM
|
|
5286
5298
|
@identity_set_id = identity_set_id == nil ? "" : identity_set_id
|
5287
5299
|
@name = name == nil ? "" : name
|
5288
5300
|
@port_override = port_override == nil ? 0 : port_override
|
5301
|
+
@project_id = project_id == nil ? "" : project_id
|
5289
5302
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
5290
5303
|
@scopes = scopes == nil ? "" : scopes
|
5291
5304
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
@@ -9587,6 +9600,8 @@ module SDM
|
|
9587
9600
|
attr_accessor :identity_alias_healthcheck_username
|
9588
9601
|
# The ID of the identity set to use for identity connections.
|
9589
9602
|
attr_accessor :identity_set_id
|
9603
|
+
# When set, require a resource lock to access the resource to ensure it can only be used by one user at a time.
|
9604
|
+
attr_accessor :lock_required
|
9590
9605
|
# Unique human-readable name of the Resource.
|
9591
9606
|
attr_accessor :name
|
9592
9607
|
# The port to dial to initiate a connection from the egress node to this resource.
|
@@ -9612,6 +9627,7 @@ module SDM
|
|
9612
9627
|
id: nil,
|
9613
9628
|
identity_alias_healthcheck_username: nil,
|
9614
9629
|
identity_set_id: nil,
|
9630
|
+
lock_required: nil,
|
9615
9631
|
name: nil,
|
9616
9632
|
port: nil,
|
9617
9633
|
port_override: nil,
|
@@ -9628,6 +9644,7 @@ module SDM
|
|
9628
9644
|
@id = id == nil ? "" : id
|
9629
9645
|
@identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
|
9630
9646
|
@identity_set_id = identity_set_id == nil ? "" : identity_set_id
|
9647
|
+
@lock_required = lock_required == nil ? false : lock_required
|
9631
9648
|
@name = name == nil ? "" : name
|
9632
9649
|
@port = port == nil ? 0 : port
|
9633
9650
|
@port_override = port_override == nil ? 0 : port_override
|
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 = "2024-03-28"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/11.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/11.21.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: 11.
|
4
|
+
version: 11.21.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-12-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-e3a9c839e2d25c9ddfd4f35215ef3c5aadbeb0dd.idx"
|
85
|
+
- "./.git/objects/pack/pack-e3a9c839e2d25c9ddfd4f35215ef3c5aadbeb0dd.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|