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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee2f1c7d7d93ca5907216dc879396fd08aaeb1d6ac15d6de77de4b39d860797f
4
- data.tar.gz: 0346b394dee9ef2da5e4e2ee2d897997f218cf8f1f6b1b5670ca2d1d4741c511
3
+ metadata.gz: 1e5943146a9663497eb316c5677876acb3e4af59dadc875abee93fa3ead97572
4
+ data.tar.gz: d065dec93a3853465d601c090ad64d073067af03139e7ddfbdb19d6bc3a62f41
5
5
  SHA512:
6
- metadata.gz: 2b51b03264fc29c7e6a92458f9856e53ad8e3a1c4754916c3f8033fd888555583bcd2d23ae87d887358ae46b895380d0af19b3b874c45ae208bac1b3317234dc
7
- data.tar.gz: 5f6285594f2f3808c81cefb4f1a45aa87a2e93be43347a87321db760645d4f08abce25ab0afad5e3d35cf420e04fe1f43e34135fa008f810e05a0d8783d5a66b
6
+ metadata.gz: a2f761fcb1d3c955bf0ce340b98e6db80fbc1758ac15b8754092c7a50c6b04f7d683f0fc1df3320d75344b31f0a69c6d11b29aa0e807e6b4e7e24ea71a188420
7
+ data.tar.gz: 94732612d7267804f018b036c9344e795f5cb25ea2a5b6b54b88a6fed51673d92602417385fe3dee872737e3dd7ad58e332aca10a5f4f3d6da9b4b41c873e1db
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 1e1852727f8fb5404f59461655b2b73fb270d925
1
+ ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@45ae6aa94a54.(none)> 1731101355 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 1e1852727f8fb5404f59461655b2b73fb270d925 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@45ae6aa94a54.(none)> 1731101355 +0000 checkout: moving from master to master
3
- 1e1852727f8fb5404f59461655b2b73fb270d925 ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec root <root@45ae6aa94a54.(none)> 1731101355 +0000 merge origin/development: Fast-forward
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
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@45ae6aa94a54.(none)> 1731101355 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 1e1852727f8fb5404f59461655b2b73fb270d925 ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec root <root@45ae6aa94a54.(none)> 1731101355 +0000 merge origin/development: Fast-forward
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 1e1852727f8fb5404f59461655b2b73fb270d925 root <root@45ae6aa94a54.(none)> 1731101355 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec root <root@83be6db420c6.(none)> 1732724797 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec refs/remotes/origin/development
3
- 1e1852727f8fb5404f59461655b2b73fb270d925 refs/remotes/origin/master
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
@@ -1 +1 @@
1
- ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec
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
@@ -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)
@@ -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.18.0"
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
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "11.18.0"
16
+ VERSION = "11.20.0"
17
17
  end
data/lib/version.rb CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "11.18.0"
16
+ VERSION = "11.20.0"
17
17
  end
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.18.0
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-08 00:00:00.000000000 Z
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-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.idx"
85
- - "./.git/objects/pack/pack-155e7c6704c0bdf19a2e4f4bfd3cd22f40beabb9.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"