strongdm 16.14.0 → 16.16.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-64e3d69a86675ffa846a899dacd9ad7e468975c9.idx} +0 -0
- data/.git/objects/pack/{pack-02ae59c259b83a24c0fc9b94a7921489cd0c8abe.pack → pack-64e3d69a86675ffa846a899dacd9ad7e468975c9.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- 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 +132 -1
- data/lib/grpc/resourcetypes_pb.rb +2 -0
- data/lib/models/porcelain.rb +128 -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: 7edc1d14add1bba3bbdc3870ce63056fe32dbc229ad27e751e515c887405baf2
|
|
4
|
+
data.tar.gz: 1c8e580589a78b50f34f6e44ba38e3ce70ca87e0a0c2b711fdc512fdda6568f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1df6bb61dddb3e441920a71dea398bfe173403da503c77641febb0219d44e8018fcb8cd087f18c07ebc5b42d0d8ae76e299e75767a3a614271c07cd81fe2162
|
|
7
|
+
data.tar.gz: a1a2b91da9dff42b7d84880c501cae7f3bf250e19fbec16675614db0a12db30faf6d7c6d3da02e7be04465f053804a39d03d9493dd36a81cf1adefd4f17adc06
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0c150dec9c7f8e236df4f8a65dc373193b73991f
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 0c150dec9c7f8e236df4f8a65dc373193b73991f root <root@b879c5966a8e.(none)> 1772703138 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
0c150dec9c7f8e236df4f8a65dc373193b73991f 0c150dec9c7f8e236df4f8a65dc373193b73991f root <root@b879c5966a8e.(none)> 1772703138 +0000 checkout: moving from master to master
|
|
3
|
+
0c150dec9c7f8e236df4f8a65dc373193b73991f 3a90d7e58d3311757817bb558d755e7ee36528f3 root <root@b879c5966a8e.(none)> 1772703138 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 0c150dec9c7f8e236df4f8a65dc373193b73991f root <root@b879c5966a8e.(none)> 1772703138 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
0c150dec9c7f8e236df4f8a65dc373193b73991f 3a90d7e58d3311757817bb558d755e7ee36528f3 root <root@b879c5966a8e.(none)> 1772703138 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 0c150dec9c7f8e236df4f8a65dc373193b73991f root <root@b879c5966a8e.(none)> 1772703138 +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
|
+
3a90d7e58d3311757817bb558d755e7ee36528f3 refs/remotes/origin/development
|
|
3
|
+
0c150dec9c7f8e236df4f8a65dc373193b73991f 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,7 @@ 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
|
|
146
147
|
3f2a99e1a4296cf5b4937d57b901051b9381c209 refs/tags/v16.3.0
|
|
147
148
|
eb2c5388eb894fce71666148224e02d977c87baa refs/tags/v16.4.0
|
|
148
149
|
6450bdc10119fb8a00123c4262d6f245a70ed06a refs/tags/v16.5.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3a90d7e58d3311757817bb558d755e7ee36528f3
|
|
@@ -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"
|
|
@@ -11210,6 +11219,116 @@ module SDM
|
|
|
11210
11219
|
end
|
|
11211
11220
|
items
|
|
11212
11221
|
end
|
|
11222
|
+
def self.convert_mcp_gateway_no_auth_to_porcelain(plumbing)
|
|
11223
|
+
if plumbing == nil
|
|
11224
|
+
return nil
|
|
11225
|
+
end
|
|
11226
|
+
porcelain = MCPGatewayNoAuth.new()
|
|
11227
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11228
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11229
|
+
porcelain.healthy = (plumbing.healthy)
|
|
11230
|
+
porcelain.hostname = (plumbing.hostname)
|
|
11231
|
+
porcelain.id = (plumbing.id)
|
|
11232
|
+
porcelain.name = (plumbing.name)
|
|
11233
|
+
porcelain.port_override = (plumbing.port_override)
|
|
11234
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11235
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11236
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
11237
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
11238
|
+
porcelain
|
|
11239
|
+
end
|
|
11240
|
+
|
|
11241
|
+
def self.convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
11242
|
+
if porcelain == nil
|
|
11243
|
+
return nil
|
|
11244
|
+
end
|
|
11245
|
+
plumbing = V1::MCPGatewayNoAuth.new()
|
|
11246
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11247
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11248
|
+
plumbing.healthy = (porcelain.healthy)
|
|
11249
|
+
plumbing.hostname = (porcelain.hostname)
|
|
11250
|
+
plumbing.id = (porcelain.id)
|
|
11251
|
+
plumbing.name = (porcelain.name)
|
|
11252
|
+
plumbing.port_override = (porcelain.port_override)
|
|
11253
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11254
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11255
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
11256
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11257
|
+
plumbing
|
|
11258
|
+
end
|
|
11259
|
+
def self.convert_repeated_mcp_gateway_no_auth_to_plumbing(porcelains)
|
|
11260
|
+
items = Array.new
|
|
11261
|
+
porcelains.each do |porcelain|
|
|
11262
|
+
plumbing = convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
11263
|
+
items.append(plumbing)
|
|
11264
|
+
end
|
|
11265
|
+
items
|
|
11266
|
+
end
|
|
11267
|
+
|
|
11268
|
+
def self.convert_repeated_mcp_gateway_no_auth_to_porcelain(plumbings)
|
|
11269
|
+
items = Array.new
|
|
11270
|
+
plumbings.each do |plumbing|
|
|
11271
|
+
porcelain = convert_mcp_gateway_no_auth_to_porcelain(plumbing)
|
|
11272
|
+
items.append(porcelain)
|
|
11273
|
+
end
|
|
11274
|
+
items
|
|
11275
|
+
end
|
|
11276
|
+
def self.convert_mcp_gateway_pat_to_porcelain(plumbing)
|
|
11277
|
+
if plumbing == nil
|
|
11278
|
+
return nil
|
|
11279
|
+
end
|
|
11280
|
+
porcelain = MCPGatewayPAT.new()
|
|
11281
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11282
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11283
|
+
porcelain.healthy = (plumbing.healthy)
|
|
11284
|
+
porcelain.hostname = (plumbing.hostname)
|
|
11285
|
+
porcelain.id = (plumbing.id)
|
|
11286
|
+
porcelain.name = (plumbing.name)
|
|
11287
|
+
porcelain.password = (plumbing.password)
|
|
11288
|
+
porcelain.port_override = (plumbing.port_override)
|
|
11289
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11290
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11291
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
11292
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
11293
|
+
porcelain
|
|
11294
|
+
end
|
|
11295
|
+
|
|
11296
|
+
def self.convert_mcp_gateway_pat_to_plumbing(porcelain)
|
|
11297
|
+
if porcelain == nil
|
|
11298
|
+
return nil
|
|
11299
|
+
end
|
|
11300
|
+
plumbing = V1::MCPGatewayPAT.new()
|
|
11301
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11302
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11303
|
+
plumbing.healthy = (porcelain.healthy)
|
|
11304
|
+
plumbing.hostname = (porcelain.hostname)
|
|
11305
|
+
plumbing.id = (porcelain.id)
|
|
11306
|
+
plumbing.name = (porcelain.name)
|
|
11307
|
+
plumbing.password = (porcelain.password)
|
|
11308
|
+
plumbing.port_override = (porcelain.port_override)
|
|
11309
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11310
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11311
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
11312
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11313
|
+
plumbing
|
|
11314
|
+
end
|
|
11315
|
+
def self.convert_repeated_mcp_gateway_pat_to_plumbing(porcelains)
|
|
11316
|
+
items = Array.new
|
|
11317
|
+
porcelains.each do |porcelain|
|
|
11318
|
+
plumbing = convert_mcp_gateway_pat_to_plumbing(porcelain)
|
|
11319
|
+
items.append(plumbing)
|
|
11320
|
+
end
|
|
11321
|
+
items
|
|
11322
|
+
end
|
|
11323
|
+
|
|
11324
|
+
def self.convert_repeated_mcp_gateway_pat_to_porcelain(plumbings)
|
|
11325
|
+
items = Array.new
|
|
11326
|
+
plumbings.each do |plumbing|
|
|
11327
|
+
porcelain = convert_mcp_gateway_pat_to_porcelain(plumbing)
|
|
11328
|
+
items.append(porcelain)
|
|
11329
|
+
end
|
|
11330
|
+
items
|
|
11331
|
+
end
|
|
11213
11332
|
def self.convert_mtls_mysql_to_porcelain(plumbing)
|
|
11214
11333
|
if plumbing == nil
|
|
11215
11334
|
return nil
|
|
@@ -16456,6 +16575,12 @@ module SDM
|
|
|
16456
16575
|
if porcelain.instance_of? MCP
|
|
16457
16576
|
plumbing.mcp = convert_mcp_to_plumbing(porcelain)
|
|
16458
16577
|
end
|
|
16578
|
+
if porcelain.instance_of? MCPGatewayNoAuth
|
|
16579
|
+
plumbing.mcp_gateway_no_auth = convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
16580
|
+
end
|
|
16581
|
+
if porcelain.instance_of? MCPGatewayPAT
|
|
16582
|
+
plumbing.mcp_gateway_pat = convert_mcp_gateway_pat_to_plumbing(porcelain)
|
|
16583
|
+
end
|
|
16459
16584
|
if porcelain.instance_of? MCPDCR
|
|
16460
16585
|
plumbing.mcpdcr = convert_mcpdcr_to_plumbing(porcelain)
|
|
16461
16586
|
end
|
|
@@ -16808,6 +16933,12 @@ module SDM
|
|
|
16808
16933
|
if plumbing.mcp != nil
|
|
16809
16934
|
return convert_mcp_to_porcelain(plumbing.mcp)
|
|
16810
16935
|
end
|
|
16936
|
+
if plumbing.mcp_gateway_no_auth != nil
|
|
16937
|
+
return convert_mcp_gateway_no_auth_to_porcelain(plumbing.mcp_gateway_no_auth)
|
|
16938
|
+
end
|
|
16939
|
+
if plumbing.mcp_gateway_pat != nil
|
|
16940
|
+
return convert_mcp_gateway_pat_to_porcelain(plumbing.mcp_gateway_pat)
|
|
16941
|
+
end
|
|
16811
16942
|
if plumbing.mcpdcr != nil
|
|
16812
16943
|
return convert_mcpdcr_to_porcelain(plumbing.mcpdcr)
|
|
16813
16944
|
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"
|
|
@@ -6314,7 +6318,6 @@ module SDM
|
|
|
6314
6318
|
end
|
|
6315
6319
|
end
|
|
6316
6320
|
|
|
6317
|
-
# Databricks is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
6318
6321
|
class Databricks
|
|
6319
6322
|
# Databricks Personal Access Token (PAT)
|
|
6320
6323
|
attr_accessor :access_token
|
|
@@ -10480,6 +10483,130 @@ module SDM
|
|
|
10480
10483
|
end
|
|
10481
10484
|
end
|
|
10482
10485
|
|
|
10486
|
+
# MCPGatewayNoAuth is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
10487
|
+
class MCPGatewayNoAuth
|
|
10488
|
+
# 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.
|
|
10489
|
+
attr_accessor :bind_interface
|
|
10490
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
10491
|
+
attr_accessor :egress_filter
|
|
10492
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
10493
|
+
attr_accessor :healthy
|
|
10494
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10495
|
+
attr_accessor :hostname
|
|
10496
|
+
# Unique identifier of the Resource.
|
|
10497
|
+
attr_accessor :id
|
|
10498
|
+
# Unique human-readable name of the Resource.
|
|
10499
|
+
attr_accessor :name
|
|
10500
|
+
# 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.
|
|
10501
|
+
attr_accessor :port_override
|
|
10502
|
+
# ID of the proxy cluster for this resource, if any.
|
|
10503
|
+
attr_accessor :proxy_cluster_id
|
|
10504
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
10505
|
+
attr_accessor :secret_store_id
|
|
10506
|
+
# 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.
|
|
10507
|
+
attr_accessor :subdomain
|
|
10508
|
+
# Tags is a map of key, value pairs.
|
|
10509
|
+
attr_accessor :tags
|
|
10510
|
+
|
|
10511
|
+
def initialize(
|
|
10512
|
+
bind_interface: nil,
|
|
10513
|
+
egress_filter: nil,
|
|
10514
|
+
healthy: nil,
|
|
10515
|
+
hostname: nil,
|
|
10516
|
+
id: nil,
|
|
10517
|
+
name: nil,
|
|
10518
|
+
port_override: nil,
|
|
10519
|
+
proxy_cluster_id: nil,
|
|
10520
|
+
secret_store_id: nil,
|
|
10521
|
+
subdomain: nil,
|
|
10522
|
+
tags: nil
|
|
10523
|
+
)
|
|
10524
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10525
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10526
|
+
@healthy = healthy == nil ? false : healthy
|
|
10527
|
+
@hostname = hostname == nil ? "" : hostname
|
|
10528
|
+
@id = id == nil ? "" : id
|
|
10529
|
+
@name = name == nil ? "" : name
|
|
10530
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
10531
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10532
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10533
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
10534
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10535
|
+
end
|
|
10536
|
+
|
|
10537
|
+
def to_json(options = {})
|
|
10538
|
+
hash = {}
|
|
10539
|
+
self.instance_variables.each do |var|
|
|
10540
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
10541
|
+
end
|
|
10542
|
+
hash.to_json
|
|
10543
|
+
end
|
|
10544
|
+
end
|
|
10545
|
+
|
|
10546
|
+
# MCPGatewayPAT is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
10547
|
+
class MCPGatewayPAT
|
|
10548
|
+
# 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.
|
|
10549
|
+
attr_accessor :bind_interface
|
|
10550
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
10551
|
+
attr_accessor :egress_filter
|
|
10552
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
10553
|
+
attr_accessor :healthy
|
|
10554
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10555
|
+
attr_accessor :hostname
|
|
10556
|
+
# Unique identifier of the Resource.
|
|
10557
|
+
attr_accessor :id
|
|
10558
|
+
# Unique human-readable name of the Resource.
|
|
10559
|
+
attr_accessor :name
|
|
10560
|
+
# The password to authenticate with.
|
|
10561
|
+
attr_accessor :password
|
|
10562
|
+
# 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.
|
|
10563
|
+
attr_accessor :port_override
|
|
10564
|
+
# ID of the proxy cluster for this resource, if any.
|
|
10565
|
+
attr_accessor :proxy_cluster_id
|
|
10566
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
10567
|
+
attr_accessor :secret_store_id
|
|
10568
|
+
# 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.
|
|
10569
|
+
attr_accessor :subdomain
|
|
10570
|
+
# Tags is a map of key, value pairs.
|
|
10571
|
+
attr_accessor :tags
|
|
10572
|
+
|
|
10573
|
+
def initialize(
|
|
10574
|
+
bind_interface: nil,
|
|
10575
|
+
egress_filter: nil,
|
|
10576
|
+
healthy: nil,
|
|
10577
|
+
hostname: nil,
|
|
10578
|
+
id: nil,
|
|
10579
|
+
name: nil,
|
|
10580
|
+
password: nil,
|
|
10581
|
+
port_override: nil,
|
|
10582
|
+
proxy_cluster_id: nil,
|
|
10583
|
+
secret_store_id: nil,
|
|
10584
|
+
subdomain: nil,
|
|
10585
|
+
tags: nil
|
|
10586
|
+
)
|
|
10587
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10588
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10589
|
+
@healthy = healthy == nil ? false : healthy
|
|
10590
|
+
@hostname = hostname == nil ? "" : hostname
|
|
10591
|
+
@id = id == nil ? "" : id
|
|
10592
|
+
@name = name == nil ? "" : name
|
|
10593
|
+
@password = password == nil ? "" : password
|
|
10594
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
10595
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10596
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10597
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
10598
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10599
|
+
end
|
|
10600
|
+
|
|
10601
|
+
def to_json(options = {})
|
|
10602
|
+
hash = {}
|
|
10603
|
+
self.instance_variables.each do |var|
|
|
10604
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
10605
|
+
end
|
|
10606
|
+
hash.to_json
|
|
10607
|
+
end
|
|
10608
|
+
end
|
|
10609
|
+
|
|
10483
10610
|
class MTLSMysql
|
|
10484
10611
|
# 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
10612
|
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.16.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.16.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-64e3d69a86675ffa846a899dacd9ad7e468975c9.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-64e3d69a86675ffa846a899dacd9ad7e468975c9.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"
|