Skip to content

Commit c592757

Browse files
OAS Update
1 parent 999d8b3 commit c592757

File tree

28 files changed

+5987
-586
lines changed

28 files changed

+5987
-586
lines changed

services/authorization/v2/authorization.json

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,13 @@
453453
"description": "Forbidden"
454454
}
455455
},
456-
"summary": "Get available permissions"
456+
"summary": "Get available permissions",
457+
"x-stackit-authorization": {
458+
"disabled": true,
459+
"implicit-actions": [
460+
"iam.member.get"
461+
]
462+
}
457463
}
458464
},
459465
"/v2/users/{email}/memberships": {
@@ -533,7 +539,13 @@
533539
"description": "Forbidden"
534540
}
535541
},
536-
"summary": "List memberships of a user"
542+
"summary": "List memberships of a user",
543+
"x-stackit-authorization": {
544+
"disabled": true,
545+
"implicit-actions": [
546+
"iam.member.get"
547+
]
548+
}
537549
}
538550
},
539551
"/v2/users/{email}/permissions": {
@@ -616,7 +628,13 @@
616628
"description": "Forbidden"
617629
}
618630
},
619-
"summary": "List permissions of a user"
631+
"summary": "List permissions of a user",
632+
"x-stackit-authorization": {
633+
"disabled": true,
634+
"implicit-actions": [
635+
"iam.member.get"
636+
]
637+
}
620638
}
621639
},
622640
"/v2/{resourceId}/members": {
@@ -685,7 +703,13 @@
685703
"description": "Forbidden"
686704
}
687705
},
688-
"summary": "Add members to a resource"
706+
"summary": "Add members to a resource",
707+
"x-stackit-authorization": {
708+
"disabled": true,
709+
"implicit-actions": [
710+
"iam.member.add"
711+
]
712+
}
689713
}
690714
},
691715
"/v2/{resourceId}/members/remove": {
@@ -754,7 +778,13 @@
754778
"description": "Forbidden"
755779
}
756780
},
757-
"summary": "Remove members from a resource"
781+
"summary": "Remove members from a resource",
782+
"x-stackit-authorization": {
783+
"disabled": true,
784+
"implicit-actions": [
785+
"iam.member.remove"
786+
]
787+
}
758788
}
759789
},
760790
"/v2/{resourceType}/{resourceId}/members": {
@@ -828,7 +858,13 @@
828858
"description": "Forbidden"
829859
}
830860
},
831-
"summary": "Get members to a resource"
861+
"summary": "Get members to a resource",
862+
"x-stackit-authorization": {
863+
"disabled": true,
864+
"implicit-actions": [
865+
"iam.member.get"
866+
]
867+
}
832868
}
833869
},
834870
"/v2/{resourceType}/{resourceId}/roles": {
@@ -895,7 +931,13 @@
895931
"description": "Forbidden"
896932
}
897933
},
898-
"summary": "Get roles and permissions of a resource"
934+
"summary": "Get roles and permissions of a resource",
935+
"x-stackit-authorization": {
936+
"disabled": true,
937+
"implicit-actions": [
938+
"iam.role.get"
939+
]
940+
}
899941
}
900942
}
901943
},

services/certificates/v1beta/certificates.json

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,20 @@
205205
"description": "Default error response"
206206
}
207207
},
208-
"summary": "Retrieve the list of TLS certificate stored in a project."
208+
"summary": "Retrieve the list of TLS certificate stored in a project.",
209+
"x-stackit-authorization": {
210+
"actions": [
211+
"alb.certificateservice.certificate.list"
212+
],
213+
"resource-id": "projectId",
214+
"resource-id-type": "dynamic",
215+
"resource-type": "project",
216+
"service-enablement": {
217+
"services": [
218+
"cloud.stackit.loadbalancer"
219+
]
220+
}
221+
}
209222
},
210223
"post": {
211224
"description": "CreateCertificate will store a TLS certificate in a project.",
@@ -271,7 +284,20 @@
271284
"description": "Default error response"
272285
}
273286
},
274-
"summary": "Store a TLS certificate in a project."
287+
"summary": "Store a TLS certificate in a project.",
288+
"x-stackit-authorization": {
289+
"actions": [
290+
"alb.certificateservice.certificate.create"
291+
],
292+
"resource-id": "projectId",
293+
"resource-id-type": "dynamic",
294+
"resource-type": "project",
295+
"service-enablement": {
296+
"services": [
297+
"cloud.stackit.loadbalancer"
298+
]
299+
}
300+
}
275301
}
276302
},
277303
"/v1beta/projects/{projectId}/certificates/{id}": {
@@ -337,7 +363,20 @@
337363
"description": "Default error response"
338364
}
339365
},
340-
"summary": "Delete a stored TLS certificate in a project."
366+
"summary": "Delete a stored TLS certificate in a project.",
367+
"x-stackit-authorization": {
368+
"actions": [
369+
"alb.certificateservice.certificate.delete"
370+
],
371+
"resource-id": "projectId",
372+
"resource-id-type": "dynamic",
373+
"resource-type": "project",
374+
"service-enablement": {
375+
"services": [
376+
"cloud.stackit.loadbalancer"
377+
]
378+
}
379+
}
341380
},
342381
"get": {
343382
"description": "GetCertificate will return the public parts of a stored TLS certificate.",
@@ -404,7 +443,20 @@
404443
"description": "Default error response"
405444
}
406445
},
407-
"summary": "Retrieve the public parts of a stored TLS certificate."
446+
"summary": "Retrieve the public parts of a stored TLS certificate.",
447+
"x-stackit-authorization": {
448+
"actions": [
449+
"alb.certificateservice.certificate.get"
450+
],
451+
"resource-id": "projectId",
452+
"resource-id-type": "dynamic",
453+
"resource-type": "project",
454+
"service-enablement": {
455+
"services": [
456+
"cloud.stackit.loadbalancer"
457+
]
458+
}
459+
}
408460
}
409461
}
410462
},

0 commit comments

Comments
 (0)