strongdm 16.14.0 → 16.17.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-02ae59c259b83a24c0fc9b94a7921489cd0c8abe.idx → pack-29a576bf5eeceeafb7a1deb5b467a4e7ab602057.idx} +0 -0
- data/.git/objects/pack/{pack-02ae59c259b83a24c0fc9b94a7921489cd0c8abe.pack → pack-29a576bf5eeceeafb7a1deb5b467a4e7ab602057.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/account_grants_pb.rb +1 -0
- data/lib/grpc/authorization_policies_pb.rb +236 -6
- data/lib/grpc/authorization_policies_services_pb.rb +49 -0
- data/lib/grpc/drivers_pb.rb +31 -0
- data/lib/grpc/location_enums_pb.rb +292 -0
- data/lib/grpc/plumbing.rb +134 -1
- data/lib/grpc/resourcetypes_pb.rb +2 -0
- data/lib/models/porcelain.rb +132 -1
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +2 -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: c61afd0bf1bdd9a76a3b7d47a2f48d01bef9e7e39f97c10d9863460258a9c81f
|
|
4
|
+
data.tar.gz: e8d637fdc27842b7c65a6aab2c13a5c93f75b03ac05465c534ddf42636a888d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa0e5754e54a717ace0c4faedbe9517b4d76fffc08aa4e4e9cdafa92c106c3dada4ccdf9b43586eb584c58ae94ba4afb44feab12b4a918ea11dc7ae050d457df
|
|
7
|
+
data.tar.gz: fdec7043b1027fb4821f4830061fe93fd5c21f91c9adc133fa3f990860bf29571e2ab811877369bc2df020dd3b941db9f402ce71151f30b02757bf70cb3fb5f8
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3a90d7e58d3311757817bb558d755e7ee36528f3
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 3a90d7e58d3311757817bb558d755e7ee36528f3 root <root@034e1c37c0a8.(none)> 1772738407 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
3a90d7e58d3311757817bb558d755e7ee36528f3 3a90d7e58d3311757817bb558d755e7ee36528f3 root <root@034e1c37c0a8.(none)> 1772738407 +0000 checkout: moving from master to master
|
|
3
|
+
3a90d7e58d3311757817bb558d755e7ee36528f3 faf9218bcf932aa16115ce5bdad98cf7e1c26e35 root <root@034e1c37c0a8.(none)> 1772738407 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 3a90d7e58d3311757817bb558d755e7ee36528f3 root <root@034e1c37c0a8.(none)> 1772738407 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
3a90d7e58d3311757817bb558d755e7ee36528f3 faf9218bcf932aa16115ce5bdad98cf7e1c26e35 root <root@034e1c37c0a8.(none)> 1772738407 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 3a90d7e58d3311757817bb558d755e7ee36528f3 root <root@034e1c37c0a8.(none)> 1772738407 +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
|
+
faf9218bcf932aa16115ce5bdad98cf7e1c26e35 refs/remotes/origin/development
|
|
3
|
+
3a90d7e58d3311757817bb558d755e7ee36528f3 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
|
|
@@ -143,6 +143,8 @@ c3b0eeef356ddf0cf408d1305fd766791121803f refs/tags/v15.46.0
|
|
|
143
143
|
99fbe594d2068aedeaf1616d5dc24cdaa5674d55 refs/tags/v16.11.0
|
|
144
144
|
2e067a01b90cfd6cce4b1bde6395a2f0019ef29e refs/tags/v16.12.0
|
|
145
145
|
2021ebc52e6f975f3eedbd795c3a0a9dadc2caa3 refs/tags/v16.13.0
|
|
146
|
+
0c150dec9c7f8e236df4f8a65dc373193b73991f refs/tags/v16.14.0
|
|
147
|
+
3a90d7e58d3311757817bb558d755e7ee36528f3 refs/tags/v16.16.0
|
|
146
148
|
3f2a99e1a4296cf5b4937d57b901051b9381c209 refs/tags/v16.3.0
|
|
147
149
|
eb2c5388eb894fce71666148224e02d977c87baa refs/tags/v16.4.0
|
|
148
150
|
6450bdc10119fb8a00123c4262d6f245a70ed06a refs/tags/v16.5.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
faf9218bcf932aa16115ce5bdad98cf7e1c26e35
|
|
@@ -65,6 +65,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
65
65
|
optional :start_from, :message, 4, "google.protobuf.Timestamp"
|
|
66
66
|
optional :valid_until, :message, 5, "google.protobuf.Timestamp"
|
|
67
67
|
optional :access_rule, :string, 6
|
|
68
|
+
optional :access_request_id, :string, 7
|
|
68
69
|
end
|
|
69
70
|
end
|
|
70
71
|
end
|
|
@@ -18,22 +18,80 @@
|
|
|
18
18
|
require "google/protobuf"
|
|
19
19
|
|
|
20
20
|
require "options_pb"
|
|
21
|
+
require "spec_pb"
|
|
22
|
+
require "tags_pb"
|
|
23
|
+
require "resourcetypes_pb"
|
|
24
|
+
require "location_enums_pb"
|
|
21
25
|
|
|
22
26
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
27
|
add_file("authorization_policies.proto", :syntax => :proto3) do
|
|
28
|
+
add_message "v1.AuthorizationPolicyCreateRequest" do
|
|
29
|
+
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
|
30
|
+
optional :authorization_policy, :message, 2, "v1.AuthorizationPolicy"
|
|
31
|
+
end
|
|
32
|
+
add_message "v1.AuthorizationPolicyCreateResponse" do
|
|
33
|
+
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
|
34
|
+
optional :authorization_policy, :message, 2, "v1.AuthorizationPolicy"
|
|
35
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
|
36
|
+
end
|
|
37
|
+
add_message "v1.AuthorizationPolicyGetRequest" do
|
|
38
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
|
39
|
+
optional :id, :string, 2
|
|
40
|
+
end
|
|
41
|
+
add_message "v1.AuthorizationPolicyGetResponse" do
|
|
42
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
|
43
|
+
optional :authorization_policy, :message, 2, "v1.AuthorizationPolicy"
|
|
44
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
|
45
|
+
end
|
|
46
|
+
add_message "v1.AuthorizationPolicyUpdateRequest" do
|
|
47
|
+
optional :meta, :message, 1, "v1.UpdateRequestMetadata"
|
|
48
|
+
optional :id, :string, 2
|
|
49
|
+
optional :authorization_policy, :message, 3, "v1.AuthorizationPolicy"
|
|
50
|
+
end
|
|
51
|
+
add_message "v1.AuthorizationPolicyUpdateResponse" do
|
|
52
|
+
optional :meta, :message, 1, "v1.UpdateResponseMetadata"
|
|
53
|
+
optional :authorization_policy, :message, 2, "v1.AuthorizationPolicy"
|
|
54
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
|
55
|
+
end
|
|
56
|
+
add_message "v1.AuthorizationPolicyDeleteRequest" do
|
|
57
|
+
optional :meta, :message, 1, "v1.DeleteRequestMetadata"
|
|
58
|
+
optional :id, :string, 2
|
|
59
|
+
end
|
|
60
|
+
add_message "v1.AuthorizationPolicyDeleteResponse" do
|
|
61
|
+
optional :meta, :message, 1, "v1.DeleteResponseMetadata"
|
|
62
|
+
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
|
63
|
+
end
|
|
64
|
+
add_message "v1.AuthorizationPolicyListRequest" do
|
|
65
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
|
66
|
+
optional :filter, :string, 2
|
|
67
|
+
end
|
|
68
|
+
add_message "v1.AuthorizationPolicyListResponse" do
|
|
69
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
|
70
|
+
repeated :authorization_policies, :message, 2, "v1.AuthorizationPolicy"
|
|
71
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
|
72
|
+
end
|
|
24
73
|
add_message "v1.AuthorizationPolicy" do
|
|
25
74
|
optional :id, :string, 1
|
|
26
75
|
optional :name, :string, 2
|
|
27
76
|
optional :description, :string, 3
|
|
28
77
|
repeated :items, :message, 4, "v1.AuthorizationPolicyItem"
|
|
78
|
+
optional :state, :enum, 5, "v1.AuthorizationPolicyState"
|
|
29
79
|
end
|
|
30
80
|
add_message "v1.AuthorizationPolicyItem" do
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
81
|
+
optional :principal_all, :message, 1, "v1.AuthorizationPolicyItemPrincipalAll"
|
|
82
|
+
optional :principal_by_ids, :message, 2, "v1.AuthorizationPolicyItemPrincipalByIds"
|
|
83
|
+
optional :resources_all, :message, 3, "v1.AuthorizationPolicyItemResourcesAll"
|
|
84
|
+
optional :resource_by_ids, :message, 4, "v1.AuthorizationPolicyItemResourceByIds"
|
|
85
|
+
optional :resource_by_type_and_tags, :message, 5, "v1.AuthorizationPolicyItemResourceByTypeAndTags"
|
|
86
|
+
optional :resource_by_type_tags_and_kubernetes_groups, :message, 6, "v1.AuthorizationPolicyItemResourceByTypeTagsAndKubernetesGroups"
|
|
87
|
+
optional :resource_by_okta_with_groups, :message, 7, "v1.AuthorizationPolicyItemResourceByOktaWithGroups"
|
|
88
|
+
optional :resource_by_entra_with_groups, :message, 8, "v1.AuthorizationPolicyItemResourceByEntraWithGroups"
|
|
89
|
+
optional :condition_mfa, :message, 9, "v1.AuthorizationPolicyItemConditionMFA"
|
|
90
|
+
optional :condition_device_trust, :message, 10, "v1.AuthorizationPolicyItemConditionDeviceTrust"
|
|
91
|
+
optional :condition_location, :message, 11, "v1.AuthorizationPolicyItemConditionLocation"
|
|
92
|
+
optional :condition_ip, :message, 12, "v1.AuthorizationPolicyItemConditionIP"
|
|
93
|
+
optional :condition_time, :message, 13, "v1.AuthorizationPolicyItemConditionTime"
|
|
94
|
+
optional :condition_approval_flow, :message, 14, "v1.AuthorizationPolicyItemConditionApprovalFlow"
|
|
37
95
|
end
|
|
38
96
|
add_message "v1.AuthorizationPolicyItemPrincipalAll" do
|
|
39
97
|
end
|
|
@@ -45,14 +103,186 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
45
103
|
add_message "v1.AuthorizationPolicyItemResourceByIds" do
|
|
46
104
|
repeated :ids, :string, 1
|
|
47
105
|
end
|
|
106
|
+
add_message "v1.AuthorizationPolicyItemResourceByTypeAndTags" do
|
|
107
|
+
optional :type, :enum, 1, "v1.ResourceType"
|
|
108
|
+
repeated :tags, :message, 2, "v1.Tag"
|
|
109
|
+
end
|
|
110
|
+
add_message "v1.AuthorizationPolicyItemResourceByTypeTagsAndKubernetesGroups" do
|
|
111
|
+
optional :type, :enum, 1, "v1.ResourceType"
|
|
112
|
+
repeated :tags, :message, 2, "v1.Tag"
|
|
113
|
+
repeated :kubernetes_groups, :string, 3
|
|
114
|
+
end
|
|
115
|
+
add_message "v1.AuthorizationPolicyItemResourceByOktaWithGroups" do
|
|
116
|
+
optional :id, :string, 1
|
|
117
|
+
repeated :groups, :string, 2
|
|
118
|
+
end
|
|
119
|
+
add_message "v1.AuthorizationPolicyItemResourceByEntraWithGroups" do
|
|
120
|
+
optional :id, :string, 1
|
|
121
|
+
repeated :groups, :string, 2
|
|
122
|
+
end
|
|
123
|
+
add_message "v1.AuthorizationPolicyItemConditionMFA" do
|
|
124
|
+
optional :reason, :string, 1
|
|
125
|
+
optional :cache_timeout_seconds, :int32, 2
|
|
126
|
+
end
|
|
127
|
+
add_message "v1.AuthorizationPolicyItemConditionDeviceTrust" do
|
|
128
|
+
optional :operator, :enum, 1, "v1.AuthorizationPolicyDeviceTrustOperator"
|
|
129
|
+
optional :level, :enum, 2, "v1.AuthorizationPolicyDeviceTrustLevel"
|
|
130
|
+
end
|
|
131
|
+
add_message "v1.AuthorizationPolicyItemConditionLocation" do
|
|
132
|
+
repeated :rules, :message, 1, "v1.AuthorizationPolicyLocationRule"
|
|
133
|
+
end
|
|
134
|
+
add_message "v1.AuthorizationPolicyLocationRule" do
|
|
135
|
+
oneof :rule do
|
|
136
|
+
optional :continent, :message, 1, "v1.AuthorizationPolicyContinentRule"
|
|
137
|
+
optional :country, :message, 2, "v1.AuthorizationPolicyCountryRule"
|
|
138
|
+
optional :subdivision, :message, 3, "v1.AuthorizationPolicySubdivisionRule"
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
add_message "v1.AuthorizationPolicyContinentRule" do
|
|
142
|
+
optional :operator, :enum, 1, "v1.LocationOperator"
|
|
143
|
+
repeated :continents, :enum, 2, "v1.LocationContinent"
|
|
144
|
+
end
|
|
145
|
+
add_message "v1.AuthorizationPolicyCountryRule" do
|
|
146
|
+
optional :operator, :enum, 1, "v1.LocationOperator"
|
|
147
|
+
repeated :countries, :enum, 2, "v1.LocationCountry"
|
|
148
|
+
end
|
|
149
|
+
add_message "v1.AuthorizationPolicySubdivisionRule" do
|
|
150
|
+
optional :operator, :enum, 1, "v1.LocationOperator"
|
|
151
|
+
repeated :subdivisions, :string, 2
|
|
152
|
+
end
|
|
153
|
+
add_message "v1.AuthorizationPolicyItemConditionIP" do
|
|
154
|
+
repeated :rules, :message, 1, "v1.AuthorizationPolicyIPRule"
|
|
155
|
+
end
|
|
156
|
+
add_message "v1.AuthorizationPolicyIPRule" do
|
|
157
|
+
optional :operator, :enum, 1, "v1.AuthorizationPolicyIPOperator"
|
|
158
|
+
optional :network, :enum, 2, "v1.AuthorizationPolicyIPNetwork"
|
|
159
|
+
optional :cidr, :string, 3
|
|
160
|
+
end
|
|
161
|
+
add_message "v1.AuthorizationPolicyItemConditionTime" do
|
|
162
|
+
repeated :rules, :message, 1, "v1.AuthorizationPolicyTimeRule"
|
|
163
|
+
end
|
|
164
|
+
add_message "v1.AuthorizationPolicyTimeRule" do
|
|
165
|
+
oneof :rule do
|
|
166
|
+
optional :day_of_week, :message, 1, "v1.AuthorizationPolicyTimeRuleDayOfWeek"
|
|
167
|
+
optional :time_of_day, :message, 2, "v1.AuthorizationPolicyTimeRuleTimeOfDay"
|
|
168
|
+
optional :month, :message, 3, "v1.AuthorizationPolicyTimeRuleMonth"
|
|
169
|
+
optional :days_of_month, :message, 4, "v1.AuthorizationPolicyTimeRuleDaysOfMonth"
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
add_message "v1.AuthorizationPolicyTimeRuleDayOfWeek" do
|
|
173
|
+
optional :operator, :enum, 1, "v1.AuthorizationPolicyTimeOperator"
|
|
174
|
+
repeated :days, :enum, 2, "v1.AuthorizationPolicyDayOfWeek"
|
|
175
|
+
end
|
|
176
|
+
add_message "v1.AuthorizationPolicyTimeRuleTimeOfDay" do
|
|
177
|
+
optional :start_hour, :int32, 1
|
|
178
|
+
optional :start_minutes, :int32, 2
|
|
179
|
+
optional :end_hour, :int32, 3
|
|
180
|
+
optional :end_minutes, :int32, 4
|
|
181
|
+
end
|
|
182
|
+
add_message "v1.AuthorizationPolicyTimeRuleMonth" do
|
|
183
|
+
repeated :months, :int32, 1
|
|
184
|
+
end
|
|
185
|
+
add_message "v1.AuthorizationPolicyTimeRuleDaysOfMonth" do
|
|
186
|
+
repeated :days, :int32, 1
|
|
187
|
+
end
|
|
188
|
+
add_message "v1.AuthorizationPolicyItemConditionApprovalFlow" do
|
|
189
|
+
optional :approval_flow_id, :string, 1
|
|
190
|
+
end
|
|
191
|
+
add_enum "v1.AuthorizationPolicyState" do
|
|
192
|
+
value :AUTHORIZATION_POLICY_STATE_UNSPECIFIED, 0
|
|
193
|
+
value :AUTHORIZATION_POLICY_STATE_ACTIVE, 1
|
|
194
|
+
value :AUTHORIZATION_POLICY_STATE_INACTIVE, 2
|
|
195
|
+
end
|
|
196
|
+
add_enum "v1.AuthorizationPolicyDeviceTrustOperator" do
|
|
197
|
+
value :AUTHORIZATION_POLICY_DEVICE_TRUST_OPERATOR_UNSPECIFIED, 0
|
|
198
|
+
value :AUTHORIZATION_POLICY_DEVICE_TRUST_OPERATOR_IS, 1
|
|
199
|
+
value :AUTHORIZATION_POLICY_DEVICE_TRUST_OPERATOR_IS_NOT, 2
|
|
200
|
+
end
|
|
201
|
+
add_enum "v1.AuthorizationPolicyDeviceTrustLevel" do
|
|
202
|
+
value :AUTHORIZATION_POLICY_DEVICE_TRUST_LEVEL_UNSPECIFIED, 0
|
|
203
|
+
value :AUTHORIZATION_POLICY_DEVICE_TRUST_LEVEL_HIGH, 1
|
|
204
|
+
value :AUTHORIZATION_POLICY_DEVICE_TRUST_LEVEL_LOW, 2
|
|
205
|
+
value :AUTHORIZATION_POLICY_DEVICE_TRUST_LEVEL_EXEMPT, 3
|
|
206
|
+
value :AUTHORIZATION_POLICY_DEVICE_TRUST_LEVEL_UNKNOWN, 4
|
|
207
|
+
end
|
|
208
|
+
add_enum "v1.LocationOperator" do
|
|
209
|
+
value :LOCATION_OPERATOR_UNSPECIFIED, 0
|
|
210
|
+
value :LOCATION_OPERATOR_IN, 1
|
|
211
|
+
value :LOCATION_OPERATOR_NOT_IN, 2
|
|
212
|
+
end
|
|
213
|
+
add_enum "v1.AuthorizationPolicyIPOperator" do
|
|
214
|
+
value :AUTHORIZATION_POLICY_IP_OPERATOR_UNSPECIFIED, 0
|
|
215
|
+
value :AUTHORIZATION_POLICY_IP_OPERATOR_IN, 1
|
|
216
|
+
value :AUTHORIZATION_POLICY_IP_OPERATOR_NOT_IN, 2
|
|
217
|
+
value :AUTHORIZATION_POLICY_IP_OPERATOR_EQUALS, 3
|
|
218
|
+
end
|
|
219
|
+
add_enum "v1.AuthorizationPolicyIPNetwork" do
|
|
220
|
+
value :AUTHORIZATION_POLICY_IP_NETWORK_UNSPECIFIED, 0
|
|
221
|
+
value :AUTHORIZATION_POLICY_IP_NETWORK_CLIENT_IP, 1
|
|
222
|
+
value :AUTHORIZATION_POLICY_IP_NETWORK_REQUEST_IP, 2
|
|
223
|
+
value :AUTHORIZATION_POLICY_IP_NETWORK_DESTINATION_IP, 3
|
|
224
|
+
end
|
|
225
|
+
add_enum "v1.AuthorizationPolicyTimeOperator" do
|
|
226
|
+
value :AUTHORIZATION_POLICY_TIME_OPERATOR_UNSPECIFIED, 0
|
|
227
|
+
value :AUTHORIZATION_POLICY_TIME_OPERATOR_IS, 1
|
|
228
|
+
value :AUTHORIZATION_POLICY_TIME_OPERATOR_IS_NOT, 2
|
|
229
|
+
end
|
|
230
|
+
add_enum "v1.AuthorizationPolicyDayOfWeek" do
|
|
231
|
+
value :AUTHORIZATION_POLICY_DAY_OF_WEEK_UNSPECIFIED, 0
|
|
232
|
+
value :AUTHORIZATION_POLICY_DAY_OF_WEEK_SUNDAY, 1
|
|
233
|
+
value :AUTHORIZATION_POLICY_DAY_OF_WEEK_MONDAY, 2
|
|
234
|
+
value :AUTHORIZATION_POLICY_DAY_OF_WEEK_TUESDAY, 3
|
|
235
|
+
value :AUTHORIZATION_POLICY_DAY_OF_WEEK_WEDNESDAY, 4
|
|
236
|
+
value :AUTHORIZATION_POLICY_DAY_OF_WEEK_THURSDAY, 5
|
|
237
|
+
value :AUTHORIZATION_POLICY_DAY_OF_WEEK_FRIDAY, 6
|
|
238
|
+
value :AUTHORIZATION_POLICY_DAY_OF_WEEK_SATURDAY, 7
|
|
239
|
+
end
|
|
48
240
|
end
|
|
49
241
|
end
|
|
50
242
|
|
|
51
243
|
module V1
|
|
244
|
+
AuthorizationPolicyCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyCreateRequest").msgclass
|
|
245
|
+
AuthorizationPolicyCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyCreateResponse").msgclass
|
|
246
|
+
AuthorizationPolicyGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyGetRequest").msgclass
|
|
247
|
+
AuthorizationPolicyGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyGetResponse").msgclass
|
|
248
|
+
AuthorizationPolicyUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyUpdateRequest").msgclass
|
|
249
|
+
AuthorizationPolicyUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyUpdateResponse").msgclass
|
|
250
|
+
AuthorizationPolicyDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyDeleteRequest").msgclass
|
|
251
|
+
AuthorizationPolicyDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyDeleteResponse").msgclass
|
|
252
|
+
AuthorizationPolicyListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyListRequest").msgclass
|
|
253
|
+
AuthorizationPolicyListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyListResponse").msgclass
|
|
52
254
|
AuthorizationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicy").msgclass
|
|
53
255
|
AuthorizationPolicyItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItem").msgclass
|
|
54
256
|
AuthorizationPolicyItemPrincipalAll = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemPrincipalAll").msgclass
|
|
55
257
|
AuthorizationPolicyItemPrincipalByIds = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemPrincipalByIds").msgclass
|
|
56
258
|
AuthorizationPolicyItemResourcesAll = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemResourcesAll").msgclass
|
|
57
259
|
AuthorizationPolicyItemResourceByIds = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemResourceByIds").msgclass
|
|
260
|
+
AuthorizationPolicyItemResourceByTypeAndTags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemResourceByTypeAndTags").msgclass
|
|
261
|
+
AuthorizationPolicyItemResourceByTypeTagsAndKubernetesGroups = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemResourceByTypeTagsAndKubernetesGroups").msgclass
|
|
262
|
+
AuthorizationPolicyItemResourceByOktaWithGroups = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemResourceByOktaWithGroups").msgclass
|
|
263
|
+
AuthorizationPolicyItemResourceByEntraWithGroups = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemResourceByEntraWithGroups").msgclass
|
|
264
|
+
AuthorizationPolicyItemConditionMFA = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemConditionMFA").msgclass
|
|
265
|
+
AuthorizationPolicyItemConditionDeviceTrust = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemConditionDeviceTrust").msgclass
|
|
266
|
+
AuthorizationPolicyItemConditionLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemConditionLocation").msgclass
|
|
267
|
+
AuthorizationPolicyLocationRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyLocationRule").msgclass
|
|
268
|
+
AuthorizationPolicyContinentRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyContinentRule").msgclass
|
|
269
|
+
AuthorizationPolicyCountryRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyCountryRule").msgclass
|
|
270
|
+
AuthorizationPolicySubdivisionRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicySubdivisionRule").msgclass
|
|
271
|
+
AuthorizationPolicyItemConditionIP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemConditionIP").msgclass
|
|
272
|
+
AuthorizationPolicyIPRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyIPRule").msgclass
|
|
273
|
+
AuthorizationPolicyItemConditionTime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemConditionTime").msgclass
|
|
274
|
+
AuthorizationPolicyTimeRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRule").msgclass
|
|
275
|
+
AuthorizationPolicyTimeRuleDayOfWeek = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRuleDayOfWeek").msgclass
|
|
276
|
+
AuthorizationPolicyTimeRuleTimeOfDay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRuleTimeOfDay").msgclass
|
|
277
|
+
AuthorizationPolicyTimeRuleMonth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRuleMonth").msgclass
|
|
278
|
+
AuthorizationPolicyTimeRuleDaysOfMonth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRuleDaysOfMonth").msgclass
|
|
279
|
+
AuthorizationPolicyItemConditionApprovalFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemConditionApprovalFlow").msgclass
|
|
280
|
+
AuthorizationPolicyState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyState").enummodule
|
|
281
|
+
AuthorizationPolicyDeviceTrustOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyDeviceTrustOperator").enummodule
|
|
282
|
+
AuthorizationPolicyDeviceTrustLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyDeviceTrustLevel").enummodule
|
|
283
|
+
LocationOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.LocationOperator").enummodule
|
|
284
|
+
AuthorizationPolicyIPOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyIPOperator").enummodule
|
|
285
|
+
AuthorizationPolicyIPNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyIPNetwork").enummodule
|
|
286
|
+
AuthorizationPolicyTimeOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeOperator").enummodule
|
|
287
|
+
AuthorizationPolicyDayOfWeek = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyDayOfWeek").enummodule
|
|
58
288
|
end
|
|
@@ -0,0 +1,49 @@
|
|
|
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 for package 'v1'
|
|
17
|
+
|
|
18
|
+
require "grpc"
|
|
19
|
+
require "authorization_policies_pb"
|
|
20
|
+
|
|
21
|
+
module V1
|
|
22
|
+
module AuthorizationPolicies
|
|
23
|
+
# ───────────────────────────────────────────────────────────────────
|
|
24
|
+
# Service
|
|
25
|
+
# ───────────────────────────────────────────────────────────────────
|
|
26
|
+
#
|
|
27
|
+
# AuthorizationPolicies provides CRUD operations for authorization policies.
|
|
28
|
+
class Service
|
|
29
|
+
include ::GRPC::GenericService
|
|
30
|
+
|
|
31
|
+
self.marshal_class_method = :encode
|
|
32
|
+
self.unmarshal_class_method = :decode
|
|
33
|
+
self.service_name = "v1.AuthorizationPolicies"
|
|
34
|
+
|
|
35
|
+
# Create creates a new AuthorizationPolicy.
|
|
36
|
+
rpc :Create, ::V1::AuthorizationPolicyCreateRequest, ::V1::AuthorizationPolicyCreateResponse
|
|
37
|
+
# Get reads one AuthorizationPolicy by ID.
|
|
38
|
+
rpc :Get, ::V1::AuthorizationPolicyGetRequest, ::V1::AuthorizationPolicyGetResponse
|
|
39
|
+
# Update replaces all fields of an existing AuthorizationPolicy.
|
|
40
|
+
rpc :Update, ::V1::AuthorizationPolicyUpdateRequest, ::V1::AuthorizationPolicyUpdateResponse
|
|
41
|
+
# Delete removes an existing AuthorizationPolicy by ID.
|
|
42
|
+
rpc :Delete, ::V1::AuthorizationPolicyDeleteRequest, ::V1::AuthorizationPolicyDeleteResponse
|
|
43
|
+
# List gets a list of AuthorizationPolicies matching a given set of criteria.
|
|
44
|
+
rpc :List, ::V1::AuthorizationPolicyListRequest, ::V1::AuthorizationPolicyListResponse
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
Stub = Service.rpc_stub_class
|
|
48
|
+
end
|
|
49
|
+
end
|
data/lib/grpc/drivers_pb.rb
CHANGED
|
@@ -97,6 +97,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
97
97
|
optional :kubernetes_user_impersonation, :message, 812, "v1.KubernetesUserImpersonation"
|
|
98
98
|
optional :mcp, :message, 4700, "v1.MCP"
|
|
99
99
|
optional :mcpdcr, :message, 4701, "v1.MCPDCR"
|
|
100
|
+
optional :mcp_gateway_no_auth, :message, 4703, "v1.MCPGatewayNoAuth"
|
|
101
|
+
optional :mcp_gateway_pat, :message, 4702, "v1.MCPGatewayPAT"
|
|
100
102
|
optional :mtls_mysql, :message, 1106, "v1.MTLSMysql"
|
|
101
103
|
optional :mtls_postgres, :message, 1306, "v1.MTLSPostgres"
|
|
102
104
|
optional :maria, :message, 1103, "v1.Maria"
|
|
@@ -1435,6 +1437,33 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1435
1437
|
optional :oauth_token_endpoint, :string, 9
|
|
1436
1438
|
optional :port_override, :int32, 4
|
|
1437
1439
|
end
|
|
1440
|
+
add_message "v1.MCPGatewayNoAuth" do
|
|
1441
|
+
optional :id, :string, 32768
|
|
1442
|
+
optional :name, :string, 32769
|
|
1443
|
+
optional :healthy, :bool, 32770
|
|
1444
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
1445
|
+
optional :secret_store_id, :string, 32772
|
|
1446
|
+
optional :egress_filter, :string, 32773
|
|
1447
|
+
optional :bind_interface, :string, 32774
|
|
1448
|
+
optional :proxy_cluster_id, :string, 32776
|
|
1449
|
+
optional :subdomain, :string, 32775
|
|
1450
|
+
optional :hostname, :string, 1
|
|
1451
|
+
optional :port_override, :int32, 4
|
|
1452
|
+
end
|
|
1453
|
+
add_message "v1.MCPGatewayPAT" do
|
|
1454
|
+
optional :id, :string, 32768
|
|
1455
|
+
optional :name, :string, 32769
|
|
1456
|
+
optional :healthy, :bool, 32770
|
|
1457
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
1458
|
+
optional :secret_store_id, :string, 32772
|
|
1459
|
+
optional :egress_filter, :string, 32773
|
|
1460
|
+
optional :bind_interface, :string, 32774
|
|
1461
|
+
optional :proxy_cluster_id, :string, 32776
|
|
1462
|
+
optional :subdomain, :string, 32775
|
|
1463
|
+
optional :hostname, :string, 1
|
|
1464
|
+
optional :password, :string, 2
|
|
1465
|
+
optional :port_override, :int32, 4
|
|
1466
|
+
end
|
|
1438
1467
|
add_message "v1.MTLSMysql" do
|
|
1439
1468
|
optional :id, :string, 32768
|
|
1440
1469
|
optional :name, :string, 32769
|
|
@@ -2301,6 +2330,8 @@ module V1
|
|
|
2301
2330
|
KubernetesUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesUserImpersonation").msgclass
|
|
2302
2331
|
MCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCP").msgclass
|
|
2303
2332
|
MCPDCR = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCPDCR").msgclass
|
|
2333
|
+
MCPGatewayNoAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCPGatewayNoAuth").msgclass
|
|
2334
|
+
MCPGatewayPAT = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCPGatewayPAT").msgclass
|
|
2304
2335
|
MTLSMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MTLSMysql").msgclass
|
|
2305
2336
|
MTLSPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MTLSPostgres").msgclass
|
|
2306
2337
|
Maria = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Maria").msgclass
|
|
@@ -0,0 +1,292 @@
|
|
|
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: location_enums.proto
|
|
17
|
+
|
|
18
|
+
require "google/protobuf"
|
|
19
|
+
|
|
20
|
+
require "options_pb"
|
|
21
|
+
|
|
22
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
|
+
add_file("location_enums.proto", :syntax => :proto3) do
|
|
24
|
+
add_enum "v1.LocationContinent" do
|
|
25
|
+
value :LOCATION_CONTINENT_UNSPECIFIED, 0
|
|
26
|
+
value :LOCATION_CONTINENT_AF, 1
|
|
27
|
+
value :LOCATION_CONTINENT_AN, 2
|
|
28
|
+
value :LOCATION_CONTINENT_AS, 3
|
|
29
|
+
value :LOCATION_CONTINENT_EU, 4
|
|
30
|
+
value :LOCATION_CONTINENT_NA, 5
|
|
31
|
+
value :LOCATION_CONTINENT_OC, 6
|
|
32
|
+
value :LOCATION_CONTINENT_SA, 7
|
|
33
|
+
end
|
|
34
|
+
add_enum "v1.LocationCountry" do
|
|
35
|
+
value :LOCATION_COUNTRY_UNSPECIFIED, 0
|
|
36
|
+
value :LOCATION_COUNTRY_AD, 1
|
|
37
|
+
value :LOCATION_COUNTRY_AE, 2
|
|
38
|
+
value :LOCATION_COUNTRY_AF, 3
|
|
39
|
+
value :LOCATION_COUNTRY_AG, 4
|
|
40
|
+
value :LOCATION_COUNTRY_AI, 5
|
|
41
|
+
value :LOCATION_COUNTRY_AL, 6
|
|
42
|
+
value :LOCATION_COUNTRY_AM, 7
|
|
43
|
+
value :LOCATION_COUNTRY_AO, 8
|
|
44
|
+
value :LOCATION_COUNTRY_AQ, 9
|
|
45
|
+
value :LOCATION_COUNTRY_AR, 10
|
|
46
|
+
value :LOCATION_COUNTRY_AS, 11
|
|
47
|
+
value :LOCATION_COUNTRY_AT, 12
|
|
48
|
+
value :LOCATION_COUNTRY_AU, 13
|
|
49
|
+
value :LOCATION_COUNTRY_AW, 14
|
|
50
|
+
value :LOCATION_COUNTRY_AX, 15
|
|
51
|
+
value :LOCATION_COUNTRY_AZ, 16
|
|
52
|
+
value :LOCATION_COUNTRY_BA, 17
|
|
53
|
+
value :LOCATION_COUNTRY_BB, 18
|
|
54
|
+
value :LOCATION_COUNTRY_BD, 19
|
|
55
|
+
value :LOCATION_COUNTRY_BE, 20
|
|
56
|
+
value :LOCATION_COUNTRY_BF, 21
|
|
57
|
+
value :LOCATION_COUNTRY_BG, 22
|
|
58
|
+
value :LOCATION_COUNTRY_BH, 23
|
|
59
|
+
value :LOCATION_COUNTRY_BI, 24
|
|
60
|
+
value :LOCATION_COUNTRY_BJ, 25
|
|
61
|
+
value :LOCATION_COUNTRY_BL, 26
|
|
62
|
+
value :LOCATION_COUNTRY_BM, 27
|
|
63
|
+
value :LOCATION_COUNTRY_BN, 28
|
|
64
|
+
value :LOCATION_COUNTRY_BO, 29
|
|
65
|
+
value :LOCATION_COUNTRY_BQ, 30
|
|
66
|
+
value :LOCATION_COUNTRY_BR, 31
|
|
67
|
+
value :LOCATION_COUNTRY_BS, 32
|
|
68
|
+
value :LOCATION_COUNTRY_BT, 33
|
|
69
|
+
value :LOCATION_COUNTRY_BV, 34
|
|
70
|
+
value :LOCATION_COUNTRY_BW, 35
|
|
71
|
+
value :LOCATION_COUNTRY_BY, 36
|
|
72
|
+
value :LOCATION_COUNTRY_BZ, 37
|
|
73
|
+
value :LOCATION_COUNTRY_CA, 38
|
|
74
|
+
value :LOCATION_COUNTRY_CC, 39
|
|
75
|
+
value :LOCATION_COUNTRY_CD, 40
|
|
76
|
+
value :LOCATION_COUNTRY_CF, 41
|
|
77
|
+
value :LOCATION_COUNTRY_CG, 42
|
|
78
|
+
value :LOCATION_COUNTRY_CH, 43
|
|
79
|
+
value :LOCATION_COUNTRY_CI, 44
|
|
80
|
+
value :LOCATION_COUNTRY_CK, 45
|
|
81
|
+
value :LOCATION_COUNTRY_CL, 46
|
|
82
|
+
value :LOCATION_COUNTRY_CM, 47
|
|
83
|
+
value :LOCATION_COUNTRY_CN, 48
|
|
84
|
+
value :LOCATION_COUNTRY_CO, 49
|
|
85
|
+
value :LOCATION_COUNTRY_CR, 50
|
|
86
|
+
value :LOCATION_COUNTRY_CU, 51
|
|
87
|
+
value :LOCATION_COUNTRY_CV, 52
|
|
88
|
+
value :LOCATION_COUNTRY_CW, 53
|
|
89
|
+
value :LOCATION_COUNTRY_CX, 54
|
|
90
|
+
value :LOCATION_COUNTRY_CY, 55
|
|
91
|
+
value :LOCATION_COUNTRY_CZ, 56
|
|
92
|
+
value :LOCATION_COUNTRY_DE, 57
|
|
93
|
+
value :LOCATION_COUNTRY_DJ, 58
|
|
94
|
+
value :LOCATION_COUNTRY_DK, 59
|
|
95
|
+
value :LOCATION_COUNTRY_DM, 60
|
|
96
|
+
value :LOCATION_COUNTRY_DO, 61
|
|
97
|
+
value :LOCATION_COUNTRY_DZ, 62
|
|
98
|
+
value :LOCATION_COUNTRY_EC, 63
|
|
99
|
+
value :LOCATION_COUNTRY_EE, 64
|
|
100
|
+
value :LOCATION_COUNTRY_EG, 65
|
|
101
|
+
value :LOCATION_COUNTRY_EH, 66
|
|
102
|
+
value :LOCATION_COUNTRY_ER, 67
|
|
103
|
+
value :LOCATION_COUNTRY_ES, 68
|
|
104
|
+
value :LOCATION_COUNTRY_ET, 69
|
|
105
|
+
value :LOCATION_COUNTRY_FI, 70
|
|
106
|
+
value :LOCATION_COUNTRY_FJ, 71
|
|
107
|
+
value :LOCATION_COUNTRY_FK, 72
|
|
108
|
+
value :LOCATION_COUNTRY_FM, 73
|
|
109
|
+
value :LOCATION_COUNTRY_FO, 74
|
|
110
|
+
value :LOCATION_COUNTRY_FR, 75
|
|
111
|
+
value :LOCATION_COUNTRY_GA, 76
|
|
112
|
+
value :LOCATION_COUNTRY_GB, 77
|
|
113
|
+
value :LOCATION_COUNTRY_GD, 78
|
|
114
|
+
value :LOCATION_COUNTRY_GE, 79
|
|
115
|
+
value :LOCATION_COUNTRY_GF, 80
|
|
116
|
+
value :LOCATION_COUNTRY_GG, 81
|
|
117
|
+
value :LOCATION_COUNTRY_GH, 82
|
|
118
|
+
value :LOCATION_COUNTRY_GI, 83
|
|
119
|
+
value :LOCATION_COUNTRY_GL, 84
|
|
120
|
+
value :LOCATION_COUNTRY_GM, 85
|
|
121
|
+
value :LOCATION_COUNTRY_GN, 86
|
|
122
|
+
value :LOCATION_COUNTRY_GP, 87
|
|
123
|
+
value :LOCATION_COUNTRY_GQ, 88
|
|
124
|
+
value :LOCATION_COUNTRY_GR, 89
|
|
125
|
+
value :LOCATION_COUNTRY_GS, 90
|
|
126
|
+
value :LOCATION_COUNTRY_GT, 91
|
|
127
|
+
value :LOCATION_COUNTRY_GU, 92
|
|
128
|
+
value :LOCATION_COUNTRY_GW, 93
|
|
129
|
+
value :LOCATION_COUNTRY_GY, 94
|
|
130
|
+
value :LOCATION_COUNTRY_HK, 95
|
|
131
|
+
value :LOCATION_COUNTRY_HM, 96
|
|
132
|
+
value :LOCATION_COUNTRY_HN, 97
|
|
133
|
+
value :LOCATION_COUNTRY_HR, 98
|
|
134
|
+
value :LOCATION_COUNTRY_HT, 99
|
|
135
|
+
value :LOCATION_COUNTRY_HU, 100
|
|
136
|
+
value :LOCATION_COUNTRY_ID, 101
|
|
137
|
+
value :LOCATION_COUNTRY_IE, 102
|
|
138
|
+
value :LOCATION_COUNTRY_IL, 103
|
|
139
|
+
value :LOCATION_COUNTRY_IM, 104
|
|
140
|
+
value :LOCATION_COUNTRY_IN, 105
|
|
141
|
+
value :LOCATION_COUNTRY_IO, 106
|
|
142
|
+
value :LOCATION_COUNTRY_IQ, 107
|
|
143
|
+
value :LOCATION_COUNTRY_IR, 108
|
|
144
|
+
value :LOCATION_COUNTRY_IS, 109
|
|
145
|
+
value :LOCATION_COUNTRY_IT, 110
|
|
146
|
+
value :LOCATION_COUNTRY_JE, 111
|
|
147
|
+
value :LOCATION_COUNTRY_JM, 112
|
|
148
|
+
value :LOCATION_COUNTRY_JO, 113
|
|
149
|
+
value :LOCATION_COUNTRY_JP, 114
|
|
150
|
+
value :LOCATION_COUNTRY_KE, 115
|
|
151
|
+
value :LOCATION_COUNTRY_KG, 116
|
|
152
|
+
value :LOCATION_COUNTRY_KH, 117
|
|
153
|
+
value :LOCATION_COUNTRY_KI, 118
|
|
154
|
+
value :LOCATION_COUNTRY_KM, 119
|
|
155
|
+
value :LOCATION_COUNTRY_KN, 120
|
|
156
|
+
value :LOCATION_COUNTRY_KP, 121
|
|
157
|
+
value :LOCATION_COUNTRY_KR, 122
|
|
158
|
+
value :LOCATION_COUNTRY_KW, 123
|
|
159
|
+
value :LOCATION_COUNTRY_KY, 124
|
|
160
|
+
value :LOCATION_COUNTRY_KZ, 125
|
|
161
|
+
value :LOCATION_COUNTRY_LA, 126
|
|
162
|
+
value :LOCATION_COUNTRY_LB, 127
|
|
163
|
+
value :LOCATION_COUNTRY_LC, 128
|
|
164
|
+
value :LOCATION_COUNTRY_LI, 129
|
|
165
|
+
value :LOCATION_COUNTRY_LK, 130
|
|
166
|
+
value :LOCATION_COUNTRY_LR, 131
|
|
167
|
+
value :LOCATION_COUNTRY_LS, 132
|
|
168
|
+
value :LOCATION_COUNTRY_LT, 133
|
|
169
|
+
value :LOCATION_COUNTRY_LU, 134
|
|
170
|
+
value :LOCATION_COUNTRY_LV, 135
|
|
171
|
+
value :LOCATION_COUNTRY_LY, 136
|
|
172
|
+
value :LOCATION_COUNTRY_MA, 137
|
|
173
|
+
value :LOCATION_COUNTRY_MC, 138
|
|
174
|
+
value :LOCATION_COUNTRY_MD, 139
|
|
175
|
+
value :LOCATION_COUNTRY_ME, 140
|
|
176
|
+
value :LOCATION_COUNTRY_MF, 141
|
|
177
|
+
value :LOCATION_COUNTRY_MG, 142
|
|
178
|
+
value :LOCATION_COUNTRY_MH, 143
|
|
179
|
+
value :LOCATION_COUNTRY_MK, 144
|
|
180
|
+
value :LOCATION_COUNTRY_ML, 145
|
|
181
|
+
value :LOCATION_COUNTRY_MM, 146
|
|
182
|
+
value :LOCATION_COUNTRY_MN, 147
|
|
183
|
+
value :LOCATION_COUNTRY_MO, 148
|
|
184
|
+
value :LOCATION_COUNTRY_MP, 149
|
|
185
|
+
value :LOCATION_COUNTRY_MQ, 150
|
|
186
|
+
value :LOCATION_COUNTRY_MR, 151
|
|
187
|
+
value :LOCATION_COUNTRY_MS, 152
|
|
188
|
+
value :LOCATION_COUNTRY_MT, 153
|
|
189
|
+
value :LOCATION_COUNTRY_MU, 154
|
|
190
|
+
value :LOCATION_COUNTRY_MV, 155
|
|
191
|
+
value :LOCATION_COUNTRY_MW, 156
|
|
192
|
+
value :LOCATION_COUNTRY_MX, 157
|
|
193
|
+
value :LOCATION_COUNTRY_MY, 158
|
|
194
|
+
value :LOCATION_COUNTRY_MZ, 159
|
|
195
|
+
value :LOCATION_COUNTRY_NA, 160
|
|
196
|
+
value :LOCATION_COUNTRY_NC, 161
|
|
197
|
+
value :LOCATION_COUNTRY_NE, 162
|
|
198
|
+
value :LOCATION_COUNTRY_NF, 163
|
|
199
|
+
value :LOCATION_COUNTRY_NG, 164
|
|
200
|
+
value :LOCATION_COUNTRY_NI, 165
|
|
201
|
+
value :LOCATION_COUNTRY_NL, 166
|
|
202
|
+
value :LOCATION_COUNTRY_NO, 167
|
|
203
|
+
value :LOCATION_COUNTRY_NP, 168
|
|
204
|
+
value :LOCATION_COUNTRY_NR, 169
|
|
205
|
+
value :LOCATION_COUNTRY_NU, 170
|
|
206
|
+
value :LOCATION_COUNTRY_NZ, 171
|
|
207
|
+
value :LOCATION_COUNTRY_OM, 172
|
|
208
|
+
value :LOCATION_COUNTRY_PA, 173
|
|
209
|
+
value :LOCATION_COUNTRY_PE, 174
|
|
210
|
+
value :LOCATION_COUNTRY_PF, 175
|
|
211
|
+
value :LOCATION_COUNTRY_PG, 176
|
|
212
|
+
value :LOCATION_COUNTRY_PH, 177
|
|
213
|
+
value :LOCATION_COUNTRY_PK, 178
|
|
214
|
+
value :LOCATION_COUNTRY_PL, 179
|
|
215
|
+
value :LOCATION_COUNTRY_PM, 180
|
|
216
|
+
value :LOCATION_COUNTRY_PN, 181
|
|
217
|
+
value :LOCATION_COUNTRY_PR, 182
|
|
218
|
+
value :LOCATION_COUNTRY_PS, 183
|
|
219
|
+
value :LOCATION_COUNTRY_PT, 184
|
|
220
|
+
value :LOCATION_COUNTRY_PW, 185
|
|
221
|
+
value :LOCATION_COUNTRY_PY, 186
|
|
222
|
+
value :LOCATION_COUNTRY_QA, 187
|
|
223
|
+
value :LOCATION_COUNTRY_RE, 188
|
|
224
|
+
value :LOCATION_COUNTRY_RO, 189
|
|
225
|
+
value :LOCATION_COUNTRY_RS, 190
|
|
226
|
+
value :LOCATION_COUNTRY_RU, 191
|
|
227
|
+
value :LOCATION_COUNTRY_RW, 192
|
|
228
|
+
value :LOCATION_COUNTRY_SA, 193
|
|
229
|
+
value :LOCATION_COUNTRY_SB, 194
|
|
230
|
+
value :LOCATION_COUNTRY_SC, 195
|
|
231
|
+
value :LOCATION_COUNTRY_SD, 196
|
|
232
|
+
value :LOCATION_COUNTRY_SE, 197
|
|
233
|
+
value :LOCATION_COUNTRY_SG, 198
|
|
234
|
+
value :LOCATION_COUNTRY_SH, 199
|
|
235
|
+
value :LOCATION_COUNTRY_SI, 200
|
|
236
|
+
value :LOCATION_COUNTRY_SJ, 201
|
|
237
|
+
value :LOCATION_COUNTRY_SK, 202
|
|
238
|
+
value :LOCATION_COUNTRY_SL, 203
|
|
239
|
+
value :LOCATION_COUNTRY_SM, 204
|
|
240
|
+
value :LOCATION_COUNTRY_SN, 205
|
|
241
|
+
value :LOCATION_COUNTRY_SO, 206
|
|
242
|
+
value :LOCATION_COUNTRY_SR, 207
|
|
243
|
+
value :LOCATION_COUNTRY_SS, 208
|
|
244
|
+
value :LOCATION_COUNTRY_ST, 209
|
|
245
|
+
value :LOCATION_COUNTRY_SV, 210
|
|
246
|
+
value :LOCATION_COUNTRY_SX, 211
|
|
247
|
+
value :LOCATION_COUNTRY_SY, 212
|
|
248
|
+
value :LOCATION_COUNTRY_SZ, 213
|
|
249
|
+
value :LOCATION_COUNTRY_TC, 214
|
|
250
|
+
value :LOCATION_COUNTRY_TD, 215
|
|
251
|
+
value :LOCATION_COUNTRY_TF, 216
|
|
252
|
+
value :LOCATION_COUNTRY_TG, 217
|
|
253
|
+
value :LOCATION_COUNTRY_TH, 218
|
|
254
|
+
value :LOCATION_COUNTRY_TJ, 219
|
|
255
|
+
value :LOCATION_COUNTRY_TK, 220
|
|
256
|
+
value :LOCATION_COUNTRY_TL, 221
|
|
257
|
+
value :LOCATION_COUNTRY_TM, 222
|
|
258
|
+
value :LOCATION_COUNTRY_TN, 223
|
|
259
|
+
value :LOCATION_COUNTRY_TO, 224
|
|
260
|
+
value :LOCATION_COUNTRY_TR, 225
|
|
261
|
+
value :LOCATION_COUNTRY_TT, 226
|
|
262
|
+
value :LOCATION_COUNTRY_TV, 227
|
|
263
|
+
value :LOCATION_COUNTRY_TW, 228
|
|
264
|
+
value :LOCATION_COUNTRY_TZ, 229
|
|
265
|
+
value :LOCATION_COUNTRY_UA, 230
|
|
266
|
+
value :LOCATION_COUNTRY_UG, 231
|
|
267
|
+
value :LOCATION_COUNTRY_UM, 232
|
|
268
|
+
value :LOCATION_COUNTRY_US, 233
|
|
269
|
+
value :LOCATION_COUNTRY_UY, 234
|
|
270
|
+
value :LOCATION_COUNTRY_UZ, 235
|
|
271
|
+
value :LOCATION_COUNTRY_VA, 236
|
|
272
|
+
value :LOCATION_COUNTRY_VC, 237
|
|
273
|
+
value :LOCATION_COUNTRY_VE, 238
|
|
274
|
+
value :LOCATION_COUNTRY_VG, 239
|
|
275
|
+
value :LOCATION_COUNTRY_VI, 240
|
|
276
|
+
value :LOCATION_COUNTRY_VN, 241
|
|
277
|
+
value :LOCATION_COUNTRY_VU, 242
|
|
278
|
+
value :LOCATION_COUNTRY_WF, 243
|
|
279
|
+
value :LOCATION_COUNTRY_WS, 244
|
|
280
|
+
value :LOCATION_COUNTRY_YE, 245
|
|
281
|
+
value :LOCATION_COUNTRY_YT, 246
|
|
282
|
+
value :LOCATION_COUNTRY_ZA, 247
|
|
283
|
+
value :LOCATION_COUNTRY_ZM, 248
|
|
284
|
+
value :LOCATION_COUNTRY_ZW, 249
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
module V1
|
|
290
|
+
LocationContinent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.LocationContinent").enummodule
|
|
291
|
+
LocationCountry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.LocationCountry").enummodule
|
|
292
|
+
end
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -44,6 +44,8 @@ require_relative "./approval_workflow_steps_pb"
|
|
|
44
44
|
require_relative "./approval_workflow_steps_history_pb"
|
|
45
45
|
require_relative "./approval_workflows_pb"
|
|
46
46
|
require_relative "./approval_workflows_history_pb"
|
|
47
|
+
require_relative "./resourcetypes_pb"
|
|
48
|
+
require_relative "./location_enums_pb"
|
|
47
49
|
require_relative "./authorization_policies_pb"
|
|
48
50
|
require_relative "./control_panel_pb"
|
|
49
51
|
require_relative "./discovery_connectors_pb"
|
|
@@ -79,7 +81,6 @@ require_relative "./remote_identity_groups_history_pb"
|
|
|
79
81
|
require_relative "./replays_pb"
|
|
80
82
|
require_relative "./resources_pb"
|
|
81
83
|
require_relative "./resources_history_pb"
|
|
82
|
-
require_relative "./resourcetypes_pb"
|
|
83
84
|
require_relative "./role_resources_pb"
|
|
84
85
|
require_relative "./role_resources_history_pb"
|
|
85
86
|
require_relative "./roles_history_pb"
|
|
@@ -385,6 +386,10 @@ module SDM
|
|
|
385
386
|
return SDM::ResourceType::RESOURCE_TYPE_MCP
|
|
386
387
|
when V1::ResourceType::RESOURCE_TYPE_MCPDCR
|
|
387
388
|
return SDM::ResourceType::RESOURCE_TYPE_MCPDCR
|
|
389
|
+
when V1::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH
|
|
390
|
+
return SDM::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH
|
|
391
|
+
when V1::ResourceType::RESOURCE_TYPE_MCPPAT
|
|
392
|
+
return SDM::ResourceType::RESOURCE_TYPE_MCPPAT
|
|
388
393
|
when V1::ResourceType::RESOURCE_TYPE_MTLS_MY_SQL
|
|
389
394
|
return SDM::ResourceType::RESOURCE_TYPE_MTLS_MY_SQL
|
|
390
395
|
when V1::ResourceType::RESOURCE_TYPE_MTLS_POSTGRES
|
|
@@ -639,6 +644,10 @@ module SDM
|
|
|
639
644
|
value = V1::ResourceType::RESOURCE_TYPE_MCP
|
|
640
645
|
when SDM::ResourceType::RESOURCE_TYPE_MCPDCR, "RESOURCE_TYPE_MCPDCR"
|
|
641
646
|
value = V1::ResourceType::RESOURCE_TYPE_MCPDCR
|
|
647
|
+
when SDM::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH, "RESOURCE_TYPE_MCP_NO_AUTH"
|
|
648
|
+
value = V1::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH
|
|
649
|
+
when SDM::ResourceType::RESOURCE_TYPE_MCPPAT, "RESOURCE_TYPE_MCPPAT"
|
|
650
|
+
value = V1::ResourceType::RESOURCE_TYPE_MCPPAT
|
|
642
651
|
when SDM::ResourceType::RESOURCE_TYPE_MTLS_MY_SQL, "RESOURCE_TYPE_MTLS_MY_SQL"
|
|
643
652
|
value = V1::ResourceType::RESOURCE_TYPE_MTLS_MY_SQL
|
|
644
653
|
when SDM::ResourceType::RESOURCE_TYPE_MTLS_POSTGRES, "RESOURCE_TYPE_MTLS_POSTGRES"
|
|
@@ -2192,6 +2201,7 @@ module SDM
|
|
|
2192
2201
|
return nil
|
|
2193
2202
|
end
|
|
2194
2203
|
porcelain = AccountGrant.new()
|
|
2204
|
+
porcelain.access_request_id = (plumbing.access_request_id)
|
|
2195
2205
|
porcelain.access_rule = convert_access_rule_to_porcelain(plumbing.access_rule)
|
|
2196
2206
|
porcelain.account_id = (plumbing.account_id)
|
|
2197
2207
|
porcelain.id = (plumbing.id)
|
|
@@ -2206,6 +2216,7 @@ module SDM
|
|
|
2206
2216
|
return nil
|
|
2207
2217
|
end
|
|
2208
2218
|
plumbing = V1::AccountGrant.new()
|
|
2219
|
+
plumbing.access_request_id = (porcelain.access_request_id)
|
|
2209
2220
|
plumbing.access_rule = convert_access_rule_to_plumbing(porcelain.access_rule)
|
|
2210
2221
|
plumbing.account_id = (porcelain.account_id)
|
|
2211
2222
|
plumbing.id = (porcelain.id)
|
|
@@ -11210,6 +11221,116 @@ module SDM
|
|
|
11210
11221
|
end
|
|
11211
11222
|
items
|
|
11212
11223
|
end
|
|
11224
|
+
def self.convert_mcp_gateway_no_auth_to_porcelain(plumbing)
|
|
11225
|
+
if plumbing == nil
|
|
11226
|
+
return nil
|
|
11227
|
+
end
|
|
11228
|
+
porcelain = MCPGatewayNoAuth.new()
|
|
11229
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11230
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11231
|
+
porcelain.healthy = (plumbing.healthy)
|
|
11232
|
+
porcelain.hostname = (plumbing.hostname)
|
|
11233
|
+
porcelain.id = (plumbing.id)
|
|
11234
|
+
porcelain.name = (plumbing.name)
|
|
11235
|
+
porcelain.port_override = (plumbing.port_override)
|
|
11236
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11237
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11238
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
11239
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
11240
|
+
porcelain
|
|
11241
|
+
end
|
|
11242
|
+
|
|
11243
|
+
def self.convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
11244
|
+
if porcelain == nil
|
|
11245
|
+
return nil
|
|
11246
|
+
end
|
|
11247
|
+
plumbing = V1::MCPGatewayNoAuth.new()
|
|
11248
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11249
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11250
|
+
plumbing.healthy = (porcelain.healthy)
|
|
11251
|
+
plumbing.hostname = (porcelain.hostname)
|
|
11252
|
+
plumbing.id = (porcelain.id)
|
|
11253
|
+
plumbing.name = (porcelain.name)
|
|
11254
|
+
plumbing.port_override = (porcelain.port_override)
|
|
11255
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11256
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11257
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
11258
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11259
|
+
plumbing
|
|
11260
|
+
end
|
|
11261
|
+
def self.convert_repeated_mcp_gateway_no_auth_to_plumbing(porcelains)
|
|
11262
|
+
items = Array.new
|
|
11263
|
+
porcelains.each do |porcelain|
|
|
11264
|
+
plumbing = convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
11265
|
+
items.append(plumbing)
|
|
11266
|
+
end
|
|
11267
|
+
items
|
|
11268
|
+
end
|
|
11269
|
+
|
|
11270
|
+
def self.convert_repeated_mcp_gateway_no_auth_to_porcelain(plumbings)
|
|
11271
|
+
items = Array.new
|
|
11272
|
+
plumbings.each do |plumbing|
|
|
11273
|
+
porcelain = convert_mcp_gateway_no_auth_to_porcelain(plumbing)
|
|
11274
|
+
items.append(porcelain)
|
|
11275
|
+
end
|
|
11276
|
+
items
|
|
11277
|
+
end
|
|
11278
|
+
def self.convert_mcp_gateway_pat_to_porcelain(plumbing)
|
|
11279
|
+
if plumbing == nil
|
|
11280
|
+
return nil
|
|
11281
|
+
end
|
|
11282
|
+
porcelain = MCPGatewayPAT.new()
|
|
11283
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11284
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11285
|
+
porcelain.healthy = (plumbing.healthy)
|
|
11286
|
+
porcelain.hostname = (plumbing.hostname)
|
|
11287
|
+
porcelain.id = (plumbing.id)
|
|
11288
|
+
porcelain.name = (plumbing.name)
|
|
11289
|
+
porcelain.password = (plumbing.password)
|
|
11290
|
+
porcelain.port_override = (plumbing.port_override)
|
|
11291
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11292
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11293
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
11294
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
11295
|
+
porcelain
|
|
11296
|
+
end
|
|
11297
|
+
|
|
11298
|
+
def self.convert_mcp_gateway_pat_to_plumbing(porcelain)
|
|
11299
|
+
if porcelain == nil
|
|
11300
|
+
return nil
|
|
11301
|
+
end
|
|
11302
|
+
plumbing = V1::MCPGatewayPAT.new()
|
|
11303
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11304
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11305
|
+
plumbing.healthy = (porcelain.healthy)
|
|
11306
|
+
plumbing.hostname = (porcelain.hostname)
|
|
11307
|
+
plumbing.id = (porcelain.id)
|
|
11308
|
+
plumbing.name = (porcelain.name)
|
|
11309
|
+
plumbing.password = (porcelain.password)
|
|
11310
|
+
plumbing.port_override = (porcelain.port_override)
|
|
11311
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11312
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11313
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
11314
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11315
|
+
plumbing
|
|
11316
|
+
end
|
|
11317
|
+
def self.convert_repeated_mcp_gateway_pat_to_plumbing(porcelains)
|
|
11318
|
+
items = Array.new
|
|
11319
|
+
porcelains.each do |porcelain|
|
|
11320
|
+
plumbing = convert_mcp_gateway_pat_to_plumbing(porcelain)
|
|
11321
|
+
items.append(plumbing)
|
|
11322
|
+
end
|
|
11323
|
+
items
|
|
11324
|
+
end
|
|
11325
|
+
|
|
11326
|
+
def self.convert_repeated_mcp_gateway_pat_to_porcelain(plumbings)
|
|
11327
|
+
items = Array.new
|
|
11328
|
+
plumbings.each do |plumbing|
|
|
11329
|
+
porcelain = convert_mcp_gateway_pat_to_porcelain(plumbing)
|
|
11330
|
+
items.append(porcelain)
|
|
11331
|
+
end
|
|
11332
|
+
items
|
|
11333
|
+
end
|
|
11213
11334
|
def self.convert_mtls_mysql_to_porcelain(plumbing)
|
|
11214
11335
|
if plumbing == nil
|
|
11215
11336
|
return nil
|
|
@@ -16456,6 +16577,12 @@ module SDM
|
|
|
16456
16577
|
if porcelain.instance_of? MCP
|
|
16457
16578
|
plumbing.mcp = convert_mcp_to_plumbing(porcelain)
|
|
16458
16579
|
end
|
|
16580
|
+
if porcelain.instance_of? MCPGatewayNoAuth
|
|
16581
|
+
plumbing.mcp_gateway_no_auth = convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
16582
|
+
end
|
|
16583
|
+
if porcelain.instance_of? MCPGatewayPAT
|
|
16584
|
+
plumbing.mcp_gateway_pat = convert_mcp_gateway_pat_to_plumbing(porcelain)
|
|
16585
|
+
end
|
|
16459
16586
|
if porcelain.instance_of? MCPDCR
|
|
16460
16587
|
plumbing.mcpdcr = convert_mcpdcr_to_plumbing(porcelain)
|
|
16461
16588
|
end
|
|
@@ -16808,6 +16935,12 @@ module SDM
|
|
|
16808
16935
|
if plumbing.mcp != nil
|
|
16809
16936
|
return convert_mcp_to_porcelain(plumbing.mcp)
|
|
16810
16937
|
end
|
|
16938
|
+
if plumbing.mcp_gateway_no_auth != nil
|
|
16939
|
+
return convert_mcp_gateway_no_auth_to_porcelain(plumbing.mcp_gateway_no_auth)
|
|
16940
|
+
end
|
|
16941
|
+
if plumbing.mcp_gateway_pat != nil
|
|
16942
|
+
return convert_mcp_gateway_pat_to_porcelain(plumbing.mcp_gateway_pat)
|
|
16943
|
+
end
|
|
16811
16944
|
if plumbing.mcpdcr != nil
|
|
16812
16945
|
return convert_mcpdcr_to_porcelain(plumbing.mcpdcr)
|
|
16813
16946
|
end
|
|
@@ -95,6 +95,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
95
95
|
value :RESOURCE_TYPE_KUBERNETES_USER_IMPERSONATION, 812
|
|
96
96
|
value :RESOURCE_TYPE_MCP, 4700
|
|
97
97
|
value :RESOURCE_TYPE_MCPDCR, 4701
|
|
98
|
+
value :RESOURCE_TYPE_MCP_NO_AUTH, 4703
|
|
99
|
+
value :RESOURCE_TYPE_MCPPAT, 4702
|
|
98
100
|
value :RESOURCE_TYPE_MTLS_MY_SQL, 1106
|
|
99
101
|
value :RESOURCE_TYPE_MTLS_POSTGRES, 1306
|
|
100
102
|
value :RESOURCE_TYPE_MARIA, 1103
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -167,6 +167,10 @@ module SDM
|
|
|
167
167
|
|
|
168
168
|
MCPDCR = "RESOURCE_TYPE_MCPDCR"
|
|
169
169
|
|
|
170
|
+
MCP_NO_AUTH = "RESOURCE_TYPE_MCP_NO_AUTH"
|
|
171
|
+
|
|
172
|
+
MCPPAT = "RESOURCE_TYPE_MCPPAT"
|
|
173
|
+
|
|
170
174
|
MTLS_MY_SQL = "RESOURCE_TYPE_MTLS_MY_SQL"
|
|
171
175
|
|
|
172
176
|
MTLS_POSTGRES = "RESOURCE_TYPE_MTLS_POSTGRES"
|
|
@@ -1703,6 +1707,8 @@ module SDM
|
|
|
1703
1707
|
|
|
1704
1708
|
# AccountGrants connect a resource directly to an account, giving the account the permission to connect to that resource.
|
|
1705
1709
|
class AccountGrant
|
|
1710
|
+
# The access request ID that created this AccountGrant, if any.
|
|
1711
|
+
attr_accessor :access_request_id
|
|
1706
1712
|
# The access rule associated with this AccountGrant.
|
|
1707
1713
|
attr_accessor :access_rule
|
|
1708
1714
|
# The account ID of this AccountGrant.
|
|
@@ -1717,6 +1723,7 @@ module SDM
|
|
|
1717
1723
|
attr_accessor :valid_until
|
|
1718
1724
|
|
|
1719
1725
|
def initialize(
|
|
1726
|
+
access_request_id: nil,
|
|
1720
1727
|
access_rule: nil,
|
|
1721
1728
|
account_id: nil,
|
|
1722
1729
|
id: nil,
|
|
@@ -1724,6 +1731,7 @@ module SDM
|
|
|
1724
1731
|
start_from: nil,
|
|
1725
1732
|
valid_until: nil
|
|
1726
1733
|
)
|
|
1734
|
+
@access_request_id = access_request_id == nil ? "" : access_request_id
|
|
1727
1735
|
@access_rule = access_rule == nil ? SDM::_porcelain_zero_value_access_rule() : access_rule
|
|
1728
1736
|
@account_id = account_id == nil ? "" : account_id
|
|
1729
1737
|
@id = id == nil ? "" : id
|
|
@@ -6314,7 +6322,6 @@ module SDM
|
|
|
6314
6322
|
end
|
|
6315
6323
|
end
|
|
6316
6324
|
|
|
6317
|
-
# Databricks is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
6318
6325
|
class Databricks
|
|
6319
6326
|
# Databricks Personal Access Token (PAT)
|
|
6320
6327
|
attr_accessor :access_token
|
|
@@ -10480,6 +10487,130 @@ module SDM
|
|
|
10480
10487
|
end
|
|
10481
10488
|
end
|
|
10482
10489
|
|
|
10490
|
+
# MCPGatewayNoAuth is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
10491
|
+
class MCPGatewayNoAuth
|
|
10492
|
+
# 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 and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
|
|
10493
|
+
attr_accessor :bind_interface
|
|
10494
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
10495
|
+
attr_accessor :egress_filter
|
|
10496
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
10497
|
+
attr_accessor :healthy
|
|
10498
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10499
|
+
attr_accessor :hostname
|
|
10500
|
+
# Unique identifier of the Resource.
|
|
10501
|
+
attr_accessor :id
|
|
10502
|
+
# Unique human-readable name of the Resource.
|
|
10503
|
+
attr_accessor :name
|
|
10504
|
+
# The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
|
|
10505
|
+
attr_accessor :port_override
|
|
10506
|
+
# ID of the proxy cluster for this resource, if any.
|
|
10507
|
+
attr_accessor :proxy_cluster_id
|
|
10508
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
10509
|
+
attr_accessor :secret_store_id
|
|
10510
|
+
# DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
|
|
10511
|
+
attr_accessor :subdomain
|
|
10512
|
+
# Tags is a map of key, value pairs.
|
|
10513
|
+
attr_accessor :tags
|
|
10514
|
+
|
|
10515
|
+
def initialize(
|
|
10516
|
+
bind_interface: nil,
|
|
10517
|
+
egress_filter: nil,
|
|
10518
|
+
healthy: nil,
|
|
10519
|
+
hostname: nil,
|
|
10520
|
+
id: nil,
|
|
10521
|
+
name: nil,
|
|
10522
|
+
port_override: nil,
|
|
10523
|
+
proxy_cluster_id: nil,
|
|
10524
|
+
secret_store_id: nil,
|
|
10525
|
+
subdomain: nil,
|
|
10526
|
+
tags: nil
|
|
10527
|
+
)
|
|
10528
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10529
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10530
|
+
@healthy = healthy == nil ? false : healthy
|
|
10531
|
+
@hostname = hostname == nil ? "" : hostname
|
|
10532
|
+
@id = id == nil ? "" : id
|
|
10533
|
+
@name = name == nil ? "" : name
|
|
10534
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
10535
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10536
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10537
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
10538
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10539
|
+
end
|
|
10540
|
+
|
|
10541
|
+
def to_json(options = {})
|
|
10542
|
+
hash = {}
|
|
10543
|
+
self.instance_variables.each do |var|
|
|
10544
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
10545
|
+
end
|
|
10546
|
+
hash.to_json
|
|
10547
|
+
end
|
|
10548
|
+
end
|
|
10549
|
+
|
|
10550
|
+
# MCPGatewayPAT is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
10551
|
+
class MCPGatewayPAT
|
|
10552
|
+
# 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 and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
|
|
10553
|
+
attr_accessor :bind_interface
|
|
10554
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
10555
|
+
attr_accessor :egress_filter
|
|
10556
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
10557
|
+
attr_accessor :healthy
|
|
10558
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10559
|
+
attr_accessor :hostname
|
|
10560
|
+
# Unique identifier of the Resource.
|
|
10561
|
+
attr_accessor :id
|
|
10562
|
+
# Unique human-readable name of the Resource.
|
|
10563
|
+
attr_accessor :name
|
|
10564
|
+
# The password to authenticate with.
|
|
10565
|
+
attr_accessor :password
|
|
10566
|
+
# The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
|
|
10567
|
+
attr_accessor :port_override
|
|
10568
|
+
# ID of the proxy cluster for this resource, if any.
|
|
10569
|
+
attr_accessor :proxy_cluster_id
|
|
10570
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
10571
|
+
attr_accessor :secret_store_id
|
|
10572
|
+
# DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
|
|
10573
|
+
attr_accessor :subdomain
|
|
10574
|
+
# Tags is a map of key, value pairs.
|
|
10575
|
+
attr_accessor :tags
|
|
10576
|
+
|
|
10577
|
+
def initialize(
|
|
10578
|
+
bind_interface: nil,
|
|
10579
|
+
egress_filter: nil,
|
|
10580
|
+
healthy: nil,
|
|
10581
|
+
hostname: nil,
|
|
10582
|
+
id: nil,
|
|
10583
|
+
name: nil,
|
|
10584
|
+
password: nil,
|
|
10585
|
+
port_override: nil,
|
|
10586
|
+
proxy_cluster_id: nil,
|
|
10587
|
+
secret_store_id: nil,
|
|
10588
|
+
subdomain: nil,
|
|
10589
|
+
tags: nil
|
|
10590
|
+
)
|
|
10591
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10592
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10593
|
+
@healthy = healthy == nil ? false : healthy
|
|
10594
|
+
@hostname = hostname == nil ? "" : hostname
|
|
10595
|
+
@id = id == nil ? "" : id
|
|
10596
|
+
@name = name == nil ? "" : name
|
|
10597
|
+
@password = password == nil ? "" : password
|
|
10598
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
10599
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10600
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10601
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
10602
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10603
|
+
end
|
|
10604
|
+
|
|
10605
|
+
def to_json(options = {})
|
|
10606
|
+
hash = {}
|
|
10607
|
+
self.instance_variables.each do |var|
|
|
10608
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
10609
|
+
end
|
|
10610
|
+
hash.to_json
|
|
10611
|
+
end
|
|
10612
|
+
end
|
|
10613
|
+
|
|
10483
10614
|
class MTLSMysql
|
|
10484
10615
|
# 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 and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
|
|
10485
10616
|
attr_accessor :bind_interface
|
data/lib/strongdm.rb
CHANGED
|
@@ -31,7 +31,7 @@ module SDM #:nodoc:
|
|
|
31
31
|
DEFAULT_RETRY_FACTOR = 1.6
|
|
32
32
|
DEFAULT_RETRY_JITTER = 0.2
|
|
33
33
|
API_VERSION = "2025-04-14"
|
|
34
|
-
USER_AGENT = "strongdm-sdk-ruby/16.
|
|
34
|
+
USER_AGENT = "strongdm-sdk-ruby/16.17.0"
|
|
35
35
|
private_constant :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :DEFAULT_RETRY_FACTOR, :DEFAULT_RETRY_JITTER, :API_VERSION, :USER_AGENT
|
|
36
36
|
|
|
37
37
|
# 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: 16.
|
|
4
|
+
version: 16.17.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: 2026-
|
|
11
|
+
date: 2026-03-05 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-29a576bf5eeceeafb7a1deb5b467a4e7ab602057.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-29a576bf5eeceeafb7a1deb5b467a4e7ab602057.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|
|
@@ -135,6 +135,7 @@ files:
|
|
|
135
135
|
- "./lib/grpc/approval_workflows_pb.rb"
|
|
136
136
|
- "./lib/grpc/approval_workflows_services_pb.rb"
|
|
137
137
|
- "./lib/grpc/authorization_policies_pb.rb"
|
|
138
|
+
- "./lib/grpc/authorization_policies_services_pb.rb"
|
|
138
139
|
- "./lib/grpc/control_panel_pb.rb"
|
|
139
140
|
- "./lib/grpc/control_panel_services_pb.rb"
|
|
140
141
|
- "./lib/grpc/custom_headers_pb.rb"
|
|
@@ -165,6 +166,7 @@ files:
|
|
|
165
166
|
- "./lib/grpc/identity_sets_history_services_pb.rb"
|
|
166
167
|
- "./lib/grpc/identity_sets_pb.rb"
|
|
167
168
|
- "./lib/grpc/identity_sets_services_pb.rb"
|
|
169
|
+
- "./lib/grpc/location_enums_pb.rb"
|
|
168
170
|
- "./lib/grpc/managed_secrets_pb.rb"
|
|
169
171
|
- "./lib/grpc/managed_secrets_services_pb.rb"
|
|
170
172
|
- "./lib/grpc/nodes_history_pb.rb"
|