strongdm 16.4.0 → 16.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-091f4eff5af14631e219ef825252ead79d4eed4b.idx → pack-76fa290caa396eed2f723f800a152ef998a8b2de.idx} +0 -0
- data/.git/objects/pack/{pack-091f4eff5af14631e219ef825252ead79d4eed4b.pack → pack-76fa290caa396eed2f723f800a152ef998a8b2de.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/authorization_policies_pb.rb +58 -0
- data/lib/grpc/control_panel_pb.rb +13 -0
- data/lib/grpc/control_panel_services_pb.rb +3 -0
- data/lib/grpc/plumbing.rb +564 -0
- data/lib/grpc/resourcetypes_pb.rb +150 -0
- data/lib/models/porcelain.rb +286 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +37 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f26c1f7f463aa0eff19983bc03e34b7943ae1a9f99343647b70fc4c7c2fa5aca
|
|
4
|
+
data.tar.gz: fdbf9bcf9b80217afc8872a4f4862d167c1cc2efa7f2518e2a7465e8a6ef72fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9aa26248d38a3fb7b8cc5eb75d6560e54ce259edf3b634391a320ad9d8624fa7663d2a76930e61d2cb55e9c60009c38d372066da93fad303a148e30c1b3e3445
|
|
7
|
+
data.tar.gz: e93ca8f4200af141816bef9b7564aab5d26d70f7b79838dfbde01eccad3652ac8fefcf3cad5e0c42380af9288e8408e835aef5f848a10774a5056e6d3719c822
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
eb2c5388eb894fce71666148224e02d977c87baa
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 eb2c5388eb894fce71666148224e02d977c87baa root <root@6416cf713674.(none)> 1770234009 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
eb2c5388eb894fce71666148224e02d977c87baa eb2c5388eb894fce71666148224e02d977c87baa root <root@6416cf713674.(none)> 1770234009 +0000 checkout: moving from master to master
|
|
3
|
+
eb2c5388eb894fce71666148224e02d977c87baa 6450bdc10119fb8a00123c4262d6f245a70ed06a root <root@6416cf713674.(none)> 1770234009 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 eb2c5388eb894fce71666148224e02d977c87baa root <root@6416cf713674.(none)> 1770234009 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
eb2c5388eb894fce71666148224e02d977c87baa 6450bdc10119fb8a00123c4262d6f245a70ed06a root <root@6416cf713674.(none)> 1770234009 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 eb2c5388eb894fce71666148224e02d977c87baa root <root@6416cf713674.(none)> 1770234009 +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
|
+
6450bdc10119fb8a00123c4262d6f245a70ed06a refs/remotes/origin/development
|
|
3
|
+
eb2c5388eb894fce71666148224e02d977c87baa 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
|
|
@@ -141,6 +141,7 @@ c3b0eeef356ddf0cf408d1305fd766791121803f refs/tags/v15.46.0
|
|
|
141
141
|
68c6bf260ea0ac7c4c151e0de221aac18fabcd3c refs/tags/v16.0.0
|
|
142
142
|
38de225069b8053585aeb22f569abdd9d1ffe5dd refs/tags/v16.1.0
|
|
143
143
|
3f2a99e1a4296cf5b4937d57b901051b9381c209 refs/tags/v16.3.0
|
|
144
|
+
eb2c5388eb894fce71666148224e02d977c87baa refs/tags/v16.4.0
|
|
144
145
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
|
145
146
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
|
146
147
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6450bdc10119fb8a00123c4262d6f245a70ed06a
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
|
+
# source: authorization_policies.proto
|
|
17
|
+
|
|
18
|
+
require "google/protobuf"
|
|
19
|
+
|
|
20
|
+
require "options_pb"
|
|
21
|
+
|
|
22
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
|
+
add_file("authorization_policies.proto", :syntax => :proto3) do
|
|
24
|
+
add_message "v1.AuthorizationPolicy" do
|
|
25
|
+
optional :id, :string, 1
|
|
26
|
+
optional :name, :string, 2
|
|
27
|
+
optional :description, :string, 3
|
|
28
|
+
repeated :items, :message, 4, "v1.AuthorizationPolicyItem"
|
|
29
|
+
end
|
|
30
|
+
add_message "v1.AuthorizationPolicyItem" do
|
|
31
|
+
oneof :item do
|
|
32
|
+
optional :principal_all, :message, 1, "v1.AuthorizationPolicyItemPrincipalAll"
|
|
33
|
+
optional :principal_by_ids, :message, 2, "v1.AuthorizationPolicyItemPrincipalByIds"
|
|
34
|
+
optional :resources_all, :message, 3, "v1.AuthorizationPolicyItemResourcesAll"
|
|
35
|
+
optional :resource_by_ids, :message, 4, "v1.AuthorizationPolicyItemResourceByIds"
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
add_message "v1.AuthorizationPolicyItemPrincipalAll" do
|
|
39
|
+
end
|
|
40
|
+
add_message "v1.AuthorizationPolicyItemPrincipalByIds" do
|
|
41
|
+
repeated :ids, :string, 1
|
|
42
|
+
end
|
|
43
|
+
add_message "v1.AuthorizationPolicyItemResourcesAll" do
|
|
44
|
+
end
|
|
45
|
+
add_message "v1.AuthorizationPolicyItemResourceByIds" do
|
|
46
|
+
repeated :ids, :string, 1
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
module V1
|
|
52
|
+
AuthorizationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicy").msgclass
|
|
53
|
+
AuthorizationPolicyItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItem").msgclass
|
|
54
|
+
AuthorizationPolicyItemPrincipalAll = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemPrincipalAll").msgclass
|
|
55
|
+
AuthorizationPolicyItemPrincipalByIds = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemPrincipalByIds").msgclass
|
|
56
|
+
AuthorizationPolicyItemResourcesAll = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemResourcesAll").msgclass
|
|
57
|
+
AuthorizationPolicyItemResourceByIds = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemResourceByIds").msgclass
|
|
58
|
+
end
|
|
@@ -47,6 +47,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
47
47
|
optional :valid, :bool, 2
|
|
48
48
|
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
|
49
49
|
end
|
|
50
|
+
add_message "v1.ControlPanelGetOrgURLInfoRequest" do
|
|
51
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
|
52
|
+
end
|
|
53
|
+
add_message "v1.ControlPanelGetOrgURLInfoResponse" do
|
|
54
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
|
55
|
+
optional :base_url, :string, 2
|
|
56
|
+
optional :websites_subdomain, :string, 3
|
|
57
|
+
optional :oidc_issuer_url, :string, 4
|
|
58
|
+
optional :saml_metadata_url, :string, 5
|
|
59
|
+
optional :rate_limit, :message, 6, "v1.RateLimitMetadata"
|
|
60
|
+
end
|
|
50
61
|
end
|
|
51
62
|
end
|
|
52
63
|
|
|
@@ -57,4 +68,6 @@ module V1
|
|
|
57
68
|
ControlPanelGetRDPCAPublicKeyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ControlPanelGetRDPCAPublicKeyResponse").msgclass
|
|
58
69
|
ControlPanelVerifyJWTRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ControlPanelVerifyJWTRequest").msgclass
|
|
59
70
|
ControlPanelVerifyJWTResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ControlPanelVerifyJWTResponse").msgclass
|
|
71
|
+
ControlPanelGetOrgURLInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ControlPanelGetOrgURLInfoRequest").msgclass
|
|
72
|
+
ControlPanelGetOrgURLInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ControlPanelGetOrgURLInfoResponse").msgclass
|
|
60
73
|
end
|
|
@@ -32,6 +32,9 @@ module V1
|
|
|
32
32
|
rpc :GetSSHCAPublicKey, ::V1::ControlPanelGetSSHCAPublicKeyRequest, ::V1::ControlPanelGetSSHCAPublicKeyResponse
|
|
33
33
|
# GetRDPCAPublicKey retrieves the RDP CA public key.
|
|
34
34
|
rpc :GetRDPCAPublicKey, ::V1::ControlPanelGetRDPCAPublicKeyRequest, ::V1::ControlPanelGetRDPCAPublicKeyResponse
|
|
35
|
+
# GetOrgURLInfo retrieves URL configuration for the organization.
|
|
36
|
+
# This includes the base URL, website subdomain, OIDC issuer URL, and SAML metadata URL.
|
|
37
|
+
rpc :GetOrgURLInfo, ::V1::ControlPanelGetOrgURLInfoRequest, ::V1::ControlPanelGetOrgURLInfoResponse
|
|
35
38
|
# VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.
|
|
36
39
|
rpc :VerifyJWT, ::V1::ControlPanelVerifyJWTRequest, ::V1::ControlPanelVerifyJWTResponse
|
|
37
40
|
end
|