kb-cloud-client-typescript 2.4.0-alpha.94 → 2.4.0-alpha.96
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.
- package/dist/adminapi/apis/account-api.d.ts +1129 -38
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +1283 -149
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/mongodb-api.d.ts +943 -4
- package/dist/adminapi/apis/mongodb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/mongodb-api.js +1005 -0
- package/dist/adminapi/apis/mongodb-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +186 -34
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +166 -37
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +1196 -105
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1273 -139
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +11 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +11 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/mongo-rbacbinding-change.d.ts +32 -0
- package/dist/adminapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacbinding-change.js +16 -0
- package/dist/adminapi/models/mongo-rbacbinding-change.js.map +1 -0
- package/dist/adminapi/models/mongo-rbaccapabilities.d.ts +32 -0
- package/dist/adminapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbaccapabilities.js +16 -0
- package/dist/adminapi/models/mongo-rbaccapabilities.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacpassword-change.d.ts +25 -0
- package/dist/adminapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacpassword-change.js +16 -0
- package/dist/adminapi/models/mongo-rbacpassword-change.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacprivilege.d.ts +32 -0
- package/dist/adminapi/models/mongo-rbacprivilege.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacprivilege.js +16 -0
- package/dist/adminapi/models/mongo-rbacprivilege.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacresource-capability.d.ts +31 -0
- package/dist/adminapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacresource-capability.js +16 -0
- package/dist/adminapi/models/mongo-rbacresource-capability.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacresource.d.ts +43 -0
- package/dist/adminapi/models/mongo-rbacresource.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacresource.js +16 -0
- package/dist/adminapi/models/mongo-rbacresource.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole-ref.d.ts +31 -0
- package/dist/adminapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole-ref.js +16 -0
- package/dist/adminapi/models/mongo-rbacrole-ref.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole-write.d.ts +51 -0
- package/dist/adminapi/models/mongo-rbacrole-write.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole-write.js +16 -0
- package/dist/adminapi/models/mongo-rbacrole-write.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole.d.ts +69 -0
- package/dist/adminapi/models/mongo-rbacrole.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole.js +16 -0
- package/dist/adminapi/models/mongo-rbacrole.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacuser-create.d.ts +44 -0
- package/dist/adminapi/models/mongo-rbacuser-create.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacuser-create.js +16 -0
- package/dist/adminapi/models/mongo-rbacuser-create.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacuser.d.ts +57 -0
- package/dist/adminapi/models/mongo-rbacuser.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacuser.js +16 -0
- package/dist/adminapi/models/mongo-rbacuser.js.map +1 -0
- package/dist/adminapi/models/object-privilege-evidence.d.ts +6 -0
- package/dist/adminapi/models/object-privilege-evidence.d.ts.map +1 -1
- package/dist/adminapi/models/object-privilege-reset-step.d.ts +1 -1
- package/dist/openapi/apis/account-api.d.ts +1129 -38
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +1283 -149
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/mongodb-api.d.ts +943 -4
- package/dist/openapi/apis/mongodb-api.d.ts.map +1 -1
- package/dist/openapi/apis/mongodb-api.js +1005 -0
- package/dist/openapi/apis/mongodb-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +186 -34
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +166 -37
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +1196 -105
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1273 -139
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +11 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +11 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/mongo-rbacbinding-change.d.ts +32 -0
- package/dist/openapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacbinding-change.js +16 -0
- package/dist/openapi/models/mongo-rbacbinding-change.js.map +1 -0
- package/dist/openapi/models/mongo-rbaccapabilities.d.ts +32 -0
- package/dist/openapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbaccapabilities.js +16 -0
- package/dist/openapi/models/mongo-rbaccapabilities.js.map +1 -0
- package/dist/openapi/models/mongo-rbacpassword-change.d.ts +25 -0
- package/dist/openapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacpassword-change.js +16 -0
- package/dist/openapi/models/mongo-rbacpassword-change.js.map +1 -0
- package/dist/openapi/models/mongo-rbacprivilege.d.ts +32 -0
- package/dist/openapi/models/mongo-rbacprivilege.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacprivilege.js +16 -0
- package/dist/openapi/models/mongo-rbacprivilege.js.map +1 -0
- package/dist/openapi/models/mongo-rbacresource-capability.d.ts +31 -0
- package/dist/openapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacresource-capability.js +16 -0
- package/dist/openapi/models/mongo-rbacresource-capability.js.map +1 -0
- package/dist/openapi/models/mongo-rbacresource.d.ts +43 -0
- package/dist/openapi/models/mongo-rbacresource.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacresource.js +16 -0
- package/dist/openapi/models/mongo-rbacresource.js.map +1 -0
- package/dist/openapi/models/mongo-rbacrole-ref.d.ts +31 -0
- package/dist/openapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacrole-ref.js +16 -0
- package/dist/openapi/models/mongo-rbacrole-ref.js.map +1 -0
- package/dist/openapi/models/mongo-rbacrole-write.d.ts +51 -0
- package/dist/openapi/models/mongo-rbacrole-write.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacrole-write.js +16 -0
- package/dist/openapi/models/mongo-rbacrole-write.js.map +1 -0
- package/dist/openapi/models/mongo-rbacrole.d.ts +69 -0
- package/dist/openapi/models/mongo-rbacrole.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacrole.js +16 -0
- package/dist/openapi/models/mongo-rbacrole.js.map +1 -0
- package/dist/openapi/models/mongo-rbacuser-create.d.ts +44 -0
- package/dist/openapi/models/mongo-rbacuser-create.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacuser-create.js +16 -0
- package/dist/openapi/models/mongo-rbacuser-create.js.map +1 -0
- package/dist/openapi/models/mongo-rbacuser.d.ts +57 -0
- package/dist/openapi/models/mongo-rbacuser.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacuser.js +16 -0
- package/dist/openapi/models/mongo-rbacuser.js.map +1 -0
- package/dist/openapi/models/object-privilege-evidence.d.ts +6 -0
- package/dist/openapi/models/object-privilege-evidence.d.ts.map +1 -1
- package/dist/openapi/models/object-privilege-reset-step.d.ts +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +11 -0
- package/src/adminapi/apis/account-api.ts +3961 -2069
- package/src/adminapi/apis/mongodb-api.ts +1757 -120
- package/src/adminapi/apis/rdbms-api.ts +298 -43
- package/src/adminapi/apis/shared-api.ts +2363 -471
- package/src/adminapi/models/index.ts +11 -0
- package/src/adminapi/models/mongo-rbacbinding-change.ts +39 -0
- package/src/adminapi/models/mongo-rbaccapabilities.ts +39 -0
- package/src/adminapi/models/mongo-rbacpassword-change.ts +30 -0
- package/src/adminapi/models/mongo-rbacprivilege.ts +39 -0
- package/src/adminapi/models/mongo-rbacresource-capability.ts +36 -0
- package/src/adminapi/models/mongo-rbacresource.ts +48 -0
- package/src/adminapi/models/mongo-rbacrole-ref.ts +36 -0
- package/src/adminapi/models/mongo-rbacrole-write.ts +60 -0
- package/src/adminapi/models/mongo-rbacrole.ts +78 -0
- package/src/adminapi/models/mongo-rbacuser-create.ts +51 -0
- package/src/adminapi/models/mongo-rbacuser.ts +66 -0
- package/src/adminapi/models/object-privilege-evidence.ts +6 -0
- package/src/adminapi/models/object-privilege-reset-step.ts +1 -1
- package/src/adminapi.yaml +958 -134
- package/src/openapi/.openapi-generator/FILES +11 -0
- package/src/openapi/apis/account-api.ts +3961 -2069
- package/src/openapi/apis/mongodb-api.ts +1757 -120
- package/src/openapi/apis/rdbms-api.ts +298 -43
- package/src/openapi/apis/shared-api.ts +2168 -276
- package/src/openapi/models/index.ts +11 -0
- package/src/openapi/models/mongo-rbacbinding-change.ts +39 -0
- package/src/openapi/models/mongo-rbaccapabilities.ts +39 -0
- package/src/openapi/models/mongo-rbacpassword-change.ts +30 -0
- package/src/openapi/models/mongo-rbacprivilege.ts +39 -0
- package/src/openapi/models/mongo-rbacresource-capability.ts +36 -0
- package/src/openapi/models/mongo-rbacresource.ts +48 -0
- package/src/openapi/models/mongo-rbacrole-ref.ts +36 -0
- package/src/openapi/models/mongo-rbacrole-write.ts +60 -0
- package/src/openapi/models/mongo-rbacrole.ts +78 -0
- package/src/openapi/models/mongo-rbacuser-create.ts +51 -0
- package/src/openapi/models/mongo-rbacuser.ts +66 -0
- package/src/openapi/models/object-privilege-evidence.ts +6 -0
- package/src/openapi/models/object-privilege-reset-step.ts +1 -1
- package/src/openapi.yaml +958 -134
package/src/adminapi.yaml
CHANGED
|
@@ -76,6 +76,548 @@ tags:
|
|
|
76
76
|
- name: disasterRecovery
|
|
77
77
|
description: Cluster Disaster Recovery APIs
|
|
78
78
|
paths:
|
|
79
|
+
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users/{database}/{username}/password:
|
|
80
|
+
put:
|
|
81
|
+
summary: ChangeRBACUserPassword
|
|
82
|
+
operationId: mongoChangeRBACUserPassword
|
|
83
|
+
tags:
|
|
84
|
+
- mongodb
|
|
85
|
+
- account
|
|
86
|
+
- shared
|
|
87
|
+
parameters:
|
|
88
|
+
- name: orgName
|
|
89
|
+
in: path
|
|
90
|
+
required: true
|
|
91
|
+
schema:
|
|
92
|
+
type: string
|
|
93
|
+
- name: clusterName
|
|
94
|
+
in: path
|
|
95
|
+
required: true
|
|
96
|
+
schema:
|
|
97
|
+
type: string
|
|
98
|
+
- name: database
|
|
99
|
+
in: path
|
|
100
|
+
required: true
|
|
101
|
+
schema:
|
|
102
|
+
type: string
|
|
103
|
+
- name: username
|
|
104
|
+
in: path
|
|
105
|
+
required: true
|
|
106
|
+
schema:
|
|
107
|
+
type: string
|
|
108
|
+
responses:
|
|
109
|
+
'204':
|
|
110
|
+
description: Success
|
|
111
|
+
'400':
|
|
112
|
+
$ref: '#/components/responses/400'
|
|
113
|
+
'401':
|
|
114
|
+
$ref: '#/components/responses/401'
|
|
115
|
+
'403':
|
|
116
|
+
$ref: '#/components/responses/403'
|
|
117
|
+
'404':
|
|
118
|
+
$ref: '#/components/responses/404'
|
|
119
|
+
'409':
|
|
120
|
+
description: Conflict; refresh or remove role bindings first
|
|
121
|
+
'500':
|
|
122
|
+
$ref: '#/components/responses/500'
|
|
123
|
+
requestBody:
|
|
124
|
+
required: true
|
|
125
|
+
content:
|
|
126
|
+
application/json:
|
|
127
|
+
schema:
|
|
128
|
+
$ref: '#/components/schemas/MongoRBACPasswordChange'
|
|
129
|
+
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users:
|
|
130
|
+
get:
|
|
131
|
+
summary: ListRBACUsers
|
|
132
|
+
operationId: mongoListRBACUsers
|
|
133
|
+
tags:
|
|
134
|
+
- mongodb
|
|
135
|
+
- account
|
|
136
|
+
- shared
|
|
137
|
+
parameters:
|
|
138
|
+
- name: orgName
|
|
139
|
+
in: path
|
|
140
|
+
required: true
|
|
141
|
+
schema:
|
|
142
|
+
type: string
|
|
143
|
+
- name: clusterName
|
|
144
|
+
in: path
|
|
145
|
+
required: true
|
|
146
|
+
schema:
|
|
147
|
+
type: string
|
|
148
|
+
- name: database
|
|
149
|
+
in: query
|
|
150
|
+
schema:
|
|
151
|
+
type: string
|
|
152
|
+
default: admin
|
|
153
|
+
responses:
|
|
154
|
+
'200':
|
|
155
|
+
description: Success
|
|
156
|
+
content:
|
|
157
|
+
application/json:
|
|
158
|
+
schema:
|
|
159
|
+
type: array
|
|
160
|
+
items:
|
|
161
|
+
$ref: '#/components/schemas/MongoRBACUser'
|
|
162
|
+
'400':
|
|
163
|
+
$ref: '#/components/responses/400'
|
|
164
|
+
'401':
|
|
165
|
+
$ref: '#/components/responses/401'
|
|
166
|
+
'403':
|
|
167
|
+
$ref: '#/components/responses/403'
|
|
168
|
+
'404':
|
|
169
|
+
$ref: '#/components/responses/404'
|
|
170
|
+
'409':
|
|
171
|
+
description: Conflict; refresh or remove role bindings first
|
|
172
|
+
'500':
|
|
173
|
+
$ref: '#/components/responses/500'
|
|
174
|
+
post:
|
|
175
|
+
summary: CreateRBACUser
|
|
176
|
+
operationId: mongoCreateRBACUser
|
|
177
|
+
tags:
|
|
178
|
+
- mongodb
|
|
179
|
+
- account
|
|
180
|
+
- shared
|
|
181
|
+
parameters:
|
|
182
|
+
- name: orgName
|
|
183
|
+
in: path
|
|
184
|
+
required: true
|
|
185
|
+
schema:
|
|
186
|
+
type: string
|
|
187
|
+
- name: clusterName
|
|
188
|
+
in: path
|
|
189
|
+
required: true
|
|
190
|
+
schema:
|
|
191
|
+
type: string
|
|
192
|
+
responses:
|
|
193
|
+
'204':
|
|
194
|
+
description: Success
|
|
195
|
+
'400':
|
|
196
|
+
$ref: '#/components/responses/400'
|
|
197
|
+
'401':
|
|
198
|
+
$ref: '#/components/responses/401'
|
|
199
|
+
'403':
|
|
200
|
+
$ref: '#/components/responses/403'
|
|
201
|
+
'404':
|
|
202
|
+
$ref: '#/components/responses/404'
|
|
203
|
+
'409':
|
|
204
|
+
description: Conflict; refresh or remove role bindings first
|
|
205
|
+
'500':
|
|
206
|
+
$ref: '#/components/responses/500'
|
|
207
|
+
requestBody:
|
|
208
|
+
required: true
|
|
209
|
+
content:
|
|
210
|
+
application/json:
|
|
211
|
+
schema:
|
|
212
|
+
$ref: '#/components/schemas/MongoRBACUserCreate'
|
|
213
|
+
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/capabilities:
|
|
214
|
+
get:
|
|
215
|
+
summary: GetRBACCapabilities
|
|
216
|
+
operationId: mongoGetRBACCapabilities
|
|
217
|
+
tags:
|
|
218
|
+
- mongodb
|
|
219
|
+
- account
|
|
220
|
+
- shared
|
|
221
|
+
parameters:
|
|
222
|
+
- name: orgName
|
|
223
|
+
in: path
|
|
224
|
+
required: true
|
|
225
|
+
schema:
|
|
226
|
+
type: string
|
|
227
|
+
- name: clusterName
|
|
228
|
+
in: path
|
|
229
|
+
required: true
|
|
230
|
+
schema:
|
|
231
|
+
type: string
|
|
232
|
+
responses:
|
|
233
|
+
'200':
|
|
234
|
+
description: Success
|
|
235
|
+
content:
|
|
236
|
+
application/json:
|
|
237
|
+
schema:
|
|
238
|
+
$ref: '#/components/schemas/MongoRBACCapabilities'
|
|
239
|
+
'400':
|
|
240
|
+
$ref: '#/components/responses/400'
|
|
241
|
+
'401':
|
|
242
|
+
$ref: '#/components/responses/401'
|
|
243
|
+
'403':
|
|
244
|
+
$ref: '#/components/responses/403'
|
|
245
|
+
'404':
|
|
246
|
+
$ref: '#/components/responses/404'
|
|
247
|
+
'409':
|
|
248
|
+
description: Conflict; refresh or remove role bindings first
|
|
249
|
+
'500':
|
|
250
|
+
$ref: '#/components/responses/500'
|
|
251
|
+
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/roles:
|
|
252
|
+
get:
|
|
253
|
+
summary: ListRBACRoles
|
|
254
|
+
operationId: mongoListRBACRoles
|
|
255
|
+
tags:
|
|
256
|
+
- mongodb
|
|
257
|
+
- account
|
|
258
|
+
- shared
|
|
259
|
+
parameters:
|
|
260
|
+
- name: orgName
|
|
261
|
+
in: path
|
|
262
|
+
required: true
|
|
263
|
+
schema:
|
|
264
|
+
type: string
|
|
265
|
+
- name: clusterName
|
|
266
|
+
in: path
|
|
267
|
+
required: true
|
|
268
|
+
schema:
|
|
269
|
+
type: string
|
|
270
|
+
- name: database
|
|
271
|
+
in: query
|
|
272
|
+
schema:
|
|
273
|
+
type: string
|
|
274
|
+
default: admin
|
|
275
|
+
responses:
|
|
276
|
+
'200':
|
|
277
|
+
description: Success
|
|
278
|
+
content:
|
|
279
|
+
application/json:
|
|
280
|
+
schema:
|
|
281
|
+
type: array
|
|
282
|
+
items:
|
|
283
|
+
$ref: '#/components/schemas/MongoRBACRole'
|
|
284
|
+
'400':
|
|
285
|
+
$ref: '#/components/responses/400'
|
|
286
|
+
'401':
|
|
287
|
+
$ref: '#/components/responses/401'
|
|
288
|
+
'403':
|
|
289
|
+
$ref: '#/components/responses/403'
|
|
290
|
+
'404':
|
|
291
|
+
$ref: '#/components/responses/404'
|
|
292
|
+
'409':
|
|
293
|
+
description: Conflict; refresh or remove role bindings first
|
|
294
|
+
'500':
|
|
295
|
+
$ref: '#/components/responses/500'
|
|
296
|
+
post:
|
|
297
|
+
summary: CreateRBACRole
|
|
298
|
+
operationId: mongoCreateRBACRole
|
|
299
|
+
tags:
|
|
300
|
+
- mongodb
|
|
301
|
+
- account
|
|
302
|
+
- shared
|
|
303
|
+
parameters:
|
|
304
|
+
- name: orgName
|
|
305
|
+
in: path
|
|
306
|
+
required: true
|
|
307
|
+
schema:
|
|
308
|
+
type: string
|
|
309
|
+
- name: clusterName
|
|
310
|
+
in: path
|
|
311
|
+
required: true
|
|
312
|
+
schema:
|
|
313
|
+
type: string
|
|
314
|
+
responses:
|
|
315
|
+
'204':
|
|
316
|
+
description: Success
|
|
317
|
+
'400':
|
|
318
|
+
$ref: '#/components/responses/400'
|
|
319
|
+
'401':
|
|
320
|
+
$ref: '#/components/responses/401'
|
|
321
|
+
'403':
|
|
322
|
+
$ref: '#/components/responses/403'
|
|
323
|
+
'404':
|
|
324
|
+
$ref: '#/components/responses/404'
|
|
325
|
+
'409':
|
|
326
|
+
description: Conflict; refresh or remove role bindings first
|
|
327
|
+
'500':
|
|
328
|
+
$ref: '#/components/responses/500'
|
|
329
|
+
requestBody:
|
|
330
|
+
required: true
|
|
331
|
+
content:
|
|
332
|
+
application/json:
|
|
333
|
+
schema:
|
|
334
|
+
$ref: '#/components/schemas/MongoRBACRoleWrite'
|
|
335
|
+
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/roles/{database}/{roleName}:
|
|
336
|
+
get:
|
|
337
|
+
summary: GetRBACRole
|
|
338
|
+
operationId: mongoGetRBACRole
|
|
339
|
+
tags:
|
|
340
|
+
- mongodb
|
|
341
|
+
- account
|
|
342
|
+
- shared
|
|
343
|
+
parameters:
|
|
344
|
+
- name: orgName
|
|
345
|
+
in: path
|
|
346
|
+
required: true
|
|
347
|
+
schema:
|
|
348
|
+
type: string
|
|
349
|
+
- name: clusterName
|
|
350
|
+
in: path
|
|
351
|
+
required: true
|
|
352
|
+
schema:
|
|
353
|
+
type: string
|
|
354
|
+
- name: database
|
|
355
|
+
in: path
|
|
356
|
+
required: true
|
|
357
|
+
schema:
|
|
358
|
+
type: string
|
|
359
|
+
- name: roleName
|
|
360
|
+
in: path
|
|
361
|
+
required: true
|
|
362
|
+
schema:
|
|
363
|
+
type: string
|
|
364
|
+
responses:
|
|
365
|
+
'200':
|
|
366
|
+
description: Success
|
|
367
|
+
content:
|
|
368
|
+
application/json:
|
|
369
|
+
schema:
|
|
370
|
+
$ref: '#/components/schemas/MongoRBACRole'
|
|
371
|
+
'400':
|
|
372
|
+
$ref: '#/components/responses/400'
|
|
373
|
+
'401':
|
|
374
|
+
$ref: '#/components/responses/401'
|
|
375
|
+
'403':
|
|
376
|
+
$ref: '#/components/responses/403'
|
|
377
|
+
'404':
|
|
378
|
+
$ref: '#/components/responses/404'
|
|
379
|
+
'409':
|
|
380
|
+
description: Conflict; refresh or remove role bindings first
|
|
381
|
+
'500':
|
|
382
|
+
$ref: '#/components/responses/500'
|
|
383
|
+
put:
|
|
384
|
+
summary: UpdateRBACRole
|
|
385
|
+
operationId: mongoUpdateRBACRole
|
|
386
|
+
tags:
|
|
387
|
+
- mongodb
|
|
388
|
+
- account
|
|
389
|
+
- shared
|
|
390
|
+
parameters:
|
|
391
|
+
- name: orgName
|
|
392
|
+
in: path
|
|
393
|
+
required: true
|
|
394
|
+
schema:
|
|
395
|
+
type: string
|
|
396
|
+
- name: clusterName
|
|
397
|
+
in: path
|
|
398
|
+
required: true
|
|
399
|
+
schema:
|
|
400
|
+
type: string
|
|
401
|
+
- name: database
|
|
402
|
+
in: path
|
|
403
|
+
required: true
|
|
404
|
+
schema:
|
|
405
|
+
type: string
|
|
406
|
+
- name: roleName
|
|
407
|
+
in: path
|
|
408
|
+
required: true
|
|
409
|
+
schema:
|
|
410
|
+
type: string
|
|
411
|
+
responses:
|
|
412
|
+
'204':
|
|
413
|
+
description: Success
|
|
414
|
+
'400':
|
|
415
|
+
$ref: '#/components/responses/400'
|
|
416
|
+
'401':
|
|
417
|
+
$ref: '#/components/responses/401'
|
|
418
|
+
'403':
|
|
419
|
+
$ref: '#/components/responses/403'
|
|
420
|
+
'404':
|
|
421
|
+
$ref: '#/components/responses/404'
|
|
422
|
+
'409':
|
|
423
|
+
description: Conflict; refresh or remove role bindings first
|
|
424
|
+
'500':
|
|
425
|
+
$ref: '#/components/responses/500'
|
|
426
|
+
requestBody:
|
|
427
|
+
required: true
|
|
428
|
+
content:
|
|
429
|
+
application/json:
|
|
430
|
+
schema:
|
|
431
|
+
$ref: '#/components/schemas/MongoRBACRoleWrite'
|
|
432
|
+
delete:
|
|
433
|
+
summary: DeleteRBACRole
|
|
434
|
+
operationId: mongoDeleteRBACRole
|
|
435
|
+
tags:
|
|
436
|
+
- mongodb
|
|
437
|
+
- account
|
|
438
|
+
- shared
|
|
439
|
+
parameters:
|
|
440
|
+
- name: orgName
|
|
441
|
+
in: path
|
|
442
|
+
required: true
|
|
443
|
+
schema:
|
|
444
|
+
type: string
|
|
445
|
+
- name: clusterName
|
|
446
|
+
in: path
|
|
447
|
+
required: true
|
|
448
|
+
schema:
|
|
449
|
+
type: string
|
|
450
|
+
- name: database
|
|
451
|
+
in: path
|
|
452
|
+
required: true
|
|
453
|
+
schema:
|
|
454
|
+
type: string
|
|
455
|
+
- name: roleName
|
|
456
|
+
in: path
|
|
457
|
+
required: true
|
|
458
|
+
schema:
|
|
459
|
+
type: string
|
|
460
|
+
- name: expectedRevision
|
|
461
|
+
in: query
|
|
462
|
+
required: true
|
|
463
|
+
schema:
|
|
464
|
+
type: string
|
|
465
|
+
responses:
|
|
466
|
+
'204':
|
|
467
|
+
description: Success
|
|
468
|
+
'400':
|
|
469
|
+
$ref: '#/components/responses/400'
|
|
470
|
+
'401':
|
|
471
|
+
$ref: '#/components/responses/401'
|
|
472
|
+
'403':
|
|
473
|
+
$ref: '#/components/responses/403'
|
|
474
|
+
'404':
|
|
475
|
+
$ref: '#/components/responses/404'
|
|
476
|
+
'409':
|
|
477
|
+
description: Conflict; refresh or remove role bindings first
|
|
478
|
+
'500':
|
|
479
|
+
$ref: '#/components/responses/500'
|
|
480
|
+
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users/{database}/{username}:
|
|
481
|
+
get:
|
|
482
|
+
summary: GetRBACUser
|
|
483
|
+
operationId: mongoGetRBACUser
|
|
484
|
+
tags:
|
|
485
|
+
- mongodb
|
|
486
|
+
- account
|
|
487
|
+
- shared
|
|
488
|
+
parameters:
|
|
489
|
+
- name: orgName
|
|
490
|
+
in: path
|
|
491
|
+
required: true
|
|
492
|
+
schema:
|
|
493
|
+
type: string
|
|
494
|
+
- name: clusterName
|
|
495
|
+
in: path
|
|
496
|
+
required: true
|
|
497
|
+
schema:
|
|
498
|
+
type: string
|
|
499
|
+
- name: database
|
|
500
|
+
in: path
|
|
501
|
+
required: true
|
|
502
|
+
schema:
|
|
503
|
+
type: string
|
|
504
|
+
- name: username
|
|
505
|
+
in: path
|
|
506
|
+
required: true
|
|
507
|
+
schema:
|
|
508
|
+
type: string
|
|
509
|
+
responses:
|
|
510
|
+
'200':
|
|
511
|
+
description: Success
|
|
512
|
+
content:
|
|
513
|
+
application/json:
|
|
514
|
+
schema:
|
|
515
|
+
$ref: '#/components/schemas/MongoRBACUser'
|
|
516
|
+
'400':
|
|
517
|
+
$ref: '#/components/responses/400'
|
|
518
|
+
'401':
|
|
519
|
+
$ref: '#/components/responses/401'
|
|
520
|
+
'403':
|
|
521
|
+
$ref: '#/components/responses/403'
|
|
522
|
+
'404':
|
|
523
|
+
$ref: '#/components/responses/404'
|
|
524
|
+
'409':
|
|
525
|
+
description: Conflict; refresh or remove role bindings first
|
|
526
|
+
'500':
|
|
527
|
+
$ref: '#/components/responses/500'
|
|
528
|
+
delete:
|
|
529
|
+
summary: DeleteRBACUser
|
|
530
|
+
operationId: mongoDeleteRBACUser
|
|
531
|
+
tags:
|
|
532
|
+
- mongodb
|
|
533
|
+
- account
|
|
534
|
+
- shared
|
|
535
|
+
parameters:
|
|
536
|
+
- name: orgName
|
|
537
|
+
in: path
|
|
538
|
+
required: true
|
|
539
|
+
schema:
|
|
540
|
+
type: string
|
|
541
|
+
- name: clusterName
|
|
542
|
+
in: path
|
|
543
|
+
required: true
|
|
544
|
+
schema:
|
|
545
|
+
type: string
|
|
546
|
+
- name: database
|
|
547
|
+
in: path
|
|
548
|
+
required: true
|
|
549
|
+
schema:
|
|
550
|
+
type: string
|
|
551
|
+
- name: username
|
|
552
|
+
in: path
|
|
553
|
+
required: true
|
|
554
|
+
schema:
|
|
555
|
+
type: string
|
|
556
|
+
responses:
|
|
557
|
+
'204':
|
|
558
|
+
description: Success
|
|
559
|
+
'400':
|
|
560
|
+
$ref: '#/components/responses/400'
|
|
561
|
+
'401':
|
|
562
|
+
$ref: '#/components/responses/401'
|
|
563
|
+
'403':
|
|
564
|
+
$ref: '#/components/responses/403'
|
|
565
|
+
'404':
|
|
566
|
+
$ref: '#/components/responses/404'
|
|
567
|
+
'409':
|
|
568
|
+
description: Conflict; refresh or remove role bindings first
|
|
569
|
+
'500':
|
|
570
|
+
$ref: '#/components/responses/500'
|
|
571
|
+
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users/{database}/{username}/roles:
|
|
572
|
+
patch:
|
|
573
|
+
summary: ChangeRBACUserRoles
|
|
574
|
+
operationId: mongoChangeRBACUserRoles
|
|
575
|
+
tags:
|
|
576
|
+
- mongodb
|
|
577
|
+
- account
|
|
578
|
+
- shared
|
|
579
|
+
parameters:
|
|
580
|
+
- name: orgName
|
|
581
|
+
in: path
|
|
582
|
+
required: true
|
|
583
|
+
schema:
|
|
584
|
+
type: string
|
|
585
|
+
- name: clusterName
|
|
586
|
+
in: path
|
|
587
|
+
required: true
|
|
588
|
+
schema:
|
|
589
|
+
type: string
|
|
590
|
+
- name: database
|
|
591
|
+
in: path
|
|
592
|
+
required: true
|
|
593
|
+
schema:
|
|
594
|
+
type: string
|
|
595
|
+
- name: username
|
|
596
|
+
in: path
|
|
597
|
+
required: true
|
|
598
|
+
schema:
|
|
599
|
+
type: string
|
|
600
|
+
responses:
|
|
601
|
+
'204':
|
|
602
|
+
description: Success
|
|
603
|
+
'400':
|
|
604
|
+
$ref: '#/components/responses/400'
|
|
605
|
+
'401':
|
|
606
|
+
$ref: '#/components/responses/401'
|
|
607
|
+
'403':
|
|
608
|
+
$ref: '#/components/responses/403'
|
|
609
|
+
'404':
|
|
610
|
+
$ref: '#/components/responses/404'
|
|
611
|
+
'409':
|
|
612
|
+
description: Conflict; refresh or remove role bindings first
|
|
613
|
+
'500':
|
|
614
|
+
$ref: '#/components/responses/500'
|
|
615
|
+
requestBody:
|
|
616
|
+
required: true
|
|
617
|
+
content:
|
|
618
|
+
application/json:
|
|
619
|
+
schema:
|
|
620
|
+
$ref: '#/components/schemas/MongoRBACBindingChange'
|
|
79
621
|
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config:
|
|
80
622
|
get:
|
|
81
623
|
operationId: getClusterJarConfig
|
|
@@ -24049,126 +24591,212 @@ paths:
|
|
|
24049
24591
|
description: Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
24050
24592
|
- name: subjectQualifiers
|
|
24051
24593
|
in: query
|
|
24052
|
-
required: false
|
|
24053
|
-
schema:
|
|
24054
|
-
type: string
|
|
24055
|
-
description: JSON object of string identity qualifiers, e.g. {"host":"%"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
24056
|
-
requestBody:
|
|
24057
|
-
required: true
|
|
24058
|
-
content:
|
|
24059
|
-
application/json:
|
|
24060
|
-
schema:
|
|
24061
|
-
$ref: '#/components/schemas/ObjectPrivilegeChange'
|
|
24062
|
-
responses:
|
|
24063
|
-
'204':
|
|
24064
|
-
description: Native statement completed. Query privileges again to inspect remaining access.
|
|
24065
|
-
'400':
|
|
24066
|
-
$ref: '#/components/responses/400'
|
|
24067
|
-
'401':
|
|
24068
|
-
$ref: '#/components/responses/401'
|
|
24069
|
-
'403':
|
|
24070
|
-
$ref: '#/components/responses/403'
|
|
24071
|
-
'404':
|
|
24072
|
-
$ref: '#/components/responses/404'
|
|
24073
|
-
'409':
|
|
24074
|
-
$ref: '#/components/responses/409'
|
|
24075
|
-
'500':
|
|
24076
|
-
$ref: '#/components/responses/500'
|
|
24077
|
-
x-codegen-request-body-name: body
|
|
24078
|
-
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/capabilities:
|
|
24079
|
-
get:
|
|
24080
|
-
tags:
|
|
24081
|
-
- account
|
|
24082
|
-
- rdbms
|
|
24083
|
-
- shared
|
|
24084
|
-
summary: List native object privilege capabilities for the connected server
|
|
24085
|
-
operationId: getAccountObjectPrivilegeCapabilities
|
|
24086
|
-
description: Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
24087
|
-
parameters:
|
|
24088
|
-
- name: engineName
|
|
24089
|
-
in: path
|
|
24090
|
-
required: true
|
|
24091
|
-
schema:
|
|
24092
|
-
type: string
|
|
24093
|
-
- name: orgName
|
|
24094
|
-
in: path
|
|
24095
|
-
required: true
|
|
24096
|
-
schema:
|
|
24097
|
-
type: string
|
|
24098
|
-
- name: clusterName
|
|
24099
|
-
in: path
|
|
24100
|
-
required: true
|
|
24101
|
-
schema:
|
|
24102
|
-
type: string
|
|
24103
|
-
- name: accountName
|
|
24104
|
-
in: path
|
|
24105
|
-
required: true
|
|
24106
|
-
schema:
|
|
24107
|
-
type: string
|
|
24108
|
-
responses:
|
|
24109
|
-
'200':
|
|
24110
|
-
description: Native privilege snapshot
|
|
24111
|
-
content:
|
|
24112
|
-
application/json:
|
|
24113
|
-
schema:
|
|
24114
|
-
$ref: '#/components/schemas/ObjectPrivilegeCapabilities'
|
|
24115
|
-
'400':
|
|
24116
|
-
$ref: '#/components/responses/400'
|
|
24117
|
-
'401':
|
|
24118
|
-
$ref: '#/components/responses/401'
|
|
24119
|
-
'403':
|
|
24120
|
-
$ref: '#/components/responses/403'
|
|
24121
|
-
'404':
|
|
24122
|
-
$ref: '#/components/responses/404'
|
|
24123
|
-
'500':
|
|
24124
|
-
$ref: '#/components/responses/500'
|
|
24125
|
-
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/
|
|
24126
|
-
get:
|
|
24127
|
-
tags:
|
|
24128
|
-
- account
|
|
24129
|
-
- rdbms
|
|
24130
|
-
- shared
|
|
24131
|
-
summary:
|
|
24132
|
-
operationId:
|
|
24133
|
-
description:
|
|
24134
|
-
parameters:
|
|
24135
|
-
- name: engineName
|
|
24136
|
-
in: path
|
|
24137
|
-
required: true
|
|
24138
|
-
schema:
|
|
24139
|
-
type: string
|
|
24140
|
-
- name: orgName
|
|
24141
|
-
in: path
|
|
24142
|
-
required: true
|
|
24143
|
-
schema:
|
|
24144
|
-
type: string
|
|
24145
|
-
- name: clusterName
|
|
24146
|
-
in: path
|
|
24147
|
-
required: true
|
|
24148
|
-
schema:
|
|
24149
|
-
type: string
|
|
24150
|
-
- name: accountName
|
|
24151
|
-
in: path
|
|
24152
|
-
required: true
|
|
24594
|
+
required: false
|
|
24595
|
+
schema:
|
|
24596
|
+
type: string
|
|
24597
|
+
description: JSON object of string identity qualifiers, e.g. {"host":"%"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
24598
|
+
requestBody:
|
|
24599
|
+
required: true
|
|
24600
|
+
content:
|
|
24601
|
+
application/json:
|
|
24602
|
+
schema:
|
|
24603
|
+
$ref: '#/components/schemas/ObjectPrivilegeChange'
|
|
24604
|
+
responses:
|
|
24605
|
+
'204':
|
|
24606
|
+
description: Native statement completed. Query privileges again to inspect remaining access.
|
|
24607
|
+
'400':
|
|
24608
|
+
$ref: '#/components/responses/400'
|
|
24609
|
+
'401':
|
|
24610
|
+
$ref: '#/components/responses/401'
|
|
24611
|
+
'403':
|
|
24612
|
+
$ref: '#/components/responses/403'
|
|
24613
|
+
'404':
|
|
24614
|
+
$ref: '#/components/responses/404'
|
|
24615
|
+
'409':
|
|
24616
|
+
$ref: '#/components/responses/409'
|
|
24617
|
+
'500':
|
|
24618
|
+
$ref: '#/components/responses/500'
|
|
24619
|
+
x-codegen-request-body-name: body
|
|
24620
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/capabilities:
|
|
24621
|
+
get:
|
|
24622
|
+
tags:
|
|
24623
|
+
- account
|
|
24624
|
+
- rdbms
|
|
24625
|
+
- shared
|
|
24626
|
+
summary: List native object privilege capabilities for the connected server
|
|
24627
|
+
operationId: getAccountObjectPrivilegeCapabilities
|
|
24628
|
+
description: Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
24629
|
+
parameters:
|
|
24630
|
+
- name: engineName
|
|
24631
|
+
in: path
|
|
24632
|
+
required: true
|
|
24633
|
+
schema:
|
|
24634
|
+
type: string
|
|
24635
|
+
- name: orgName
|
|
24636
|
+
in: path
|
|
24637
|
+
required: true
|
|
24638
|
+
schema:
|
|
24639
|
+
type: string
|
|
24640
|
+
- name: clusterName
|
|
24641
|
+
in: path
|
|
24642
|
+
required: true
|
|
24643
|
+
schema:
|
|
24644
|
+
type: string
|
|
24645
|
+
- name: accountName
|
|
24646
|
+
in: path
|
|
24647
|
+
required: true
|
|
24648
|
+
schema:
|
|
24649
|
+
type: string
|
|
24650
|
+
responses:
|
|
24651
|
+
'200':
|
|
24652
|
+
description: Native privilege snapshot
|
|
24653
|
+
content:
|
|
24654
|
+
application/json:
|
|
24655
|
+
schema:
|
|
24656
|
+
$ref: '#/components/schemas/ObjectPrivilegeCapabilities'
|
|
24657
|
+
'400':
|
|
24658
|
+
$ref: '#/components/responses/400'
|
|
24659
|
+
'401':
|
|
24660
|
+
$ref: '#/components/responses/401'
|
|
24661
|
+
'403':
|
|
24662
|
+
$ref: '#/components/responses/403'
|
|
24663
|
+
'404':
|
|
24664
|
+
$ref: '#/components/responses/404'
|
|
24665
|
+
'500':
|
|
24666
|
+
$ref: '#/components/responses/500'
|
|
24667
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/overview:
|
|
24668
|
+
get:
|
|
24669
|
+
tags:
|
|
24670
|
+
- account
|
|
24671
|
+
- rdbms
|
|
24672
|
+
- shared
|
|
24673
|
+
summary: Read native account privilege summary or selected database evidence
|
|
24674
|
+
operationId: getAccountPrivilegeOverview
|
|
24675
|
+
description: Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
|
|
24676
|
+
parameters:
|
|
24677
|
+
- name: engineName
|
|
24678
|
+
in: path
|
|
24679
|
+
required: true
|
|
24680
|
+
schema:
|
|
24681
|
+
type: string
|
|
24682
|
+
- name: orgName
|
|
24683
|
+
in: path
|
|
24684
|
+
required: true
|
|
24685
|
+
schema:
|
|
24686
|
+
type: string
|
|
24687
|
+
- name: clusterName
|
|
24688
|
+
in: path
|
|
24689
|
+
required: true
|
|
24690
|
+
schema:
|
|
24691
|
+
type: string
|
|
24692
|
+
- name: accountName
|
|
24693
|
+
in: path
|
|
24694
|
+
required: true
|
|
24695
|
+
schema:
|
|
24696
|
+
type: string
|
|
24697
|
+
- name: subjectType
|
|
24698
|
+
in: query
|
|
24699
|
+
required: false
|
|
24700
|
+
schema:
|
|
24701
|
+
$ref: '#/components/schemas/ObjectPrivilegeSubjectType'
|
|
24702
|
+
description: Native subject kind; path account name identifies the subject.
|
|
24703
|
+
- name: host
|
|
24704
|
+
in: query
|
|
24705
|
+
required: false
|
|
24706
|
+
schema:
|
|
24707
|
+
type: string
|
|
24708
|
+
description: Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
24709
|
+
- name: subjectQualifiers
|
|
24710
|
+
in: query
|
|
24711
|
+
schema:
|
|
24712
|
+
type: string
|
|
24713
|
+
- name: databaseName
|
|
24714
|
+
in: query
|
|
24715
|
+
description: PostgreSQL database to inspect on demand. Omit for the global summary.
|
|
24716
|
+
required: false
|
|
24717
|
+
schema:
|
|
24718
|
+
type: string
|
|
24719
|
+
responses:
|
|
24720
|
+
'200':
|
|
24721
|
+
description: Native evidence groups for the requested scope
|
|
24722
|
+
content:
|
|
24723
|
+
application/json:
|
|
24724
|
+
schema:
|
|
24725
|
+
type: array
|
|
24726
|
+
items:
|
|
24727
|
+
$ref: '#/components/schemas/ObjectPrivilegeEvidence'
|
|
24728
|
+
'400':
|
|
24729
|
+
$ref: '#/components/responses/400'
|
|
24730
|
+
'401':
|
|
24731
|
+
$ref: '#/components/responses/401'
|
|
24732
|
+
'403':
|
|
24733
|
+
$ref: '#/components/responses/403'
|
|
24734
|
+
'404':
|
|
24735
|
+
$ref: '#/components/responses/404'
|
|
24736
|
+
'500':
|
|
24737
|
+
$ref: '#/components/responses/500'
|
|
24738
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset:
|
|
24739
|
+
get:
|
|
24740
|
+
tags:
|
|
24741
|
+
- account
|
|
24742
|
+
- rdbms
|
|
24743
|
+
- shared
|
|
24744
|
+
summary: Preview clearing explicit account privileges
|
|
24745
|
+
operationId: previewAccountPrivilegeReset
|
|
24746
|
+
description: MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
24747
|
+
parameters:
|
|
24748
|
+
- name: engineName
|
|
24749
|
+
in: path
|
|
24750
|
+
required: true
|
|
24751
|
+
schema:
|
|
24752
|
+
type: string
|
|
24753
|
+
- name: orgName
|
|
24754
|
+
in: path
|
|
24755
|
+
required: true
|
|
24756
|
+
schema:
|
|
24757
|
+
type: string
|
|
24758
|
+
- name: clusterName
|
|
24759
|
+
in: path
|
|
24760
|
+
required: true
|
|
24761
|
+
schema:
|
|
24762
|
+
type: string
|
|
24763
|
+
- name: accountName
|
|
24764
|
+
in: path
|
|
24765
|
+
required: true
|
|
24766
|
+
schema:
|
|
24767
|
+
type: string
|
|
24768
|
+
- name: subjectType
|
|
24769
|
+
in: query
|
|
24770
|
+
required: false
|
|
24771
|
+
schema:
|
|
24772
|
+
$ref: '#/components/schemas/ObjectPrivilegeSubjectType'
|
|
24773
|
+
description: Native subject kind; path account name identifies the subject.
|
|
24774
|
+
- name: host
|
|
24775
|
+
in: query
|
|
24776
|
+
required: false
|
|
24777
|
+
schema:
|
|
24778
|
+
type: string
|
|
24779
|
+
description: Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
24780
|
+
- name: subjectQualifiers
|
|
24781
|
+
in: query
|
|
24153
24782
|
schema:
|
|
24154
24783
|
type: string
|
|
24155
|
-
|
|
24156
|
-
|
|
24157
|
-
required: false
|
|
24158
|
-
schema:
|
|
24159
|
-
$ref: '#/components/schemas/ObjectPrivilegeSubjectType'
|
|
24160
|
-
description: Native subject kind; path account name identifies the subject.
|
|
24161
|
-
- name: host
|
|
24784
|
+
description: JSON identity qualifiers; MySQL host defaults to %.
|
|
24785
|
+
- name: databaseNames
|
|
24162
24786
|
in: query
|
|
24163
|
-
|
|
24787
|
+
style: form
|
|
24788
|
+
explode: true
|
|
24789
|
+
description: PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
|
|
24164
24790
|
schema:
|
|
24165
|
-
type:
|
|
24166
|
-
|
|
24167
|
-
|
|
24791
|
+
type: array
|
|
24792
|
+
items:
|
|
24793
|
+
type: string
|
|
24794
|
+
- name: allDatabases
|
|
24168
24795
|
in: query
|
|
24796
|
+
description: PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
|
|
24169
24797
|
schema:
|
|
24170
|
-
type:
|
|
24171
|
-
|
|
24798
|
+
type: boolean
|
|
24799
|
+
default: false
|
|
24172
24800
|
responses:
|
|
24173
24801
|
'200':
|
|
24174
24802
|
description: Server-generated steps with connection database, in execution order
|
|
@@ -24193,9 +24821,9 @@ paths:
|
|
|
24193
24821
|
- account
|
|
24194
24822
|
- rdbms
|
|
24195
24823
|
- shared
|
|
24196
|
-
summary: Clear
|
|
24824
|
+
summary: Clear explicit account privileges
|
|
24197
24825
|
operationId: resetAccountPrivileges
|
|
24198
|
-
description: MySQL
|
|
24826
|
+
description: MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
24199
24827
|
parameters:
|
|
24200
24828
|
- name: engineName
|
|
24201
24829
|
in: path
|
|
@@ -24234,6 +24862,21 @@ paths:
|
|
|
24234
24862
|
schema:
|
|
24235
24863
|
type: string
|
|
24236
24864
|
description: JSON identity qualifiers; MySQL host defaults to %.
|
|
24865
|
+
- name: databaseNames
|
|
24866
|
+
in: query
|
|
24867
|
+
style: form
|
|
24868
|
+
explode: true
|
|
24869
|
+
description: PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
|
|
24870
|
+
schema:
|
|
24871
|
+
type: array
|
|
24872
|
+
items:
|
|
24873
|
+
type: string
|
|
24874
|
+
- name: allDatabases
|
|
24875
|
+
in: query
|
|
24876
|
+
description: PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
|
|
24877
|
+
schema:
|
|
24878
|
+
type: boolean
|
|
24879
|
+
default: false
|
|
24237
24880
|
responses:
|
|
24238
24881
|
'204':
|
|
24239
24882
|
description: Privileges cleared; account and password preserved
|
|
@@ -24255,7 +24898,7 @@ paths:
|
|
|
24255
24898
|
- shared
|
|
24256
24899
|
summary: List exact column names for account object privileges
|
|
24257
24900
|
operationId: listAccountObjectPrivilegeColumns
|
|
24258
|
-
description: Read MySQL
|
|
24901
|
+
description: Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
24259
24902
|
parameters:
|
|
24260
24903
|
- name: engineName
|
|
24261
24904
|
in: path
|
|
@@ -24280,7 +24923,7 @@ paths:
|
|
|
24280
24923
|
- name: objectType
|
|
24281
24924
|
in: query
|
|
24282
24925
|
required: true
|
|
24283
|
-
description: Object type,
|
|
24926
|
+
description: Object type, table/view; PostgreSQL also supports materializedView/foreignTable
|
|
24284
24927
|
schema:
|
|
24285
24928
|
type: string
|
|
24286
24929
|
- name: databaseName
|
|
@@ -24293,6 +24936,11 @@ paths:
|
|
|
24293
24936
|
required: true
|
|
24294
24937
|
schema:
|
|
24295
24938
|
type: string
|
|
24939
|
+
- name: schemaName
|
|
24940
|
+
in: query
|
|
24941
|
+
description: Required for PostgreSQL; not accepted for MySQL
|
|
24942
|
+
schema:
|
|
24943
|
+
type: string
|
|
24296
24944
|
responses:
|
|
24297
24945
|
'200':
|
|
24298
24946
|
description: Exact column names in catalog order; empty if no visible columns exist
|
|
@@ -29187,6 +29835,194 @@ components:
|
|
|
29187
29835
|
curl --digest -u "accessKey:secretKey" https://api.example.com/admin/v1/user
|
|
29188
29836
|
```
|
|
29189
29837
|
schemas:
|
|
29838
|
+
MongoRBACPasswordChange:
|
|
29839
|
+
type: object
|
|
29840
|
+
required:
|
|
29841
|
+
- password
|
|
29842
|
+
properties:
|
|
29843
|
+
password:
|
|
29844
|
+
type: string
|
|
29845
|
+
format: password
|
|
29846
|
+
APIErrorResponse:
|
|
29847
|
+
description: API error response.
|
|
29848
|
+
properties:
|
|
29849
|
+
code:
|
|
29850
|
+
description: The HTTP status code.
|
|
29851
|
+
type: integer
|
|
29852
|
+
reason:
|
|
29853
|
+
description: The reason for the error.
|
|
29854
|
+
type: string
|
|
29855
|
+
message:
|
|
29856
|
+
description: The message for the error.
|
|
29857
|
+
type: string
|
|
29858
|
+
required:
|
|
29859
|
+
- code
|
|
29860
|
+
type: object
|
|
29861
|
+
MongoRBACRoleRef:
|
|
29862
|
+
type: object
|
|
29863
|
+
properties:
|
|
29864
|
+
role:
|
|
29865
|
+
type: string
|
|
29866
|
+
db:
|
|
29867
|
+
type: string
|
|
29868
|
+
required:
|
|
29869
|
+
- role
|
|
29870
|
+
- db
|
|
29871
|
+
MongoRBACResource:
|
|
29872
|
+
type: object
|
|
29873
|
+
properties:
|
|
29874
|
+
cluster:
|
|
29875
|
+
type: boolean
|
|
29876
|
+
db:
|
|
29877
|
+
type: string
|
|
29878
|
+
x-nullable: true
|
|
29879
|
+
description: Preserve an explicit empty string for native wildcard scope; omit only for cluster resources.
|
|
29880
|
+
collection:
|
|
29881
|
+
type: string
|
|
29882
|
+
x-nullable: true
|
|
29883
|
+
description: Preserve an explicit empty string for native wildcard scope; omit only for cluster resources.
|
|
29884
|
+
anyResource:
|
|
29885
|
+
type: boolean
|
|
29886
|
+
description: Read-only native evidence; write requests reject this internal resource.
|
|
29887
|
+
description: Native MongoDB resource. cluster:true is system operations, not all database data. Empty db/collection are explicit wildcard scopes; system collections need explicit resources.
|
|
29888
|
+
MongoRBACPrivilege:
|
|
29889
|
+
type: object
|
|
29890
|
+
properties:
|
|
29891
|
+
resource:
|
|
29892
|
+
$ref: '#/components/schemas/MongoRBACResource'
|
|
29893
|
+
actions:
|
|
29894
|
+
type: array
|
|
29895
|
+
items:
|
|
29896
|
+
type: string
|
|
29897
|
+
required:
|
|
29898
|
+
- resource
|
|
29899
|
+
- actions
|
|
29900
|
+
MongoRBACUser:
|
|
29901
|
+
type: object
|
|
29902
|
+
properties:
|
|
29903
|
+
db:
|
|
29904
|
+
type: string
|
|
29905
|
+
roles:
|
|
29906
|
+
type: array
|
|
29907
|
+
items:
|
|
29908
|
+
$ref: '#/components/schemas/MongoRBACRoleRef'
|
|
29909
|
+
inheritedRoles:
|
|
29910
|
+
type: array
|
|
29911
|
+
items:
|
|
29912
|
+
$ref: '#/components/schemas/MongoRBACRoleRef'
|
|
29913
|
+
inheritedPrivileges:
|
|
29914
|
+
type: array
|
|
29915
|
+
items:
|
|
29916
|
+
$ref: '#/components/schemas/MongoRBACPrivilege'
|
|
29917
|
+
user:
|
|
29918
|
+
type: string
|
|
29919
|
+
readOnly:
|
|
29920
|
+
type: boolean
|
|
29921
|
+
description: Platform-protected account; mutations are rejected.
|
|
29922
|
+
MongoRBACUserCreate:
|
|
29923
|
+
type: object
|
|
29924
|
+
required:
|
|
29925
|
+
- user
|
|
29926
|
+
- db
|
|
29927
|
+
- password
|
|
29928
|
+
- roles
|
|
29929
|
+
properties:
|
|
29930
|
+
user:
|
|
29931
|
+
type: string
|
|
29932
|
+
db:
|
|
29933
|
+
type: string
|
|
29934
|
+
password:
|
|
29935
|
+
type: string
|
|
29936
|
+
format: password
|
|
29937
|
+
roles:
|
|
29938
|
+
type: array
|
|
29939
|
+
items:
|
|
29940
|
+
$ref: '#/components/schemas/MongoRBACRoleRef'
|
|
29941
|
+
MongoRBACResourceCapability:
|
|
29942
|
+
type: object
|
|
29943
|
+
properties:
|
|
29944
|
+
type:
|
|
29945
|
+
type: string
|
|
29946
|
+
description: cluster, database, collection, allDatabases, collectionAcrossDatabases
|
|
29947
|
+
actions:
|
|
29948
|
+
type: array
|
|
29949
|
+
items:
|
|
29950
|
+
type: string
|
|
29951
|
+
required:
|
|
29952
|
+
- type
|
|
29953
|
+
- actions
|
|
29954
|
+
MongoRBACCapabilities:
|
|
29955
|
+
type: object
|
|
29956
|
+
properties:
|
|
29957
|
+
engineVersion:
|
|
29958
|
+
type: string
|
|
29959
|
+
resources:
|
|
29960
|
+
type: array
|
|
29961
|
+
items:
|
|
29962
|
+
$ref: '#/components/schemas/MongoRBACResourceCapability'
|
|
29963
|
+
MongoRBACRole:
|
|
29964
|
+
type: object
|
|
29965
|
+
properties:
|
|
29966
|
+
role:
|
|
29967
|
+
type: string
|
|
29968
|
+
db:
|
|
29969
|
+
type: string
|
|
29970
|
+
isBuiltin:
|
|
29971
|
+
type: boolean
|
|
29972
|
+
privileges:
|
|
29973
|
+
type: array
|
|
29974
|
+
items:
|
|
29975
|
+
$ref: '#/components/schemas/MongoRBACPrivilege'
|
|
29976
|
+
roles:
|
|
29977
|
+
type: array
|
|
29978
|
+
items:
|
|
29979
|
+
$ref: '#/components/schemas/MongoRBACRoleRef'
|
|
29980
|
+
inheritedRoles:
|
|
29981
|
+
type: array
|
|
29982
|
+
items:
|
|
29983
|
+
$ref: '#/components/schemas/MongoRBACRoleRef'
|
|
29984
|
+
inheritedPrivileges:
|
|
29985
|
+
type: array
|
|
29986
|
+
items:
|
|
29987
|
+
$ref: '#/components/schemas/MongoRBACPrivilege'
|
|
29988
|
+
revision:
|
|
29989
|
+
type: string
|
|
29990
|
+
description: Stale-form fingerprint. updateRole has no native CAS; external concurrent writes are not transactional.
|
|
29991
|
+
MongoRBACRoleWrite:
|
|
29992
|
+
type: object
|
|
29993
|
+
properties:
|
|
29994
|
+
role:
|
|
29995
|
+
type: string
|
|
29996
|
+
db:
|
|
29997
|
+
type: string
|
|
29998
|
+
privileges:
|
|
29999
|
+
type: array
|
|
30000
|
+
items:
|
|
30001
|
+
$ref: '#/components/schemas/MongoRBACPrivilege'
|
|
30002
|
+
roles:
|
|
30003
|
+
type: array
|
|
30004
|
+
items:
|
|
30005
|
+
$ref: '#/components/schemas/MongoRBACRoleRef'
|
|
30006
|
+
expectedRevision:
|
|
30007
|
+
type: string
|
|
30008
|
+
required:
|
|
30009
|
+
- role
|
|
30010
|
+
- db
|
|
30011
|
+
- privileges
|
|
30012
|
+
- roles
|
|
30013
|
+
MongoRBACBindingChange:
|
|
30014
|
+
type: object
|
|
30015
|
+
properties:
|
|
30016
|
+
action:
|
|
30017
|
+
type: string
|
|
30018
|
+
description: grant or revoke. Incremental; all other native roles are retained.
|
|
30019
|
+
roles:
|
|
30020
|
+
type: array
|
|
30021
|
+
items:
|
|
30022
|
+
$ref: '#/components/schemas/MongoRBACRoleRef'
|
|
30023
|
+
required:
|
|
30024
|
+
- action
|
|
30025
|
+
- roles
|
|
29190
30026
|
clusterJarConfig:
|
|
29191
30027
|
type: object
|
|
29192
30028
|
properties:
|
|
@@ -29214,21 +30050,6 @@ components:
|
|
|
29214
30050
|
- maxFileBytes
|
|
29215
30051
|
- maxTotalBytes
|
|
29216
30052
|
- usedBytes
|
|
29217
|
-
APIErrorResponse:
|
|
29218
|
-
description: API error response.
|
|
29219
|
-
properties:
|
|
29220
|
-
code:
|
|
29221
|
-
description: The HTTP status code.
|
|
29222
|
-
type: integer
|
|
29223
|
-
reason:
|
|
29224
|
-
description: The reason for the error.
|
|
29225
|
-
type: string
|
|
29226
|
-
message:
|
|
29227
|
-
description: The message for the error.
|
|
29228
|
-
type: string
|
|
29229
|
-
required:
|
|
29230
|
-
- code
|
|
29231
|
-
type: object
|
|
29232
30053
|
clusterJarKind:
|
|
29233
30054
|
type: string
|
|
29234
30055
|
enum:
|
|
@@ -47100,6 +47921,9 @@ components:
|
|
|
47100
47921
|
- format
|
|
47101
47922
|
- items
|
|
47102
47923
|
properties:
|
|
47924
|
+
databaseName:
|
|
47925
|
+
type: string
|
|
47926
|
+
description: Connection database for native privilege evidence.
|
|
47103
47927
|
kind:
|
|
47104
47928
|
type: string
|
|
47105
47929
|
x-nullable: false
|
|
@@ -47369,7 +48193,7 @@ components:
|
|
|
47369
48193
|
type: string
|
|
47370
48194
|
x-nullable: false
|
|
47371
48195
|
minLength: 1
|
|
47372
|
-
description: Engine-generated
|
|
48196
|
+
description: Engine-generated statement for display (SQL, or a native MongoDB command encoded as JSON). Callers cannot submit or modify these steps for execution; reset rebuilds the plan from current grants.
|
|
47373
48197
|
ObjectPrivilegeObject:
|
|
47374
48198
|
type: object
|
|
47375
48199
|
required:
|