strongdm 11.22.0 → 12.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-2b58f009fa65deb8f936bb8905441c7bfdef9326.idx → pack-61e8f698f0975e8fb139189ff79c7c858800cbff.idx} +0 -0
- data/.git/objects/pack/{pack-2b58f009fa65deb8f936bb8905441c7bfdef9326.pack → pack-61e8f698f0975e8fb139189ff79c7c858800cbff.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +0 -10
- data/lib/grpc/plumbing.rb +4 -0
- data/lib/grpc/workflows_pb.rb +3 -0
- data/lib/models/porcelain.rb +10 -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: a7d3e0c93cc793df4ce696ca518ff63fa3b9b6c1f13841e39034f2560543f7cb
|
4
|
+
data.tar.gz: 364522e62b0020d7cf85534a2dcf68632a086e79da11447a259bc84aaaa62cc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccd234e7039d8f7919bbff69e08f86ba69b4bde96f71b59c62026dc081b5a0b81ecfe9962a86d56cc7461a303d95177b47d396dbe254eb9368b0d054ab4b1d5f
|
7
|
+
data.tar.gz: cf8af2ea28e7b8799f50c3b1f5a33a8438d1e717e40106a35d2f79b3189bca8af92cca1506a67709b656f117faf6670d100f19563c1f37ca9728d1aeafaef7f1
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
e1030c394c76e14bf727d36e72e2f3fdf56b5653
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@e4e086f4ad2c.(none)> 1736362933 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
e1030c394c76e14bf727d36e72e2f3fdf56b5653 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@e4e086f4ad2c.(none)> 1736362933 +0000 checkout: moving from master to master
|
3
|
+
e1030c394c76e14bf727d36e72e2f3fdf56b5653 dea63eda193578749a7430e674f939e5f452a50b root <root@e4e086f4ad2c.(none)> 1736362934 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@e4e086f4ad2c.(none)> 1736362933 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
e1030c394c76e14bf727d36e72e2f3fdf56b5653 dea63eda193578749a7430e674f939e5f452a50b root <root@e4e086f4ad2c.(none)> 1736362934 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 e1030c394c76e14bf727d36e72e2f3fdf56b5653 root <root@e4e086f4ad2c.(none)> 1736362933 +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
|
+
dea63eda193578749a7430e674f939e5f452a50b refs/remotes/origin/development
|
3
|
+
e1030c394c76e14bf727d36e72e2f3fdf56b5653 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,8 @@ 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
|
52
|
+
e1030c394c76e14bf727d36e72e2f3fdf56b5653 refs/tags/v11.23.0
|
51
53
|
9103d7d0e3104e99edb3d9a188d231ae0ce3947f refs/tags/v11.3.0
|
52
54
|
8c7312bf4266bdfeff959667faba7f8ef1e58f27 refs/tags/v11.4.0
|
53
55
|
d181d0dc49250f81e47eea64cdd8e6a93f7a95da refs/tags/v11.5.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
dea63eda193578749a7430e674f939e5f452a50b
|
data/lib/constants.rb
CHANGED
@@ -368,8 +368,6 @@ module SDM
|
|
368
368
|
USER_ASSIGN = "user:assign"
|
369
369
|
USER_SUSPEND = "user:suspend"
|
370
370
|
USER_SET_PASSWORD = "user:set_password"
|
371
|
-
DEMO_PROVISIONING_REQUEST_CREATE = "demoprovisioningrequest:create"
|
372
|
-
DEMO_PROVISIONING_REQUEST_LIST = "demoprovisioningrequest:list"
|
373
371
|
ROLE_LIST = "role:list"
|
374
372
|
ROLE_CREATE = "role:create"
|
375
373
|
ROLE_DELETE = "role:delete"
|
@@ -399,18 +397,10 @@ module SDM
|
|
399
397
|
ORG_AUDIT_POLICIES = "audit:policies"
|
400
398
|
WORKFLOW_LIST = "workflow:list"
|
401
399
|
WORKFLOW_EDIT = "workflow:edit"
|
402
|
-
ACCESS_REQUEST_EDIT = "accessrequest:edit"
|
403
400
|
ACCESS_REQUEST_LIST = "accessrequest:list"
|
404
401
|
ACCESS_REQUEST_REQUESTER = "accessrequest:requester"
|
405
402
|
APPROVAL_FLOW_EDIT = "approvalflow:edit"
|
406
403
|
APPROVAL_FLOW_LIST = "approvalflow:list"
|
407
|
-
GLOBAL_RDP_RENDER = "rdp:render"
|
408
|
-
GLOBAL_QUERY_BUCKET_TRACKER = "query:bucket_tracker"
|
409
|
-
GLOBAL_ASSETS_GET_LATEST_VERSION_COMMIT_HASH = "assets:get_latest_version_commit_hash"
|
410
|
-
GLOBAL_SDMOS_SERVICE = "sdmos:service"
|
411
|
-
GLOBAL_SDMOS_DEPLOYMENT = "sdmos:deployment"
|
412
|
-
GLOBAL_SDMOS_RELEASE = "sdmos:release"
|
413
|
-
GLOBAL_DEMO_PROVISIONER = "demo:provision"
|
414
404
|
INSTALLATION_BLESS = "installation:bless"
|
415
405
|
INSTALLATION_CREATE = "installation:create"
|
416
406
|
INSTALLATION_REVOKE = "installation:revoke"
|
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)
|
data/lib/grpc/workflows_pb.rb
CHANGED
@@ -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
|
data/lib/models/porcelain.rb
CHANGED
@@ -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/
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/12.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: 12.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: 2025-01-
|
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-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-61e8f698f0975e8fb139189ff79c7c858800cbff.idx"
|
85
|
+
- "./.git/objects/pack/pack-61e8f698f0975e8fb139189ff79c7c858800cbff.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|