strongdm 9.4.0 → 9.5.0
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-4f28f9601159f8b97a70a79565617aeceedaecac.idx → pack-6337b631778d9e36dcf8451ebddad9bc12e76af5.idx} +0 -0
- data/.git/objects/pack/{pack-4f28f9601159f8b97a70a79565617aeceedaecac.pack → pack-6337b631778d9e36dcf8451ebddad9bc12e76af5.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +2 -2
- data/lib/grpc/organization_history_pb.rb +4 -1
- data/lib/grpc/plumbing.rb +4 -0
- data/lib/models/porcelain.rb +21 -16
- 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: f09fddaca39c923e3977c1d09085b4b42bc11f58d611bade9357dd874386e63c
|
|
4
|
+
data.tar.gz: b9c02e0f1998e2b6c1216b4afe46c4fb8a3fa9568b52e7f57691a715d92d501f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 651303e820b6c7fa32b010fd5b1bd6c032e071c306ad2149f8bb2719c7a225c83f4b68d542e55a2a634ff57a2b51ab6f303b04074b66405c8cd530b1f8760681
|
|
7
|
+
data.tar.gz: dbc7ae4c9816f6f990ae837a308d9001d418eac61b43f9935afa5f621ae5f7b6336624683a9d1cea0998d4a15d23ae6331a7dbd3d34959a47050ddcccca8e902
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@544cd7d22df2.(none)> 1718759497 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@544cd7d22df2.(none)> 1718759497 +0000 checkout: moving from master to master
|
|
3
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 c364531ed10688edbdcf9523489096efd2239cbf root <root@544cd7d22df2.(none)> 1718759497 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@544cd7d22df2.(none)> 1718759497 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 c364531ed10688edbdcf9523489096efd2239cbf root <root@544cd7d22df2.(none)> 1718759497 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 9ac734600b0f9a60b184b7add20f826496dd7f92 root <root@544cd7d22df2.(none)> 1718759497 +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
|
+
c364531ed10688edbdcf9523489096efd2239cbf refs/remotes/origin/development
|
|
3
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 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
|
|
@@ -112,3 +112,4 @@ f34575bc142eabf113dbbc5b40b3a16e0c026355 refs/tags/v7.1.0
|
|
|
112
112
|
0271f35ba50e29ded8bbc919bcd180b8f5428fe6 refs/tags/v9.1.0
|
|
113
113
|
74fd97d07c0510f0c612ce2611adadbba25e2e91 refs/tags/v9.2.0
|
|
114
114
|
16e9922fbdff7a2ed5cdab2e4b7c2dd997e4d06e refs/tags/v9.3.0
|
|
115
|
+
9ac734600b0f9a60b184b7add20f826496dd7f92 refs/tags/v9.4.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c364531ed10688edbdcf9523489096efd2239cbf
|
data/lib/constants.rb
CHANGED
|
@@ -447,8 +447,8 @@ module SDM
|
|
|
447
447
|
SSH_PORT_FORWARD = "ssh-portForward"
|
|
448
448
|
end
|
|
449
449
|
|
|
450
|
-
# Providers responsible for device
|
|
451
|
-
module
|
|
450
|
+
# Providers responsible for device trust enforcement
|
|
451
|
+
module DeviceTrustProvider
|
|
452
452
|
NONE = ""
|
|
453
453
|
SENTINEL_ONE = "sentinelone"
|
|
454
454
|
CROWD_STRIKE = "crowdstrike"
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
|
|
18
18
|
require "google/protobuf"
|
|
19
19
|
|
|
20
|
-
require "google/protobuf/duration_pb"
|
|
21
20
|
require "google/protobuf/timestamp_pb"
|
|
21
|
+
require "google/protobuf/duration_pb"
|
|
22
22
|
require "options_pb"
|
|
23
23
|
require "spec_pb"
|
|
24
24
|
|
|
@@ -64,6 +64,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
64
64
|
optional :saml_metadata_url, :string, 23
|
|
65
65
|
optional :kind, :string, 24
|
|
66
66
|
optional :id, :string, 25
|
|
67
|
+
optional :loopback_subnet, :string, 26
|
|
68
|
+
optional :device_trust_enabled, :bool, 27
|
|
69
|
+
optional :device_trust_provider, :string, 28
|
|
67
70
|
end
|
|
68
71
|
end
|
|
69
72
|
end
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -7484,6 +7484,8 @@ module SDM
|
|
|
7484
7484
|
porcelain = Organization.new()
|
|
7485
7485
|
porcelain.auth_provider = (plumbing.auth_provider)
|
|
7486
7486
|
porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
|
|
7487
|
+
porcelain.device_trust_enabled = (plumbing.device_trust_enabled)
|
|
7488
|
+
porcelain.device_trust_provider = (plumbing.device_trust_provider)
|
|
7487
7489
|
porcelain.idle_timeout = convert_duration_to_porcelain(plumbing.idle_timeout)
|
|
7488
7490
|
porcelain.idle_timeout_enabled = (plumbing.idle_timeout_enabled)
|
|
7489
7491
|
porcelain.kind = (plumbing.kind)
|
|
@@ -7516,6 +7518,8 @@ module SDM
|
|
|
7516
7518
|
plumbing = V1::Organization.new()
|
|
7517
7519
|
plumbing.auth_provider = (porcelain.auth_provider)
|
|
7518
7520
|
plumbing.created_at = convert_timestamp_to_plumbing(porcelain.created_at)
|
|
7521
|
+
plumbing.device_trust_enabled = (porcelain.device_trust_enabled)
|
|
7522
|
+
plumbing.device_trust_provider = (porcelain.device_trust_provider)
|
|
7519
7523
|
plumbing.idle_timeout = convert_duration_to_plumbing(porcelain.idle_timeout)
|
|
7520
7524
|
plumbing.idle_timeout_enabled = (porcelain.idle_timeout_enabled)
|
|
7521
7525
|
plumbing.kind = (porcelain.kind)
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -1383,8 +1383,7 @@ module SDM
|
|
|
1383
1383
|
# The most recent time at which the permission was granted. If a permission was
|
|
1384
1384
|
# granted, revoked, and granted again, this will reflect the later time.
|
|
1385
1385
|
attr_accessor :granted_at
|
|
1386
|
-
# The value of this permission, split into vertical and action
|
|
1387
|
-
# 'secretstore:List', 'role:update'
|
|
1386
|
+
# The value of this permission, split into vertical and action, one of the Permission constants.
|
|
1388
1387
|
attr_accessor :permission
|
|
1389
1388
|
# The scope of this permission. A global scope means this action can be taken
|
|
1390
1389
|
# on any entity; otherwise the action can only be taken on or in the scope of
|
|
@@ -1585,7 +1584,7 @@ module SDM
|
|
|
1585
1584
|
# The User Agent present when this request was executed. Generally a client type and version
|
|
1586
1585
|
# like strongdm-cli/55.66.77
|
|
1587
1586
|
attr_accessor :user_agent
|
|
1588
|
-
# The kind of activity which has taken place.
|
|
1587
|
+
# The kind of activity which has taken place, one of the ActivityVerb constants.
|
|
1589
1588
|
attr_accessor :verb
|
|
1590
1589
|
|
|
1591
1590
|
def initialize(
|
|
@@ -1661,7 +1660,7 @@ module SDM
|
|
|
1661
1660
|
attr_accessor :id
|
|
1662
1661
|
# A display name representing the affected entity.
|
|
1663
1662
|
attr_accessor :name
|
|
1664
|
-
# The type of entity affected, one of the
|
|
1663
|
+
# The type of entity affected, one of the ActivityEntityType constants.
|
|
1665
1664
|
attr_accessor :type
|
|
1666
1665
|
|
|
1667
1666
|
def initialize(
|
|
@@ -7435,23 +7434,27 @@ module SDM
|
|
|
7435
7434
|
end
|
|
7436
7435
|
|
|
7437
7436
|
class Organization
|
|
7438
|
-
# The Organization's authentication provider.
|
|
7437
|
+
# The Organization's authentication provider, one of the AuthProvider constants.
|
|
7439
7438
|
attr_accessor :auth_provider
|
|
7440
7439
|
# The time at which the Organization was created.
|
|
7441
7440
|
attr_accessor :created_at
|
|
7441
|
+
# Indicates if the Organization has device trust enabled.
|
|
7442
|
+
attr_accessor :device_trust_enabled
|
|
7443
|
+
# The Organization's device trust provider, one of the DeviceTrustProvider constants.
|
|
7444
|
+
attr_accessor :device_trust_provider
|
|
7442
7445
|
# The Organization's idle timeout, if enabled.
|
|
7443
7446
|
attr_accessor :idle_timeout
|
|
7444
7447
|
# Indicates if the Organization has idle timeouts enabled.
|
|
7445
7448
|
attr_accessor :idle_timeout_enabled
|
|
7446
|
-
# The Organization's type.
|
|
7449
|
+
# The Organization's type, one of the OrgKind constants.
|
|
7447
7450
|
attr_accessor :kind
|
|
7448
|
-
# The Organization's local log encryption encoder.
|
|
7451
|
+
# The Organization's local log encryption encoder, one of the LogLocalEncoder constants.
|
|
7449
7452
|
attr_accessor :log_local_encoder
|
|
7450
|
-
# The Organization's local log format.
|
|
7453
|
+
# The Organization's local log format, one of the LogLocalFormat constants.
|
|
7451
7454
|
attr_accessor :log_local_format
|
|
7452
|
-
# The Organization's local log storage.
|
|
7455
|
+
# The Organization's local log storage, one of the LogLocalStorage constants.
|
|
7453
7456
|
attr_accessor :log_local_storage
|
|
7454
|
-
# The Organization's remote log encryption encoder.
|
|
7457
|
+
# The Organization's remote log encryption encoder, one of the LogRemoteEncoder constants.
|
|
7455
7458
|
attr_accessor :log_remote_encoder
|
|
7456
7459
|
# The Organization's socket path for Socket local log storage.
|
|
7457
7460
|
attr_accessor :log_socket_path
|
|
@@ -7459,7 +7462,7 @@ module SDM
|
|
|
7459
7462
|
attr_accessor :log_tcp_address
|
|
7460
7463
|
# Indicates if the Organization has multi-factor authentication enabled.
|
|
7461
7464
|
attr_accessor :mfa_enabled
|
|
7462
|
-
# The Organization's multi-factor authentication provider,
|
|
7465
|
+
# The Organization's multi-factor authentication provider, one of the MFAProvider constants.
|
|
7463
7466
|
attr_accessor :mfa_provider
|
|
7464
7467
|
# The Organization's name.
|
|
7465
7468
|
attr_accessor :name
|
|
@@ -7467,7 +7470,7 @@ module SDM
|
|
|
7467
7470
|
attr_accessor :require_secret_store
|
|
7468
7471
|
# The Organization's URL for SAML metadata.
|
|
7469
7472
|
attr_accessor :saml_metadata_url
|
|
7470
|
-
# The Organization's SCIM provider.
|
|
7473
|
+
# The Organization's SCIM provider, one of the SCIMProvider constants.
|
|
7471
7474
|
attr_accessor :scim_provider
|
|
7472
7475
|
# The Organization's label for sensitive resources.
|
|
7473
7476
|
attr_accessor :sensitive_label
|
|
@@ -7487,6 +7490,8 @@ module SDM
|
|
|
7487
7490
|
def initialize(
|
|
7488
7491
|
auth_provider: nil,
|
|
7489
7492
|
created_at: nil,
|
|
7493
|
+
device_trust_enabled: nil,
|
|
7494
|
+
device_trust_provider: nil,
|
|
7490
7495
|
idle_timeout: nil,
|
|
7491
7496
|
idle_timeout_enabled: nil,
|
|
7492
7497
|
kind: nil,
|
|
@@ -7512,6 +7517,8 @@ module SDM
|
|
|
7512
7517
|
)
|
|
7513
7518
|
@auth_provider = auth_provider == nil ? "" : auth_provider
|
|
7514
7519
|
@created_at = created_at == nil ? nil : created_at
|
|
7520
|
+
@device_trust_enabled = device_trust_enabled == nil ? false : device_trust_enabled
|
|
7521
|
+
@device_trust_provider = device_trust_provider == nil ? "" : device_trust_provider
|
|
7515
7522
|
@idle_timeout = idle_timeout == nil ? nil : idle_timeout
|
|
7516
7523
|
@idle_timeout_enabled = idle_timeout_enabled == nil ? false : idle_timeout_enabled
|
|
7517
7524
|
@kind = kind == nil ? "" : kind
|
|
@@ -8314,7 +8321,7 @@ module SDM
|
|
|
8314
8321
|
attr_accessor :request_method
|
|
8315
8322
|
# The HTTP request URI of a Kubernetes operation.
|
|
8316
8323
|
attr_accessor :request_uri
|
|
8317
|
-
# The CaptureType of this query capture.
|
|
8324
|
+
# The CaptureType of this query capture, one of the CaptureType constants.
|
|
8318
8325
|
attr_accessor :type
|
|
8319
8326
|
# The width of the terminal or window for SSH, Kubernetes, and RDP interactive sessions.
|
|
8320
8327
|
attr_accessor :width
|
|
@@ -8922,9 +8929,7 @@ module SDM
|
|
|
8922
8929
|
attr_accessor :maintenance_windows
|
|
8923
8930
|
# Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
|
8924
8931
|
attr_accessor :name
|
|
8925
|
-
# The current state of the relay
|
|
8926
|
-
# "awaiting_restart", "restarting", "started", "stopped", "dead",
|
|
8927
|
-
# "unknown".
|
|
8932
|
+
# The current state of the relay, one of the NodeState constants.
|
|
8928
8933
|
attr_accessor :state
|
|
8929
8934
|
# Tags is a map of key, value pairs.
|
|
8930
8935
|
attr_accessor :tags
|
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.
|
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/9.5.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: 9.
|
|
4
|
+
version: 9.5.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-06-
|
|
11
|
+
date: 2024-06-19 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-6337b631778d9e36dcf8451ebddad9bc12e76af5.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-6337b631778d9e36dcf8451ebddad9bc12e76af5.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|