strongdm 11.18.0 → 11.20.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-52978acedf6375e2f49ab523cba85684996a2f51.idx} +0 -0
- data/.git/objects/pack/{pack-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.pack → pack-52978acedf6375e2f49ab523cba85684996a2f51.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +1 -0
- data/lib/grpc/access_requests_pb.rb +10 -0
- data/lib/grpc/drivers_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +6 -0
- data/lib/models/porcelain.rb +13 -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: 1e5943146a9663497eb316c5677876acb3e4af59dadc875abee93fa3ead97572
|
4
|
+
data.tar.gz: d065dec93a3853465d601c090ad64d073067af03139e7ddfbdb19d6bc3a62f41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2f761fcb1d3c955bf0ce340b98e6db80fbc1758ac15b8754092c7a50c6b04f7d683f0fc1df3320d75344b31f0a69c6d11b29aa0e807e6b4e7e24ea71a188420
|
7
|
+
data.tar.gz: 94732612d7267804f018b036c9344e795f5cb25ea2a5b6b54b88a6fed51673d92602417385fe3dee872737e3dd7ad58e332aca10a5f4f3d6da9b4b41c873e1db
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec root <root@83be6db420c6.(none)> 1732724797 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec root <root@83be6db420c6.(none)> 1732724797 +0000 checkout: moving from master to master
|
3
|
+
ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec 6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 root <root@83be6db420c6.(none)> 1732724797 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec root <root@83be6db420c6.(none)> 1732724797 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec 6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 root <root@83be6db420c6.(none)> 1732724797 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec root <root@83be6db420c6.(none)> 1732724797 +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
|
+
6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 refs/remotes/origin/development
|
3
|
+
ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec 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,7 @@ 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
|
48
49
|
9103d7d0e3104e99edb3d9a188d231ae0ce3947f refs/tags/v11.3.0
|
49
50
|
8c7312bf4266bdfeff959667faba7f8ef1e58f27 refs/tags/v11.4.0
|
50
51
|
d181d0dc49250f81e47eea64cdd8e6a93f7a95da refs/tags/v11.5.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
6c59b1cc33d79de19952a7d99c4e8a30d24f07c9
|
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"
|
@@ -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
|
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)
|
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
|
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.20.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.20.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-
|
11
|
+
date: 2024-11-27 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-52978acedf6375e2f49ab523cba85684996a2f51.idx"
|
85
|
+
- "./.git/objects/pack/pack-52978acedf6375e2f49ab523cba85684996a2f51.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|