strongdm 3.5.1 → 3.5.3
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 +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-b5b254071399fd9a4bf4fef16d7f1306228c9c0a.idx → pack-a862694809a9a1eccd547754cf4d168acdcf8f7d.idx} +0 -0
- data/.git/objects/pack/{pack-b5b254071399fd9a4bf4fef16d7f1306228c9c0a.pack → pack-a862694809a9a1eccd547754cf4d168acdcf8f7d.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +42 -0
- data/lib/grpc/plumbing.rb +47 -0
- data/lib/grpc/secret_store_types_pb.rb +8 -0
- data/lib/models/porcelain.rb +31 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +1 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 97f61131face83a0f43a542ee069ca5ef65fae534fc992238f58c8bf9e4e085c
|
|
4
|
+
data.tar.gz: 15c17c6df7129f8745caa2fb6886599c130f1040effd130796acffd442aace1f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 291b8a4f98daed7205dbf7f1c0bb54ef56d407e962e1f3578fad750ad300a874813b8408f670778730fe3685c436e12d828e507882f6a06604707d77ac9328df
|
|
7
|
+
data.tar.gz: 140acae1e66628d551a2974fb28af1bef89d8a02566e2b18ff06e4b18856cbc526692b2419bc8e8d2bd8d7744efb7fd297623834606e2d9b2750c14641c3efae
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 sdmrelease <support@strongdm.com> 1670881920 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 sdmrelease <support@strongdm.com> 1670881920 +0000 checkout: moving from master to master
|
|
3
|
+
8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1670881920 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 sdmrelease <support@strongdm.com> 1670881920 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1670881920 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 sdmrelease <support@strongdm.com> 1670881920 +0000 clone: from git@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
|
+
003b46a249146cb3a4f25d16432c89f0b78ac37c refs/remotes/origin/development
|
|
3
|
+
8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 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,4 @@ 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
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
003b46a249146cb3a4f25d16432c89f0b78ac37c
|
data/lib/constants.rb
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @internal This file was generated by constgen. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
module SDM
|
|
4
|
+
|
|
5
|
+
# Permission Levels, shared by all entities capable of making authenticated requests against StrongDM.
|
|
6
|
+
module PermissionLevel
|
|
7
|
+
ROOT_ADMIN = "root-admin"
|
|
8
|
+
ADMIN = "admin"
|
|
9
|
+
DATABASE_ADMIN = "database-admin"
|
|
10
|
+
TEAM_LEADER = "multi-team-leader"
|
|
11
|
+
USER = "user"
|
|
12
|
+
RELAY = "relay"
|
|
13
|
+
ADMIN_TOKEN = "admin-token"
|
|
14
|
+
SCIM_TOKEN = "scim-token"
|
|
15
|
+
SERVICE = "service"
|
|
16
|
+
SUSPENDED = "suspended"
|
|
17
|
+
EMPTY = ""
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
# Node Lifecycle States, defining whether a node was last reported online, offline, restarting, etc.
|
|
21
|
+
module NodeState
|
|
22
|
+
NEW = "new"
|
|
23
|
+
VERIFYING_RESTART = "verifying_restart"
|
|
24
|
+
AWAITING_RESTART = "awaiting_restart"
|
|
25
|
+
RESTARTING = "restarting"
|
|
26
|
+
STARTED = "started"
|
|
27
|
+
STOPPED = "stopped"
|
|
28
|
+
DEAD = "dead"
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Providers responsible for managing roles and users.
|
|
32
|
+
# None, or an empty string, implies the user is managed by strongDM.
|
|
33
|
+
module Provider
|
|
34
|
+
NONE = ""
|
|
35
|
+
OKTA = "okta"
|
|
36
|
+
SAIL_POINT = "sailpoint"
|
|
37
|
+
AZURE = "azure"
|
|
38
|
+
GENERIC = "generic"
|
|
39
|
+
ONE_LOGIN = "onelogin"
|
|
40
|
+
GOOGLE = "google"
|
|
41
|
+
end
|
|
42
|
+
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/models/porcelain.rb
CHANGED
|
@@ -2221,6 +2221,37 @@ module SDM
|
|
|
2221
2221
|
end
|
|
2222
2222
|
end
|
|
2223
2223
|
|
|
2224
|
+
# CyberarkPAMStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
2225
|
+
class CyberarkPAMStore
|
|
2226
|
+
attr_accessor :appurl
|
|
2227
|
+
# Unique identifier of the SecretStore.
|
|
2228
|
+
attr_accessor :id
|
|
2229
|
+
# Unique human-readable name of the SecretStore.
|
|
2230
|
+
attr_accessor :name
|
|
2231
|
+
# Tags is a map of key, value pairs.
|
|
2232
|
+
attr_accessor :tags
|
|
2233
|
+
|
|
2234
|
+
def initialize(
|
|
2235
|
+
appurl: nil,
|
|
2236
|
+
id: nil,
|
|
2237
|
+
name: nil,
|
|
2238
|
+
tags: nil
|
|
2239
|
+
)
|
|
2240
|
+
@appurl = appurl == nil ? "" : appurl
|
|
2241
|
+
@id = id == nil ? "" : id
|
|
2242
|
+
@name = name == nil ? "" : name
|
|
2243
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
2244
|
+
end
|
|
2245
|
+
|
|
2246
|
+
def to_json(options = {})
|
|
2247
|
+
hash = {}
|
|
2248
|
+
self.instance_variables.each do |var|
|
|
2249
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
2250
|
+
end
|
|
2251
|
+
hash.to_json
|
|
2252
|
+
end
|
|
2253
|
+
end
|
|
2254
|
+
|
|
2224
2255
|
class DB2I
|
|
2225
2256
|
# Bind interface
|
|
2226
2257
|
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.
|
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/3.5.3"
|
|
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
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: 3.5.
|
|
4
|
+
version: 3.5.3
|
|
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
|
+
date: 2022-12-12 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-
|
|
83
|
-
- "./.git/objects/pack/pack-
|
|
82
|
+
- "./.git/objects/pack/pack-a862694809a9a1eccd547754cf4d168acdcf8f7d.idx"
|
|
83
|
+
- "./.git/objects/pack/pack-a862694809a9a1eccd547754cf4d168acdcf8f7d.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"
|