strongdm 3.5.1 → 3.5.4

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: a2737637f696b751bfee8a7d080bfe31956763c24dcb6b3569ad60b32a7dce28
4
- data.tar.gz: 9f997af180649983fc170ed95169cf514081189b381cae2a07330d2b58112153
3
+ metadata.gz: 26bb5c6d3b67af78738a037db602560b047d19147e80125624bf26b9e5094ff1
4
+ data.tar.gz: 78889f6a6119715e2a2d97c712f337aa54242275090b4c71f073e743a1d3cb8d
5
5
  SHA512:
6
- metadata.gz: f66c074631de402e32885cd89dd9bd173af9b9abd145e8e56bd6553e4b0c3db4f622c150953672f4353cb52dd9d345f90538a0d334961dd3391eb0302b070e32
7
- data.tar.gz: 337abed3b6c14bd06cbb30902a099adf141fd0acca9b9571df240c79bb0d2ce2b4b90ee19ef6cb4edae9de1b5212a38ee880ddfaf6b753d153a96b8c75c4bf99
6
+ metadata.gz: 5f2172eab367d58c9d06a6bcc3e212ca9f0f40ed085f95da31b6213405f86f09be3c11d22d702a58bc74df297a0e6ec124a7b82420d8cc565509c1f8c7acfb51
7
+ data.tar.gz: 57473b6a8f090d9757935750b537e78c3110a18e6cbfe56fb062d4b4ef436f089aa2ca19394dab256f7376c7b5b0a5381a19b10d9a3ebe6b6bc107d6bedcc9f7
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2
1
+ 003b46a249146cb3a4f25d16432c89f0b78ac37c
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1669235218 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1669235218 +0000 checkout: moving from master to master
3
- bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 sdmrelease <support@strongdm.com> 1669235218 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1671147054 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ 003b46a249146cb3a4f25d16432c89f0b78ac37c 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1671147054 +0000 checkout: moving from master to master
3
+ 003b46a249146cb3a4f25d16432c89f0b78ac37c 67d9309e77842e64a4b43d8c3fa2c52ece706a3d sdmrelease <support@strongdm.com> 1671147054 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1669235218 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 sdmrelease <support@strongdm.com> 1669235218 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1671147054 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ 003b46a249146cb3a4f25d16432c89f0b78ac37c 67d9309e77842e64a4b43d8c3fa2c52ece706a3d sdmrelease <support@strongdm.com> 1671147054 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1669235218 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1671147054 +0000 clone: from git@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
- 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 refs/remotes/origin/development
3
- bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 refs/remotes/origin/master
2
+ 67d9309e77842e64a4b43d8c3fa2c52ece706a3d refs/remotes/origin/development
3
+ 003b46a249146cb3a4f25d16432c89f0b78ac37c 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
@@ -50,3 +50,5 @@ d0ae780dd221eab9c3108d74697661483c1e1085 refs/tags/v3.2.3
50
50
  f99114303af624f557c49036ef7e65c4cdfdb862 refs/tags/v3.3.1
51
51
  c07c84aa4982d50d60f10720b331c76f56f8c53f refs/tags/v3.3.2
52
52
  bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 refs/tags/v3.5.0
53
+ 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 refs/tags/v3.5.1
54
+ 003b46a249146cb3a4f25d16432c89f0b78ac37c refs/tags/v3.5.3
@@ -1 +1 @@
1
- 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41
1
+ 67d9309e77842e64a4b43d8c3fa2c52ece706a3d
data/lib/constants.rb ADDED
@@ -0,0 +1,56 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # @internal This file was generated by constgen. DO NOT EDIT.
16
+
17
+ module SDM
18
+
19
+ # Permission Levels, shared by all entities capable of making authenticated requests against StrongDM.
20
+ module PermissionLevel
21
+ ROOT_ADMIN = "root-admin"
22
+ ADMIN = "admin"
23
+ DATABASE_ADMIN = "database-admin"
24
+ TEAM_LEADER = "multi-team-leader"
25
+ USER = "user"
26
+ RELAY = "relay"
27
+ ADMIN_TOKEN = "admin-token"
28
+ SCIM_TOKEN = "scim-token"
29
+ SERVICE = "service"
30
+ SUSPENDED = "suspended"
31
+ EMPTY = ""
32
+ end
33
+
34
+ # Node Lifecycle States, defining whether a node was last reported online, offline, restarting, etc.
35
+ module NodeState
36
+ NEW = "new"
37
+ VERIFYING_RESTART = "verifying_restart"
38
+ AWAITING_RESTART = "awaiting_restart"
39
+ RESTARTING = "restarting"
40
+ STARTED = "started"
41
+ STOPPED = "stopped"
42
+ DEAD = "dead"
43
+ end
44
+
45
+ # Providers responsible for managing roles and users.
46
+ # None, or an empty string, implies the user is managed by strongDM.
47
+ module Provider
48
+ NONE = ""
49
+ OKTA = "okta"
50
+ SAIL_POINT = "sailpoint"
51
+ AZURE = "azure"
52
+ GENERIC = "generic"
53
+ ONE_LOGIN = "onelogin"
54
+ GOOGLE = "google"
55
+ end
56
+ end
data/lib/grpc/plumbing.rb CHANGED
@@ -35,6 +35,7 @@ require_relative "./secret_store_types_pb"
35
35
  require_relative "./secret_stores_pb"
36
36
  require_relative "../models/porcelain"
37
37
  require_relative "../errors/errors"
38
+ require_relative "../constants"
38
39
 
39
40
  module SDM
40
41
  module Plumbing
@@ -2302,6 +2303,46 @@ module SDM
2302
2303
  end
2303
2304
  items
2304
2305
  end
2306
+ def self.convert_cyberark_pam_store_to_porcelain(plumbing)
2307
+ if plumbing == nil
2308
+ return nil
2309
+ end
2310
+ porcelain = CyberarkPAMStore.new()
2311
+ porcelain.appurl = (plumbing.appURL)
2312
+ porcelain.id = (plumbing.id)
2313
+ porcelain.name = (plumbing.name)
2314
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2315
+ porcelain
2316
+ end
2317
+
2318
+ def self.convert_cyberark_pam_store_to_plumbing(porcelain)
2319
+ if porcelain == nil
2320
+ return nil
2321
+ end
2322
+ plumbing = V1::CyberarkPAMStore.new()
2323
+ plumbing.appURL = (porcelain.appurl)
2324
+ plumbing.id = (porcelain.id)
2325
+ plumbing.name = (porcelain.name)
2326
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2327
+ plumbing
2328
+ end
2329
+ def self.convert_repeated_cyberark_pam_store_to_plumbing(porcelains)
2330
+ items = Array.new
2331
+ porcelains.each do |porcelain|
2332
+ plumbing = convert_cyberark_pam_store_to_plumbing(porcelain)
2333
+ items.append(plumbing)
2334
+ end
2335
+ items
2336
+ end
2337
+
2338
+ def self.convert_repeated_cyberark_pam_store_to_porcelain(plumbings)
2339
+ items = Array.new
2340
+ plumbings.each do |plumbing|
2341
+ porcelain = convert_cyberark_pam_store_to_porcelain(plumbing)
2342
+ items.append(porcelain)
2343
+ end
2344
+ items
2345
+ end
2305
2346
  def self.convert_db_2_i_to_porcelain(plumbing)
2306
2347
  if plumbing == nil
2307
2348
  return nil
@@ -6544,6 +6585,9 @@ module SDM
6544
6585
  if porcelain.instance_of? CyberarkConjurStore
6545
6586
  plumbing.cyberark_conjur = convert_cyberark_conjur_store_to_plumbing(porcelain)
6546
6587
  end
6588
+ if porcelain.instance_of? CyberarkPAMStore
6589
+ plumbing.cyberark_pam = convert_cyberark_pam_store_to_plumbing(porcelain)
6590
+ end
6547
6591
  if porcelain.instance_of? CyberarkPAMExperimentalStore
6548
6592
  plumbing.cyberark_pam_experimental = convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
6549
6593
  end
@@ -6578,6 +6622,9 @@ module SDM
6578
6622
  if plumbing.cyberark_conjur != nil
6579
6623
  return convert_cyberark_conjur_store_to_porcelain(plumbing.cyberark_conjur)
6580
6624
  end
6625
+ if plumbing.cyberark_pam != nil
6626
+ return convert_cyberark_pam_store_to_porcelain(plumbing.cyberark_pam)
6627
+ end
6581
6628
  if plumbing.cyberark_pam_experimental != nil
6582
6629
  return convert_cyberark_pam_experimental_store_to_porcelain(plumbing.cyberark_pam_experimental)
6583
6630
  end
@@ -26,6 +26,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
26
26
  optional :aws, :message, 3, "v1.AWSStore"
27
27
  optional :azure, :message, 101, "v1.AzureStore"
28
28
  optional :cyberark_conjur, :message, 301, "v1.CyberarkConjurStore"
29
+ optional :cyberark_pam, :message, 303, "v1.CyberarkPAMStore"
29
30
  optional :cyberark_pam_experimental, :message, 302, "v1.CyberarkPAMExperimentalStore"
30
31
  optional :delinea, :message, 2900, "v1.DelineaStore"
31
32
  optional :gcp, :message, 201, "v1.GCPStore"
@@ -52,6 +53,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
52
53
  optional :appURL, :string, 3
53
54
  optional :tags, :message, 32771, "v1.Tags"
54
55
  end
56
+ add_message "v1.CyberarkPAMStore" do
57
+ optional :id, :string, 1
58
+ optional :name, :string, 2
59
+ optional :appURL, :string, 3
60
+ optional :tags, :message, 32771, "v1.Tags"
61
+ end
55
62
  add_message "v1.CyberarkPAMExperimentalStore" do
56
63
  optional :id, :string, 1
57
64
  optional :name, :string, 2
@@ -103,6 +110,7 @@ module V1
103
110
  AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
104
111
  AzureStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureStore").msgclass
105
112
  CyberarkConjurStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkConjurStore").msgclass
113
+ CyberarkPAMStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkPAMStore").msgclass
106
114
  CyberarkPAMExperimentalStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkPAMExperimentalStore").msgclass
107
115
  DelineaStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DelineaStore").msgclass
108
116
  GCPStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPStore").msgclass
data/lib/grpc/spec_pb.rb CHANGED
@@ -43,6 +43,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
43
43
  add_message "v1.CreateResponseMetadata" do
44
44
  end
45
45
  add_message "v1.GetRequestMetadata" do
46
+ optional :snapshot_at, :message, 1, "google.protobuf.Timestamp"
46
47
  end
47
48
  add_message "v1.GetResponseMetadata" do
48
49
  end
@@ -59,6 +60,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
59
60
  optional :page, :int32, 2
60
61
  optional :limit, :int32, 3
61
62
  optional :order_by, :string, 4
63
+ optional :snapshot_at, :message, 5, "google.protobuf.Timestamp"
62
64
  end
63
65
  add_message "v1.ListResponseMetadata" do
64
66
  optional :next_cursor, :string, 1
@@ -2159,7 +2159,6 @@ module SDM
2159
2159
  end
2160
2160
  end
2161
2161
 
2162
- # CyberarkConjurStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
2163
2162
  class CyberarkConjurStore
2164
2163
  attr_accessor :appurl
2165
2164
  # Unique identifier of the SecretStore.
@@ -2221,6 +2220,36 @@ module SDM
2221
2220
  end
2222
2221
  end
2223
2222
 
2223
+ class CyberarkPAMStore
2224
+ attr_accessor :appurl
2225
+ # Unique identifier of the SecretStore.
2226
+ attr_accessor :id
2227
+ # Unique human-readable name of the SecretStore.
2228
+ attr_accessor :name
2229
+ # Tags is a map of key, value pairs.
2230
+ attr_accessor :tags
2231
+
2232
+ def initialize(
2233
+ appurl: nil,
2234
+ id: nil,
2235
+ name: nil,
2236
+ tags: nil
2237
+ )
2238
+ @appurl = appurl == nil ? "" : appurl
2239
+ @id = id == nil ? "" : id
2240
+ @name = name == nil ? "" : name
2241
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
2242
+ end
2243
+
2244
+ def to_json(options = {})
2245
+ hash = {}
2246
+ self.instance_variables.each do |var|
2247
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
2248
+ end
2249
+ hash.to_json
2250
+ end
2251
+ end
2252
+
2224
2253
  class DB2I
2225
2254
  # Bind interface
2226
2255
  attr_accessor :bind_interface
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 = "2021-08-23"
32
- USER_AGENT = "strongdm-sdk-ruby/3.5.1"
32
+ USER_AGENT = "strongdm-sdk-ruby/3.5.4"
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
@@ -1455,6 +1455,7 @@ module SDM #:nodoc:
1455
1455
  # {AWSStore}
1456
1456
  # {AzureStore}
1457
1457
  # {CyberarkConjurStore}
1458
+ # {CyberarkPAMStore}
1458
1459
  # {CyberarkPAMExperimentalStore}
1459
1460
  # {DelineaStore}
1460
1461
  # {GCPStore}
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "3.5.1"
16
+ VERSION = "3.5.4"
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 = "3.5.1"
16
+ VERSION = "3.5.4"
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: 3.5.1
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - strongDM Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-23 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -79,14 +79,15 @@ files:
79
79
  - "./.git/logs/HEAD"
80
80
  - "./.git/logs/refs/heads/master"
81
81
  - "./.git/logs/refs/remotes/origin/HEAD"
82
- - "./.git/objects/pack/pack-b5b254071399fd9a4bf4fef16d7f1306228c9c0a.idx"
83
- - "./.git/objects/pack/pack-b5b254071399fd9a4bf4fef16d7f1306228c9c0a.pack"
82
+ - "./.git/objects/pack/pack-a5b4e02cbc1c08b531cebf199d6368c7d3de1b49.idx"
83
+ - "./.git/objects/pack/pack-a5b4e02cbc1c08b531cebf199d6368c7d3de1b49.pack"
84
84
  - "./.git/packed-refs"
85
85
  - "./.git/refs/heads/master"
86
86
  - "./.git/refs/remotes/origin/HEAD"
87
87
  - "./.yardopts"
88
88
  - "./LICENSE"
89
89
  - "./README.md"
90
+ - "./lib/constants.rb"
90
91
  - "./lib/errors/errors.rb"
91
92
  - "./lib/grpc/account_attachments_pb.rb"
92
93
  - "./lib/grpc/account_attachments_services_pb.rb"