strongdm 9.0.0 → 9.2.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: e05d61efaf973298c51bbff9a1d8f26711741b1441ce71de8904fe501a2afc0b
4
- data.tar.gz: 22a8c9516f5bb4e7719ccab8c59381b60981436385149adaf510b3ed84ade9c2
3
+ metadata.gz: 67ed8e3b6a87cfb1cbe42fc225a64d56f4a5c345ae9333b60b3dfcb2e3d3dc3a
4
+ data.tar.gz: c9adc11ec9883719f874b07c3c4d4d0420cc02f6d9c34f9cd061c38b91d21f7b
5
5
  SHA512:
6
- metadata.gz: 31062f3241e3b0e0411162da65287142a48145829bf7c4f8bb88a9e86db3b7ce780d45a4b3d54a54e8143d1b68296cc9c3a74eb2504ff9c71c1d151470154328
7
- data.tar.gz: 2b0292269d1de24b21d6967a78ee7e6a8a9c2dc4b7da7094596432e43b577486b4515e75e8e54496a8d3f10317aa4d40fef885d3b6f0a06b18eafe8c519b4f9b
6
+ metadata.gz: 2da4104e78eca7c47d72eda275c1a31c06754775bfb7feeada181fa548be18099b0f7aa73dfac9169aea79ef7781091a87d9bd954629edd06b1b2762e71b3438
7
+ data.tar.gz: e9876fbae33a206685e3c32596837d64a6686710d09c8744264c938bc7a42594c15476fa1a037d0576b85603fc3298ba18351e6909a33f6bc08d0b201c56cdb4
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 6ca94f88b799db10fe2a0867b5b53718a0289d0a
1
+ 0271f35ba50e29ded8bbc919bcd180b8f5428fe6
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 6ca94f88b799db10fe2a0867b5b53718a0289d0a root <root@396b905e8579.(none)> 1716418404 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 6ca94f88b799db10fe2a0867b5b53718a0289d0a 6ca94f88b799db10fe2a0867b5b53718a0289d0a root <root@396b905e8579.(none)> 1716418404 +0000 checkout: moving from master to master
3
- 6ca94f88b799db10fe2a0867b5b53718a0289d0a 510e35b667dd3c214950f99d2bd6cd24c41655ae root <root@396b905e8579.(none)> 1716418404 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 0271f35ba50e29ded8bbc919bcd180b8f5428fe6 root <root@36ada5058b63.(none)> 1718641531 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 0271f35ba50e29ded8bbc919bcd180b8f5428fe6 0271f35ba50e29ded8bbc919bcd180b8f5428fe6 root <root@36ada5058b63.(none)> 1718641531 +0000 checkout: moving from master to master
3
+ 0271f35ba50e29ded8bbc919bcd180b8f5428fe6 74fd97d07c0510f0c612ce2611adadbba25e2e91 root <root@36ada5058b63.(none)> 1718641531 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 6ca94f88b799db10fe2a0867b5b53718a0289d0a root <root@396b905e8579.(none)> 1716418404 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 6ca94f88b799db10fe2a0867b5b53718a0289d0a 510e35b667dd3c214950f99d2bd6cd24c41655ae root <root@396b905e8579.(none)> 1716418404 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 0271f35ba50e29ded8bbc919bcd180b8f5428fe6 root <root@36ada5058b63.(none)> 1718641531 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 0271f35ba50e29ded8bbc919bcd180b8f5428fe6 74fd97d07c0510f0c612ce2611adadbba25e2e91 root <root@36ada5058b63.(none)> 1718641531 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 6ca94f88b799db10fe2a0867b5b53718a0289d0a root <root@396b905e8579.(none)> 1716418404 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 0271f35ba50e29ded8bbc919bcd180b8f5428fe6 root <root@36ada5058b63.(none)> 1718641531 +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
- 510e35b667dd3c214950f99d2bd6cd24c41655ae refs/remotes/origin/development
3
- 6ca94f88b799db10fe2a0867b5b53718a0289d0a refs/remotes/origin/master
2
+ 74fd97d07c0510f0c612ce2611adadbba25e2e91 refs/remotes/origin/development
3
+ 0271f35ba50e29ded8bbc919bcd180b8f5428fe6 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
@@ -108,3 +108,5 @@ f34575bc142eabf113dbbc5b40b3a16e0c026355 refs/tags/v7.1.0
108
108
  14ef2b24960a5e854b60586884494ed913221b5b refs/tags/v8.1.0
109
109
  98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 refs/tags/v8.3.0
110
110
  6ca94f88b799db10fe2a0867b5b53718a0289d0a refs/tags/v8.4.0
111
+ 510e35b667dd3c214950f99d2bd6cd24c41655ae refs/tags/v9.0.0
112
+ 0271f35ba50e29ded8bbc919bcd180b8f5428fe6 refs/tags/v9.1.0
@@ -1 +1 @@
1
- 510e35b667dd3c214950f99d2bd6cd24c41655ae
1
+ 74fd97d07c0510f0c612ce2611adadbba25e2e91
data/lib/constants.rb CHANGED
@@ -107,6 +107,8 @@ module SDM
107
107
  SECRET_STORE = "secretstore"
108
108
  REMOTE_IDENTITY_GROUP = "remote_identity_group"
109
109
  REMOTE_IDENTITY = "remote_identity"
110
+ IDENTITY_SET = "identity_set"
111
+ IDENTITY_ALIAS = "identity_alias"
110
112
  ACCESS_REQUEST = "access_request"
111
113
  WORKFLOW = "workflow"
112
114
  NODE = "node"
@@ -242,11 +244,17 @@ module SDM
242
244
  REMOTE_IDENTITY_GROUP_CREATED = "remote identity group created"
243
245
  REMOTE_IDENTITY_GROUP_UPDATED = "remote identity group updated"
244
246
  REMOTE_IDENTITY_GROUP_DELETED = "remote identity group deleted"
247
+ IDENTITY_SET_CREATED = "identity set created"
248
+ IDENTITY_SET_UPDATED = "identity set updated"
249
+ IDENTITY_SET_DELETED = "identity set deleted"
245
250
  IDENTITY_SET_PROVISIONING_ENABLED = "identity set provisioning enabled"
246
251
  IDENTITY_SET_PROVISIONING_DISABLED = "identity set provisioning disabled"
247
252
  REMOTE_IDENTITY_CREATED = "remote identity created"
248
253
  REMOTE_IDENTITY_UPDATED = "remote identity updated"
249
254
  REMOTE_IDENTITY_DELETED = "remote identity deleted"
255
+ IDENTITY_ALIAS_CREATED = "identity alias created"
256
+ IDENTITY_ALIAS_UPDATED = "identity alias updated"
257
+ IDENTITY_ALIAS_DELETED = "identity alias deleted"
250
258
  IDENTITY_ALIAS_PROVISIONING_ENABLED = "identity alias provisioning enabled"
251
259
  IDENTITY_ALIAS_PROVISIONING_DISABLED = "identity alias provisioning disabled"
252
260
  ACCESS_REQUESTED_TO_RESOURCE = "access requested to resource"
@@ -444,5 +452,6 @@ module SDM
444
452
  NONE = ""
445
453
  SENTINEL_ONE = "sentinelone"
446
454
  CROWD_STRIKE = "crowdstrike"
455
+ MICROSOFT_DEFENDER = "microsoftdefender"
447
456
  end
448
457
  end
@@ -22,6 +22,15 @@ require "spec_pb"
22
22
 
23
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
24
  add_file("identity_sets.proto", :syntax => :proto3) do
25
+ add_message "v1.IdentitySetCreateRequest" do
26
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
27
+ optional :identity_set, :message, 2, "v1.IdentitySet"
28
+ end
29
+ add_message "v1.IdentitySetCreateResponse" do
30
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
31
+ optional :identity_set, :message, 2, "v1.IdentitySet"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
25
34
  add_message "v1.IdentitySetGetRequest" do
26
35
  optional :meta, :message, 1, "v1.GetRequestMetadata"
27
36
  optional :id, :string, 2
@@ -31,6 +40,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
31
40
  optional :identity_set, :message, 2, "v1.IdentitySet"
32
41
  optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
42
  end
43
+ add_message "v1.IdentitySetUpdateRequest" do
44
+ optional :meta, :message, 1, "v1.UpdateRequestMetadata"
45
+ optional :id, :string, 2
46
+ optional :identity_set, :message, 3, "v1.IdentitySet"
47
+ end
48
+ add_message "v1.IdentitySetUpdateResponse" do
49
+ optional :meta, :message, 1, "v1.UpdateResponseMetadata"
50
+ optional :identity_set, :message, 2, "v1.IdentitySet"
51
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
52
+ end
53
+ add_message "v1.IdentitySetDeleteRequest" do
54
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
55
+ optional :id, :string, 2
56
+ end
57
+ add_message "v1.IdentitySetDeleteResponse" do
58
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
59
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
60
+ end
34
61
  add_message "v1.IdentitySetListRequest" do
35
62
  optional :meta, :message, 1, "v1.ListRequestMetadata"
36
63
  optional :filter, :string, 2
@@ -48,8 +75,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
48
75
  end
49
76
 
50
77
  module V1
78
+ IdentitySetCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetCreateRequest").msgclass
79
+ IdentitySetCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetCreateResponse").msgclass
51
80
  IdentitySetGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetGetRequest").msgclass
52
81
  IdentitySetGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetGetResponse").msgclass
82
+ IdentitySetUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetUpdateRequest").msgclass
83
+ IdentitySetUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetUpdateResponse").msgclass
84
+ IdentitySetDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetDeleteRequest").msgclass
85
+ IdentitySetDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetDeleteResponse").msgclass
53
86
  IdentitySetListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetListRequest").msgclass
54
87
  IdentitySetListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySetListResponse").msgclass
55
88
  IdentitySet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.IdentitySet").msgclass
@@ -29,26 +29,14 @@ module V1
29
29
  self.unmarshal_class_method = :decode
30
30
  self.service_name = "v1.IdentitySets"
31
31
 
32
- # // Create registers a new IdentitySet.
33
- # rpc Create(IdentitySetCreateRequest) returns (IdentitySetCreateResponse) {
34
- # option (v1.method_options).method = "post";
35
- # option (v1.method_options).url = "/v1/identity-sets";
36
- # }
37
- #
32
+ # Create registers a new IdentitySet.
33
+ rpc :Create, ::V1::IdentitySetCreateRequest, ::V1::IdentitySetCreateResponse
38
34
  # Get reads one IdentitySet by ID.
39
35
  rpc :Get, ::V1::IdentitySetGetRequest, ::V1::IdentitySetGetResponse
40
- # // Update replaces all the fields of a IdentitySet by ID.
41
- # rpc Update(IdentitySetUpdateRequest) returns (IdentitySetUpdateResponse) {
42
- # option (v1.method_options).method = "put";
43
- # option (v1.method_options).url = "/v1/identity-sets/{id}";
44
- # }
45
- #
46
- # // Delete removes a IdentitySet by ID.
47
- # rpc Delete(IdentitySetDeleteRequest) returns (IdentitySetDeleteResponse) {
48
- # option (v1.method_options).method = "delete";
49
- # option (v1.method_options).url = "/v1/identity-sets/{id}";
50
- # }
51
- #
36
+ # Update replaces all the fields of a IdentitySet by ID.
37
+ rpc :Update, ::V1::IdentitySetUpdateRequest, ::V1::IdentitySetUpdateResponse
38
+ # Delete removes a IdentitySet by ID.
39
+ rpc :Delete, ::V1::IdentitySetDeleteRequest, ::V1::IdentitySetDeleteResponse
52
40
  # List gets a list of IdentitySets matching a given set of criteria.
53
41
  rpc :List, ::V1::IdentitySetListRequest, ::V1::IdentitySetListResponse
54
42
  end
data/lib/grpc/plumbing.rb CHANGED
@@ -5682,6 +5682,80 @@ module SDM
5682
5682
  end
5683
5683
  items
5684
5684
  end
5685
+ def self.convert_identity_set_create_response_to_porcelain(plumbing)
5686
+ if plumbing == nil
5687
+ return nil
5688
+ end
5689
+ porcelain = IdentitySetCreateResponse.new()
5690
+ porcelain.identity_set = convert_identity_set_to_porcelain(plumbing.identity_set)
5691
+ porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
5692
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
5693
+ porcelain
5694
+ end
5695
+
5696
+ def self.convert_identity_set_create_response_to_plumbing(porcelain)
5697
+ if porcelain == nil
5698
+ return nil
5699
+ end
5700
+ plumbing = V1::IdentitySetCreateResponse.new()
5701
+ plumbing.identity_set = convert_identity_set_to_plumbing(porcelain.identity_set)
5702
+ plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
5703
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
5704
+ plumbing
5705
+ end
5706
+ def self.convert_repeated_identity_set_create_response_to_plumbing(porcelains)
5707
+ items = Array.new
5708
+ porcelains.each do |porcelain|
5709
+ plumbing = convert_identity_set_create_response_to_plumbing(porcelain)
5710
+ items.append(plumbing)
5711
+ end
5712
+ items
5713
+ end
5714
+
5715
+ def self.convert_repeated_identity_set_create_response_to_porcelain(plumbings)
5716
+ items = Array.new
5717
+ plumbings.each do |plumbing|
5718
+ porcelain = convert_identity_set_create_response_to_porcelain(plumbing)
5719
+ items.append(porcelain)
5720
+ end
5721
+ items
5722
+ end
5723
+ def self.convert_identity_set_delete_response_to_porcelain(plumbing)
5724
+ if plumbing == nil
5725
+ return nil
5726
+ end
5727
+ porcelain = IdentitySetDeleteResponse.new()
5728
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
5729
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
5730
+ porcelain
5731
+ end
5732
+
5733
+ def self.convert_identity_set_delete_response_to_plumbing(porcelain)
5734
+ if porcelain == nil
5735
+ return nil
5736
+ end
5737
+ plumbing = V1::IdentitySetDeleteResponse.new()
5738
+ plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
5739
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
5740
+ plumbing
5741
+ end
5742
+ def self.convert_repeated_identity_set_delete_response_to_plumbing(porcelains)
5743
+ items = Array.new
5744
+ porcelains.each do |porcelain|
5745
+ plumbing = convert_identity_set_delete_response_to_plumbing(porcelain)
5746
+ items.append(plumbing)
5747
+ end
5748
+ items
5749
+ end
5750
+
5751
+ def self.convert_repeated_identity_set_delete_response_to_porcelain(plumbings)
5752
+ items = Array.new
5753
+ plumbings.each do |plumbing|
5754
+ porcelain = convert_identity_set_delete_response_to_porcelain(plumbing)
5755
+ items.append(porcelain)
5756
+ end
5757
+ items
5758
+ end
5685
5759
  def self.convert_identity_set_get_response_to_porcelain(plumbing)
5686
5760
  if plumbing == nil
5687
5761
  return nil
@@ -5760,6 +5834,44 @@ module SDM
5760
5834
  end
5761
5835
  items
5762
5836
  end
5837
+ def self.convert_identity_set_update_response_to_porcelain(plumbing)
5838
+ if plumbing == nil
5839
+ return nil
5840
+ end
5841
+ porcelain = IdentitySetUpdateResponse.new()
5842
+ porcelain.identity_set = convert_identity_set_to_porcelain(plumbing.identity_set)
5843
+ porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
5844
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
5845
+ porcelain
5846
+ end
5847
+
5848
+ def self.convert_identity_set_update_response_to_plumbing(porcelain)
5849
+ if porcelain == nil
5850
+ return nil
5851
+ end
5852
+ plumbing = V1::IdentitySetUpdateResponse.new()
5853
+ plumbing.identity_set = convert_identity_set_to_plumbing(porcelain.identity_set)
5854
+ plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta)
5855
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
5856
+ plumbing
5857
+ end
5858
+ def self.convert_repeated_identity_set_update_response_to_plumbing(porcelains)
5859
+ items = Array.new
5860
+ porcelains.each do |porcelain|
5861
+ plumbing = convert_identity_set_update_response_to_plumbing(porcelain)
5862
+ items.append(plumbing)
5863
+ end
5864
+ items
5865
+ end
5866
+
5867
+ def self.convert_repeated_identity_set_update_response_to_porcelain(plumbings)
5868
+ items = Array.new
5869
+ plumbings.each do |plumbing|
5870
+ porcelain = convert_identity_set_update_response_to_porcelain(plumbing)
5871
+ items.append(porcelain)
5872
+ end
5873
+ items
5874
+ end
5763
5875
  def self.convert_keyfactor_ssh_store_to_porcelain(plumbing)
5764
5876
  if plumbing == nil
5765
5877
  return nil
@@ -5446,6 +5446,59 @@ module SDM
5446
5446
  end
5447
5447
  end
5448
5448
 
5449
+ # IdentitySetCreateResponse reports how the IdentitySets were created in the system. It can
5450
+ # communicate partial successes or failures.
5451
+ class IdentitySetCreateResponse
5452
+ # The created IdentitySet.
5453
+ attr_accessor :identity_set
5454
+ # Reserved for future use.
5455
+ attr_accessor :meta
5456
+ # Rate limit information.
5457
+ attr_accessor :rate_limit
5458
+
5459
+ def initialize(
5460
+ identity_set: nil,
5461
+ meta: nil,
5462
+ rate_limit: nil
5463
+ )
5464
+ @identity_set = identity_set == nil ? nil : identity_set
5465
+ @meta = meta == nil ? nil : meta
5466
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5467
+ end
5468
+
5469
+ def to_json(options = {})
5470
+ hash = {}
5471
+ self.instance_variables.each do |var|
5472
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5473
+ end
5474
+ hash.to_json
5475
+ end
5476
+ end
5477
+
5478
+ # IdentitySetDeleteResponse returns information about a IdentitySet that was deleted.
5479
+ class IdentitySetDeleteResponse
5480
+ # Reserved for future use.
5481
+ attr_accessor :meta
5482
+ # Rate limit information.
5483
+ attr_accessor :rate_limit
5484
+
5485
+ def initialize(
5486
+ meta: nil,
5487
+ rate_limit: nil
5488
+ )
5489
+ @meta = meta == nil ? nil : meta
5490
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5491
+ end
5492
+
5493
+ def to_json(options = {})
5494
+ hash = {}
5495
+ self.instance_variables.each do |var|
5496
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5497
+ end
5498
+ hash.to_json
5499
+ end
5500
+ end
5501
+
5449
5502
  # IdentitySetGetResponse returns a requested IdentitySet.
5450
5503
  class IdentitySetGetResponse
5451
5504
  # The requested IdentitySet.
@@ -5509,6 +5562,35 @@ module SDM
5509
5562
  end
5510
5563
  end
5511
5564
 
5565
+ # IdentitySetUpdateResponse returns the fields of a IdentitySet after it has been updated by
5566
+ # a IdentitySetUpdateRequest.
5567
+ class IdentitySetUpdateResponse
5568
+ # The updated IdentitySet.
5569
+ attr_accessor :identity_set
5570
+ # Reserved for future use.
5571
+ attr_accessor :meta
5572
+ # Rate limit information.
5573
+ attr_accessor :rate_limit
5574
+
5575
+ def initialize(
5576
+ identity_set: nil,
5577
+ meta: nil,
5578
+ rate_limit: nil
5579
+ )
5580
+ @identity_set = identity_set == nil ? nil : identity_set
5581
+ @meta = meta == nil ? nil : meta
5582
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5583
+ end
5584
+
5585
+ def to_json(options = {})
5586
+ hash = {}
5587
+ self.instance_variables.each do |var|
5588
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5589
+ end
5590
+ hash.to_json
5591
+ end
5592
+ end
5593
+
5512
5594
  class KeyfactorSSHStore
5513
5595
  # Path to the root CA that signed the certificate passed to the client for HTTPS connection.
5514
5596
  # This is not required if the CA is trusted by the host operating system. This should be a PEM
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/9.0.0"
32
+ USER_AGENT = "strongdm-sdk-ruby/9.2.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/svc.rb CHANGED
@@ -2391,6 +2391,36 @@ module SDM #:nodoc:
2391
2391
  @parent = parent
2392
2392
  end
2393
2393
 
2394
+ # Create registers a new IdentitySet.
2395
+ def create(
2396
+ identity_set,
2397
+ deadline: nil
2398
+ )
2399
+ req = V1::IdentitySetCreateRequest.new()
2400
+
2401
+ req.identity_set = Plumbing::convert_identity_set_to_plumbing(identity_set)
2402
+ tries = 0
2403
+ plumbing_response = nil
2404
+ loop do
2405
+ begin
2406
+ plumbing_response = @stub.create(req, metadata: @parent.get_metadata("IdentitySets.Create", req), deadline: deadline)
2407
+ rescue => exception
2408
+ if (@parent.shouldRetry(tries, exception))
2409
+ tries + +@parent.jitterSleep(tries)
2410
+ next
2411
+ end
2412
+ raise Plumbing::convert_error_to_porcelain(exception)
2413
+ end
2414
+ break
2415
+ end
2416
+
2417
+ resp = IdentitySetCreateResponse.new()
2418
+ resp.identity_set = Plumbing::convert_identity_set_to_porcelain(plumbing_response.identity_set)
2419
+ resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
2420
+ resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
2421
+ resp
2422
+ end
2423
+
2394
2424
  # Get reads one IdentitySet by ID.
2395
2425
  def get(
2396
2426
  id,
@@ -2425,6 +2455,65 @@ module SDM #:nodoc:
2425
2455
  resp
2426
2456
  end
2427
2457
 
2458
+ # Update replaces all the fields of a IdentitySet by ID.
2459
+ def update(
2460
+ identity_set,
2461
+ deadline: nil
2462
+ )
2463
+ req = V1::IdentitySetUpdateRequest.new()
2464
+
2465
+ req.identity_set = Plumbing::convert_identity_set_to_plumbing(identity_set)
2466
+ tries = 0
2467
+ plumbing_response = nil
2468
+ loop do
2469
+ begin
2470
+ plumbing_response = @stub.update(req, metadata: @parent.get_metadata("IdentitySets.Update", req), deadline: deadline)
2471
+ rescue => exception
2472
+ if (@parent.shouldRetry(tries, exception))
2473
+ tries + +@parent.jitterSleep(tries)
2474
+ next
2475
+ end
2476
+ raise Plumbing::convert_error_to_porcelain(exception)
2477
+ end
2478
+ break
2479
+ end
2480
+
2481
+ resp = IdentitySetUpdateResponse.new()
2482
+ resp.identity_set = Plumbing::convert_identity_set_to_porcelain(plumbing_response.identity_set)
2483
+ resp.meta = Plumbing::convert_update_response_metadata_to_porcelain(plumbing_response.meta)
2484
+ resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
2485
+ resp
2486
+ end
2487
+
2488
+ # Delete removes a IdentitySet by ID.
2489
+ def delete(
2490
+ id,
2491
+ deadline: nil
2492
+ )
2493
+ req = V1::IdentitySetDeleteRequest.new()
2494
+
2495
+ req.id = (id)
2496
+ tries = 0
2497
+ plumbing_response = nil
2498
+ loop do
2499
+ begin
2500
+ plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("IdentitySets.Delete", req), deadline: deadline)
2501
+ rescue => exception
2502
+ if (@parent.shouldRetry(tries, exception))
2503
+ tries + +@parent.jitterSleep(tries)
2504
+ next
2505
+ end
2506
+ raise Plumbing::convert_error_to_porcelain(exception)
2507
+ end
2508
+ break
2509
+ end
2510
+
2511
+ resp = IdentitySetDeleteResponse.new()
2512
+ resp.meta = Plumbing::convert_delete_response_metadata_to_porcelain(plumbing_response.meta)
2513
+ resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
2514
+ resp
2515
+ end
2516
+
2428
2517
  # List gets a list of IdentitySets matching a given set of criteria.
2429
2518
  def list(
2430
2519
  filter,
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "9.0.0"
16
+ VERSION = "9.2.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 = "9.0.0"
16
+ VERSION = "9.2.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: 9.0.0
4
+ version: 9.2.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-05-22 00:00:00.000000000 Z
11
+ date: 2024-06-17 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-585dae52e145926574c317ae9b4a8c7204dd11f8.idx"
85
- - "./.git/objects/pack/pack-585dae52e145926574c317ae9b4a8c7204dd11f8.pack"
84
+ - "./.git/objects/pack/pack-c65423c7bc87452f75c9987320b2e1dc5142a311.idx"
85
+ - "./.git/objects/pack/pack-c65423c7bc87452f75c9987320b2e1dc5142a311.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"