strongdm 11.22.0 → 11.23.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eba92ea1f8c3a1e7be03bc4968ca4731cc70e1756e17c3f48976b7ab108a3665
4
- data.tar.gz: abed12075c9957b4456a14f012142e419dd65b84954fdacb8661a78c7b5da815
3
+ metadata.gz: bf6f2e962ba26c2b4e98c0a8e595c25484996e2caceae52e13d292bb29cf097d
4
+ data.tar.gz: 8bd61a3af6ae64a25033ed5bd494dad99395acd2c15f85d48ff1ca00f84bcfbc
5
5
  SHA512:
6
- metadata.gz: 313b3f47c4e1cf5f0bce50f9b7dd92ee55049aff4fd9b86b1c5e840bd5f290e669bfe68e368389ed459a8ea1828ac6562872f7dbc5be1356ea519d9121308bc8
7
- data.tar.gz: ccf33bbdb74302d71f6edc55a02a33dd0b9d863f0ae33125716022367b7e55a84e9646053a7965e831cec326c145dbac681192c70c65ff8f1dd68a316aca1d09
6
+ metadata.gz: f4285dc4d8647446e6aa5c8fa0152fa34cc3eff7ed3bd83a9bbe0644ed9923a560bf0999863ed21a374ac0b6ebffb9c99622b0034bbe2dbb979f1fa9526b2260
7
+ data.tar.gz: 8aba37087809a01d2a7986f6e38fa201efbd81095d28c326574f55d59d68d1ab824f8c7916e033e69d704934c6730f20873d6e0da9ca96702feb4e6d71a9bc3b
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8
1
+ 6a64d6f5053c687d1bb1be10739bec384f438fe2
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 root <root@216a3c1de193.(none)> 1736224745 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 root <root@216a3c1de193.(none)> 1736224745 +0000 checkout: moving from master to master
3
- babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 6a64d6f5053c687d1bb1be10739bec384f438fe2 root <root@216a3c1de193.(none)> 1736224745 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 6a64d6f5053c687d1bb1be10739bec384f438fe2 root <root@5149ac332077.(none)> 1736356542 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 6a64d6f5053c687d1bb1be10739bec384f438fe2 6a64d6f5053c687d1bb1be10739bec384f438fe2 root <root@5149ac332077.(none)> 1736356542 +0000 checkout: moving from master to master
3
+ 6a64d6f5053c687d1bb1be10739bec384f438fe2 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@5149ac332077.(none)> 1736356542 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 root <root@216a3c1de193.(none)> 1736224745 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 6a64d6f5053c687d1bb1be10739bec384f438fe2 root <root@216a3c1de193.(none)> 1736224745 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 6a64d6f5053c687d1bb1be10739bec384f438fe2 root <root@5149ac332077.(none)> 1736356542 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 6a64d6f5053c687d1bb1be10739bec384f438fe2 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@5149ac332077.(none)> 1736356542 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 root <root@216a3c1de193.(none)> 1736224745 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 6a64d6f5053c687d1bb1be10739bec384f438fe2 root <root@5149ac332077.(none)> 1736356542 +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
- 6a64d6f5053c687d1bb1be10739bec384f438fe2 refs/remotes/origin/development
3
- babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 refs/remotes/origin/master
2
+ e1030c394c76e14bf727d36e72e2f3fdf56b5653 refs/remotes/origin/development
3
+ 6a64d6f5053c687d1bb1be10739bec384f438fe2 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
@@ -48,6 +48,7 @@ aca824df29f19d5db284f1b94a34f5a3f2d2cbc7 refs/tags/v11.12.0
48
48
  ad8bc34bbdc9f4810dfb2e6d13e2e072886b4eec refs/tags/v11.18.0
49
49
  6c59b1cc33d79de19952a7d99c4e8a30d24f07c9 refs/tags/v11.20.0
50
50
  babb126c36bbfe0b3cdbfd75b90bed3d6f73b7a8 refs/tags/v11.21.0
51
+ 6a64d6f5053c687d1bb1be10739bec384f438fe2 refs/tags/v11.22.0
51
52
  9103d7d0e3104e99edb3d9a188d231ae0ce3947f refs/tags/v11.3.0
52
53
  8c7312bf4266bdfeff959667faba7f8ef1e58f27 refs/tags/v11.4.0
53
54
  d181d0dc49250f81e47eea64cdd8e6a93f7a95da refs/tags/v11.5.0
@@ -1 +1 @@
1
- 6a64d6f5053c687d1bb1be10739bec384f438fe2
1
+ e1030c394c76e14bf727d36e72e2f3fdf56b5653
data/lib/grpc/plumbing.rb CHANGED
@@ -13748,6 +13748,8 @@ module SDM
13748
13748
  return nil
13749
13749
  end
13750
13750
  porcelain = Workflow.new()
13751
+ porcelain.access_request_fixed_duration = convert_duration_to_porcelain(plumbing.access_request_fixed_duration)
13752
+ porcelain.access_request_max_duration = convert_duration_to_porcelain(plumbing.access_request_max_duration)
13751
13753
  porcelain.access_rules = convert_access_rules_to_porcelain(plumbing.access_rules)
13752
13754
  porcelain.approval_flow_id = (plumbing.approval_flow_id)
13753
13755
  porcelain.auto_grant = (plumbing.auto_grant)
@@ -13764,6 +13766,8 @@ module SDM
13764
13766
  return nil
13765
13767
  end
13766
13768
  plumbing = V1::Workflow.new()
13769
+ plumbing.access_request_fixed_duration = convert_duration_to_plumbing(porcelain.access_request_fixed_duration)
13770
+ plumbing.access_request_max_duration = convert_duration_to_plumbing(porcelain.access_request_max_duration)
13767
13771
  plumbing.access_rules = convert_access_rules_to_plumbing(porcelain.access_rules)
13768
13772
  plumbing.approval_flow_id = (porcelain.approval_flow_id)
13769
13773
  plumbing.auto_grant = (porcelain.auto_grant)
@@ -17,6 +17,7 @@
17
17
 
18
18
  require "google/protobuf"
19
19
 
20
+ require "google/protobuf/duration_pb"
20
21
  require "options_pb"
21
22
  require "spec_pb"
22
23
 
@@ -75,6 +76,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
75
76
  optional :auto_grant, :bool, 5
76
77
  optional :enabled, :bool, 6
77
78
  optional :requires_reason, :bool, 7
79
+ optional :access_request_max_duration, :message, 10, "google.protobuf.Duration"
80
+ optional :access_request_fixed_duration, :message, 11, "google.protobuf.Duration"
78
81
  optional :access_rules, :string, 8
79
82
  optional :approval_flow_id, :string, 9
80
83
  end
@@ -12969,6 +12969,12 @@ module SDM
12969
12969
  # the users that can request that access, and the mechanism for approving those requests which can either
12970
12970
  # but automatic approval or a set of users authorized to approve the requests.
12971
12971
  class Workflow
12972
+ # Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty.
12973
+ # If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
12974
+ attr_accessor :access_request_fixed_duration
12975
+ # Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty.
12976
+ # If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
12977
+ attr_accessor :access_request_max_duration
12972
12978
  # AccessRules is a list of access rules defining the resources this Workflow provides access to.
12973
12979
  attr_accessor :access_rules
12974
12980
  # Optional approval flow ID identifies an approval flow that linked to the workflow
@@ -12991,6 +12997,8 @@ module SDM
12991
12997
  attr_accessor :weight
12992
12998
 
12993
12999
  def initialize(
13000
+ access_request_fixed_duration: nil,
13001
+ access_request_max_duration: nil,
12994
13002
  access_rules: nil,
12995
13003
  approval_flow_id: nil,
12996
13004
  auto_grant: nil,
@@ -13000,6 +13008,8 @@ module SDM
13000
13008
  name: nil,
13001
13009
  weight: nil
13002
13010
  )
13011
+ @access_request_fixed_duration = access_request_fixed_duration == nil ? nil : access_request_fixed_duration
13012
+ @access_request_max_duration = access_request_max_duration == nil ? nil : access_request_max_duration
13003
13013
  @access_rules = access_rules == nil ? SDM::_porcelain_zero_value_access_rules() : access_rules
13004
13014
  @approval_flow_id = approval_flow_id == nil ? "" : approval_flow_id
13005
13015
  @auto_grant = auto_grant == nil ? false : auto_grant
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.22.0"
32
+ USER_AGENT = "strongdm-sdk-ruby/11.23.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.22.0"
16
+ VERSION = "11.23.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.22.0"
16
+ VERSION = "11.23.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.22.0
4
+ version: 11.23.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: 2025-01-07 00:00:00.000000000 Z
11
+ date: 2025-01-08 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-2b58f009fa65deb8f936bb8905441c7bfdef9326.idx"
85
- - "./.git/objects/pack/pack-2b58f009fa65deb8f936bb8905441c7bfdef9326.pack"
84
+ - "./.git/objects/pack/pack-980e2ae9dd3a200c55c7c0ee4cf558df43b0a5b1.idx"
85
+ - "./.git/objects/pack/pack-980e2ae9dd3a200c55c7c0ee4cf558df43b0a5b1.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"