MGRP S360 Vuln (#22832)
* Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
This commit is contained in:
Родитель
9a46bdbfea
Коммит
7ef6c7036b
|
@ -11,6 +11,9 @@
|
||||||
"type": "Microsoft.Management/managementGroups",
|
"type": "Microsoft.Management/managementGroups",
|
||||||
"name": "GroupToDelete",
|
"name": "GroupToDelete",
|
||||||
"status": "NotStarted"
|
"status": "NotStarted"
|
||||||
|
},
|
||||||
|
"headers": {
|
||||||
|
"azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/GroupToDelete?api-version=2020-05-01"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"204": {}
|
"204": {}
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"nextLink": null
|
"@nextLink": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"nextLink": null
|
"@nextLink": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"api-version": "2020-05-01"
|
||||||
|
},
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"body": {
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||||
|
"display": {
|
||||||
|
"provider": "aaaaaaaaaaaaaaaaaaaaa",
|
||||||
|
"resource": "aaaaaaaaaaaaa",
|
||||||
|
"operation": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||||
|
"description": "aaaaaaaaaaaaaaaaaaaaaa"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"nextLink": "aaaaaaaaaaaaaaaaaaa"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -81,7 +81,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"x-ms-pageable": {
|
"x-ms-pageable": {
|
||||||
"nextLinkName": "nextLink"
|
"nextLinkName": "@nextLink"
|
||||||
},
|
},
|
||||||
"x-ms-examples": {
|
"x-ms-examples": {
|
||||||
"ListManagementGroups": {
|
"ListManagementGroups": {
|
||||||
|
@ -712,6 +712,11 @@
|
||||||
},
|
},
|
||||||
"x-ms-pageable": {
|
"x-ms-pageable": {
|
||||||
"nextLinkName": "nextLink"
|
"nextLinkName": "nextLink"
|
||||||
|
},
|
||||||
|
"x-ms-examples": {
|
||||||
|
"List Operations": {
|
||||||
|
"$ref": "./examples/ListOperations.json"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1059,7 +1064,7 @@
|
||||||
"$ref": "#/definitions/ManagementGroupInfo"
|
"$ref": "#/definitions/ManagementGroupInfo"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nextLink": {
|
"@nextLink": {
|
||||||
"description": "The URL to use for getting the next set of results.",
|
"description": "The URL to use for getting the next set of results.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"readOnly": true
|
"readOnly": true
|
||||||
|
@ -1431,7 +1436,7 @@
|
||||||
"$ref": "#/definitions/HierarchySettingsInfo"
|
"$ref": "#/definitions/HierarchySettingsInfo"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nextLink": {
|
"@nextLink": {
|
||||||
"description": "The URL to use for getting the next set of results.",
|
"description": "The URL to use for getting the next set of results.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"readOnly": true
|
"readOnly": true
|
||||||
|
|
|
@ -14,9 +14,7 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"displayName": "S5",
|
"displayName": "S5",
|
||||||
"parent": {
|
"parent": {
|
||||||
"id": "/providers/Microsoft.Management/managementGroups/Group",
|
"id": "/providers/Microsoft.Management/managementGroups/Group"
|
||||||
"name": "name",
|
|
||||||
"displayName": "displayName"
|
|
||||||
},
|
},
|
||||||
"state": "Active",
|
"state": "Active",
|
||||||
"tenant": "e751ac82-623b-4913-8d74-22637c832373"
|
"tenant": "e751ac82-623b-4913-8d74-22637c832373"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"nextLink": null
|
"@nextLink": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"nextLink": null
|
"@nextLink": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"x-ms-pageable": {
|
"x-ms-pageable": {
|
||||||
"nextLinkName": "nextLink"
|
"nextLinkName": "@nextLink"
|
||||||
},
|
},
|
||||||
"x-ms-examples": {
|
"x-ms-examples": {
|
||||||
"ListManagementGroups": {
|
"ListManagementGroups": {
|
||||||
|
@ -1070,7 +1070,7 @@
|
||||||
"$ref": "#/definitions/ManagementGroupInfo"
|
"$ref": "#/definitions/ManagementGroupInfo"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nextLink": {
|
"@nextLink": {
|
||||||
"description": "The URL to use for getting the next set of results.",
|
"description": "The URL to use for getting the next set of results.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"readOnly": true
|
"readOnly": true
|
||||||
|
@ -1173,7 +1173,7 @@
|
||||||
},
|
},
|
||||||
"parent": {
|
"parent": {
|
||||||
"title": "Parent",
|
"title": "Parent",
|
||||||
"$ref": "#/definitions/ParentGroupBagInfo",
|
"$ref": "#/definitions/DescendantParentGroupInfo",
|
||||||
"x-nullable": true
|
"x-nullable": true
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
|
@ -1450,7 +1450,7 @@
|
||||||
"$ref": "#/definitions/HierarchySettingsInfo"
|
"$ref": "#/definitions/HierarchySettingsInfo"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nextLink": {
|
"@nextLink": {
|
||||||
"description": "The URL to use for getting the next set of results.",
|
"description": "The URL to use for getting the next set of results.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"readOnly": true
|
"readOnly": true
|
||||||
|
@ -1579,24 +1579,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ParentGroupBagInfo": {
|
|
||||||
"description": "The ID, name and displayName of the parent management group.",
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The name of the parent management group. For example, 00000000-0000-0000-0000-000000000000"
|
|
||||||
},
|
|
||||||
"displayName": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The friendly name of the parent management group."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"EntityListResult": {
|
"EntityListResult": {
|
||||||
"description": "Describes the result of the request to view entities.",
|
"description": "Describes the result of the request to view entities.",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -14,9 +14,7 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"displayName": "Group",
|
"displayName": "Group",
|
||||||
"parent": {
|
"parent": {
|
||||||
"id": "/providers/Microsoft.Management/managementGroups/Group",
|
"id": "/providers/Microsoft.Management/managementGroups/Group"
|
||||||
"name": "name",
|
|
||||||
"displayName": "displayName"
|
|
||||||
},
|
},
|
||||||
"state": "Active",
|
"state": "Active",
|
||||||
"tenant": "e751ac82-623b-4913-8d74-22637c832373"
|
"tenant": "e751ac82-623b-4913-8d74-22637c832373"
|
||||||
|
|
|
@ -14,9 +14,7 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"displayName": "S5",
|
"displayName": "S5",
|
||||||
"parent": {
|
"parent": {
|
||||||
"id": "/providers/Microsoft.Management/managementGroups/Group",
|
"id": "/providers/Microsoft.Management/managementGroups/Group"
|
||||||
"name": "name",
|
|
||||||
"displayName": "displayName"
|
|
||||||
},
|
},
|
||||||
"state": "Active",
|
"state": "Active",
|
||||||
"tenant": "e751ac82-623b-4913-8d74-22637c832373"
|
"tenant": "e751ac82-623b-4913-8d74-22637c832373"
|
||||||
|
|
|
@ -1176,7 +1176,7 @@
|
||||||
},
|
},
|
||||||
"parent": {
|
"parent": {
|
||||||
"title": "Parent",
|
"title": "Parent",
|
||||||
"$ref": "#/definitions/ParentGroupBagInfo",
|
"$ref": "#/definitions/DescendantParentGroupInfo",
|
||||||
"x-nullable": true
|
"x-nullable": true
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
|
@ -1608,24 +1608,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ParentGroupBagInfo": {
|
|
||||||
"description": "The ID, name and displayName of the parent management group.",
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The name of the parent management group. For example, 00000000-0000-0000-0000-000000000000"
|
|
||||||
},
|
|
||||||
"displayName": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The friendly name of the parent management group."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"EntityListResult": {
|
"EntityListResult": {
|
||||||
"description": "Describes the result of the request to view entities.",
|
"description": "Describes the result of the request to view entities.",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче