strongdm 6.6.0 → 6.7.1
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-0c802db963cb0bdcf17886c66f050fbf1796db3d.idx → pack-757ca4731668a732671503ca8a7e87450627a2ec.idx} +0 -0
- data/.git/objects/pack/{pack-0c802db963cb0bdcf17886c66f050fbf1796db3d.pack → pack-757ca4731668a732671503ca8a7e87450627a2ec.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/plumbing.rb +56 -0
- data/lib/grpc/queries_pb.rb +1 -0
- data/lib/grpc/secret_store_types_pb.rb +12 -0
- data/lib/models/porcelain.rb +52 -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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19e34edc1879afa5af1ed296b024ac7b00c80cadc31c39165900a1b8dabfb678
|
4
|
+
data.tar.gz: a04715787a5a3f74b0712dc1e64aef44e57a222b71b363b593dcf7ee9fc2e98f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fdf4a93acbf9a66d916ad5dca2641987bf621ba61b4cecb70413204737be20b703c62970b4c3c9aa512f7917ba5b6fb1a6296a66c3e0fe0c78e74a416c1b1e7
|
7
|
+
data.tar.gz: 03f09adaad8fdad09cab97330974de53243a762f15f81f7e3ab428eba005862b485888cf23f93d461361ecf773a1f72d08d33ad06d85c0caa55f5d4ca91c3d73
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
e37aa2b50ffd917949a8e1c7a1fa28d12071fa69
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709332852 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709332852 +0000 checkout: moving from master to master
|
3
|
+
e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709332852 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709332852 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709332852 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709332852 +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
|
+
3e28afb8b757876c463b22aac13ee618d9ead204 refs/remotes/origin/development
|
3
|
+
e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 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
|
@@ -97,3 +97,5 @@ f4af6ebad8174f8e5aeec63536db9290597a3982 refs/tags/v6.2.1
|
|
97
97
|
3ca1e977d66e0fb0232024c33a223a789453031c refs/tags/v6.3.1
|
98
98
|
e015e0386c2f0b99314bb46ae71631afdbcf4ed0 refs/tags/v6.4.0
|
99
99
|
998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 refs/tags/v6.5.0
|
100
|
+
b28e0cc368d9174e5858abd41992efff0a030bcb refs/tags/v6.6.0
|
101
|
+
e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 refs/tags/v6.7.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3e28afb8b757876c463b22aac13ee618d9ead204
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -527,6 +527,54 @@ module SDM
|
|
527
527
|
end
|
528
528
|
items
|
529
529
|
end
|
530
|
+
def self.convert_aws_cert_x_509_store_to_porcelain(plumbing)
|
531
|
+
if plumbing == nil
|
532
|
+
return nil
|
533
|
+
end
|
534
|
+
porcelain = AWSCertX509Store.new()
|
535
|
+
porcelain.caarn = (plumbing.caArn)
|
536
|
+
porcelain.certificatetemplatearn = (plumbing.certificateTemplateArn)
|
537
|
+
porcelain.id = (plumbing.id)
|
538
|
+
porcelain.issuedcertttlminutes = (plumbing.issuedCertTTLMinutes)
|
539
|
+
porcelain.name = (plumbing.name)
|
540
|
+
porcelain.region = (plumbing.region)
|
541
|
+
porcelain.signingalgo = (plumbing.signingAlgo)
|
542
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
543
|
+
porcelain
|
544
|
+
end
|
545
|
+
|
546
|
+
def self.convert_aws_cert_x_509_store_to_plumbing(porcelain)
|
547
|
+
if porcelain == nil
|
548
|
+
return nil
|
549
|
+
end
|
550
|
+
plumbing = V1::AWSCertX509Store.new()
|
551
|
+
plumbing.caArn = (porcelain.caarn)
|
552
|
+
plumbing.certificateTemplateArn = (porcelain.certificatetemplatearn)
|
553
|
+
plumbing.id = (porcelain.id)
|
554
|
+
plumbing.issuedCertTTLMinutes = (porcelain.issuedcertttlminutes)
|
555
|
+
plumbing.name = (porcelain.name)
|
556
|
+
plumbing.region = (porcelain.region)
|
557
|
+
plumbing.signingAlgo = (porcelain.signingalgo)
|
558
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
559
|
+
plumbing
|
560
|
+
end
|
561
|
+
def self.convert_repeated_aws_cert_x_509_store_to_plumbing(porcelains)
|
562
|
+
items = Array.new
|
563
|
+
porcelains.each do |porcelain|
|
564
|
+
plumbing = convert_aws_cert_x_509_store_to_plumbing(porcelain)
|
565
|
+
items.append(plumbing)
|
566
|
+
end
|
567
|
+
items
|
568
|
+
end
|
569
|
+
|
570
|
+
def self.convert_repeated_aws_cert_x_509_store_to_porcelain(plumbings)
|
571
|
+
items = Array.new
|
572
|
+
plumbings.each do |plumbing|
|
573
|
+
porcelain = convert_aws_cert_x_509_store_to_porcelain(plumbing)
|
574
|
+
items.append(porcelain)
|
575
|
+
end
|
576
|
+
items
|
577
|
+
end
|
530
578
|
def self.convert_aws_console_to_porcelain(plumbing)
|
531
579
|
if plumbing == nil
|
532
580
|
return nil
|
@@ -6926,6 +6974,7 @@ module SDM
|
|
6926
6974
|
porcelain.account_last_name = (plumbing.account_last_name)
|
6927
6975
|
porcelain.account_tags = convert_tags_to_porcelain(plumbing.account_tags)
|
6928
6976
|
porcelain.capture = convert_query_capture_to_porcelain(plumbing.capture)
|
6977
|
+
porcelain.client_ip = (plumbing.client_ip)
|
6929
6978
|
porcelain.completed_at = convert_timestamp_to_porcelain(plumbing.completed_at)
|
6930
6979
|
porcelain.duration = convert_duration_to_porcelain(plumbing.duration)
|
6931
6980
|
porcelain.egress_node_id = (plumbing.egress_node_id)
|
@@ -6958,6 +7007,7 @@ module SDM
|
|
6958
7007
|
plumbing.account_last_name = (porcelain.account_last_name)
|
6959
7008
|
plumbing.account_tags = convert_tags_to_plumbing(porcelain.account_tags)
|
6960
7009
|
plumbing.capture = convert_query_capture_to_plumbing(porcelain.capture)
|
7010
|
+
plumbing.client_ip = (porcelain.client_ip)
|
6961
7011
|
plumbing.completed_at = convert_timestamp_to_plumbing(porcelain.completed_at)
|
6962
7012
|
plumbing.duration = convert_duration_to_plumbing(porcelain.duration)
|
6963
7013
|
plumbing.egress_node_id = (porcelain.egress_node_id)
|
@@ -9540,6 +9590,9 @@ module SDM
|
|
9540
9590
|
if porcelain.instance_of? AWSStore
|
9541
9591
|
plumbing.aws = convert_aws_store_to_plumbing(porcelain)
|
9542
9592
|
end
|
9593
|
+
if porcelain.instance_of? AWSCertX509Store
|
9594
|
+
plumbing.aws_cert_x_509 = convert_aws_cert_x_509_store_to_plumbing(porcelain)
|
9595
|
+
end
|
9543
9596
|
if porcelain.instance_of? AzureStore
|
9544
9597
|
plumbing.azure = convert_azure_store_to_plumbing(porcelain)
|
9545
9598
|
end
|
@@ -9598,6 +9651,9 @@ module SDM
|
|
9598
9651
|
if plumbing.aws != nil
|
9599
9652
|
return convert_aws_store_to_porcelain(plumbing.aws)
|
9600
9653
|
end
|
9654
|
+
if plumbing.aws_cert_x_509 != nil
|
9655
|
+
return convert_aws_cert_x_509_store_to_porcelain(plumbing.aws_cert_x_509)
|
9656
|
+
end
|
9601
9657
|
if plumbing.azure != nil
|
9602
9658
|
return convert_azure_store_to_porcelain(plumbing.azure)
|
9603
9659
|
end
|
data/lib/grpc/queries_pb.rb
CHANGED
@@ -63,6 +63,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
63
63
|
optional :authentication_id, :string, 26
|
64
64
|
optional :target, :string, 27
|
65
65
|
optional :authzJson, :string, 28
|
66
|
+
optional :client_ip, :string, 29
|
66
67
|
end
|
67
68
|
add_message "v1.QueryCapture" do
|
68
69
|
optional :width, :int32, 1
|
@@ -25,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
25
25
|
add_message "v1.SecretStore" do
|
26
26
|
oneof :secret_store do
|
27
27
|
optional :aws, :message, 3, "v1.AWSStore"
|
28
|
+
optional :aws_cert_x_509, :message, 30, "v1.AWSCertX509Store"
|
28
29
|
optional :azure, :message, 101, "v1.AzureStore"
|
29
30
|
optional :cyberark_conjur, :message, 301, "v1.CyberarkConjurStore"
|
30
31
|
optional :cyberark_pam, :message, 303, "v1.CyberarkPAMStore"
|
@@ -49,6 +50,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
49
50
|
optional :region, :string, 3
|
50
51
|
optional :tags, :message, 4, "v1.Tags"
|
51
52
|
end
|
53
|
+
add_message "v1.AWSCertX509Store" do
|
54
|
+
optional :id, :string, 1
|
55
|
+
optional :name, :string, 2
|
56
|
+
optional :caArn, :string, 5
|
57
|
+
optional :certificateTemplateArn, :string, 7
|
58
|
+
optional :issuedCertTTLMinutes, :string, 8
|
59
|
+
optional :region, :string, 3
|
60
|
+
optional :signingAlgo, :string, 6
|
61
|
+
optional :tags, :message, 4, "v1.Tags"
|
62
|
+
end
|
52
63
|
add_message "v1.AzureStore" do
|
53
64
|
optional :id, :string, 1
|
54
65
|
optional :name, :string, 2
|
@@ -185,6 +196,7 @@ end
|
|
185
196
|
module V1
|
186
197
|
SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
|
187
198
|
AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
|
199
|
+
AWSCertX509Store = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSCertX509Store").msgclass
|
188
200
|
AzureStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureStore").msgclass
|
189
201
|
CyberarkConjurStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkConjurStore").msgclass
|
190
202
|
CyberarkPAMStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkPAMStore").msgclass
|
data/lib/models/porcelain.rb
CHANGED
@@ -458,6 +458,54 @@ module SDM
|
|
458
458
|
end
|
459
459
|
end
|
460
460
|
|
461
|
+
# AWSCertX509Store is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
462
|
+
class AWSCertX509Store
|
463
|
+
# The ARN of the CA in AWS Private CA
|
464
|
+
attr_accessor :caarn
|
465
|
+
# The ARN of the AWS certificate template for requested certificates. Must allow SAN, key usage, and ext key usage passthrough from CSR
|
466
|
+
attr_accessor :certificatetemplatearn
|
467
|
+
# Unique identifier of the SecretStore.
|
468
|
+
attr_accessor :id
|
469
|
+
# The lifetime of certificates issued by this CA represented in minutes e.g. 600 (for 10 hours). Defaults to 8 hours if not provided.
|
470
|
+
attr_accessor :issuedcertttlminutes
|
471
|
+
# Unique human-readable name of the SecretStore.
|
472
|
+
attr_accessor :name
|
473
|
+
# The AWS region to target e.g. us-east-1
|
474
|
+
attr_accessor :region
|
475
|
+
# The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. e.g. SHA256WITHRSA
|
476
|
+
attr_accessor :signingalgo
|
477
|
+
# Tags is a map of key, value pairs.
|
478
|
+
attr_accessor :tags
|
479
|
+
|
480
|
+
def initialize(
|
481
|
+
caarn: nil,
|
482
|
+
certificatetemplatearn: nil,
|
483
|
+
id: nil,
|
484
|
+
issuedcertttlminutes: nil,
|
485
|
+
name: nil,
|
486
|
+
region: nil,
|
487
|
+
signingalgo: nil,
|
488
|
+
tags: nil
|
489
|
+
)
|
490
|
+
@caarn = caarn == nil ? "" : caarn
|
491
|
+
@certificatetemplatearn = certificatetemplatearn == nil ? "" : certificatetemplatearn
|
492
|
+
@id = id == nil ? "" : id
|
493
|
+
@issuedcertttlminutes = issuedcertttlminutes == nil ? "" : issuedcertttlminutes
|
494
|
+
@name = name == nil ? "" : name
|
495
|
+
@region = region == nil ? "" : region
|
496
|
+
@signingalgo = signingalgo == nil ? "" : signingalgo
|
497
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
498
|
+
end
|
499
|
+
|
500
|
+
def to_json(options = {})
|
501
|
+
hash = {}
|
502
|
+
self.instance_variables.each do |var|
|
503
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
504
|
+
end
|
505
|
+
hash.to_json
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
461
509
|
class AWSConsole
|
462
510
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
463
511
|
attr_accessor :bind_interface
|
@@ -7034,6 +7082,8 @@ module SDM
|
|
7034
7082
|
# For queries against SSH, Kubernetes, and RDP resources, this contains additional information
|
7035
7083
|
# about the captured query.
|
7036
7084
|
attr_accessor :capture
|
7085
|
+
# The IP address the Query was performed from, as detected at the StrongDM control plane.
|
7086
|
+
attr_accessor :client_ip
|
7037
7087
|
# The time at which the Query was completed.
|
7038
7088
|
# Empty if this record indicates the start of a long-running query.
|
7039
7089
|
attr_accessor :completed_at
|
@@ -7085,6 +7135,7 @@ module SDM
|
|
7085
7135
|
account_last_name: nil,
|
7086
7136
|
account_tags: nil,
|
7087
7137
|
capture: nil,
|
7138
|
+
client_ip: nil,
|
7088
7139
|
completed_at: nil,
|
7089
7140
|
duration: nil,
|
7090
7141
|
egress_node_id: nil,
|
@@ -7110,6 +7161,7 @@ module SDM
|
|
7110
7161
|
@account_last_name = account_last_name == nil ? "" : account_last_name
|
7111
7162
|
@account_tags = account_tags == nil ? SDM::_porcelain_zero_value_tags() : account_tags
|
7112
7163
|
@capture = capture == nil ? nil : capture
|
7164
|
+
@client_ip = client_ip == nil ? "" : client_ip
|
7113
7165
|
@completed_at = completed_at == nil ? nil : completed_at
|
7114
7166
|
@duration = duration == nil ? nil : duration
|
7115
7167
|
@egress_node_id = egress_node_id == nil ? "" : egress_node_id
|
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/6.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/6.7.1"
|
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: 6.
|
4
|
+
version: 6.7.1
|
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-
|
11
|
+
date: 2024-03-01 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-757ca4731668a732671503ca8a7e87450627a2ec.idx"
|
85
|
+
- "./.git/objects/pack/pack-757ca4731668a732671503ca8a7e87450627a2ec.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|