{ "swagger": "2.0", "info": { "title": "Microsoft Defender for Cloud", "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider", "version": "2015-06-01-preview" }, "host": "management.azure.com", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "security": [ { "azure_auth": [ "user_impersonation" ] } ], "securityDefinitions": { "azure_auth": { "type": "oauth2", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "flow": "implicit", "description": "Azure Active Directory OAuth2 Flow", "scopes": { "user_impersonation": "impersonate your user account" } } }, "paths": { "/providers/Microsoft.Security/operations": { "get": { "tags": [ "Operations" ], "description": "Exposes all available operations for discovery purposes.", "operationId": "Operations_List", "parameters": [ { "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OperationList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../common/v1/types.json#/definitions/CloudError" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } } }, "definitions": { "OperationList": { "type": "object", "description": "List of possible operations for Microsoft.Security resource provider", "properties": { "value": { "type": "array", "description": "List of Security operations", "items": { "$ref": "#/definitions/Operation" } }, "nextLink": { "readOnly": true, "type": "string", "description": "The URI to fetch the next page." } } }, "Operation": { "type": "object", "description": "Possible operation in the REST API of Microsoft.Security", "properties": { "name": { "readOnly": true, "type": "string", "description": "Name of the operation" }, "origin": { "readOnly": true, "type": "string", "description": "Where the operation is originated" }, "display": { "$ref": "#/definitions/OperationDisplay" } } }, "OperationDisplay": { "type": "object", "description": "Security operation display", "properties": { "provider": { "readOnly": true, "type": "string", "description": "The resource provider for the operation." }, "resource": { "readOnly": true, "type": "string", "description": "The display name of the resource the operation applies to." }, "operation": { "readOnly": true, "type": "string", "description": "The display name of the security operation." }, "description": { "readOnly": true, "type": "string", "description": "The description of the operation." } } } } }