{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-security-alerts","description":"Security Center","version":"2019-01-01","base_url":"https://management.azure.com","endpoints":10,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Security Center\n@base https://management.azure.com\n@version 2019-01-01\n@auth OAuth2\n@endpoints 10\n@toc subscriptions(10)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts\n@desc List all the alerts that are associated with the subscription\n@optional {$filter: any # OData filter. Optional., $select: any # OData select. Optional., $expand: any # OData expand. Optional., autoDismissRuleName: any # The name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and get the alerts that would have been dismissed if the rule was enabled when the alert was created}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/alerts\n@desc List all the alerts that are associated with the resource group\n@optional {$filter: any # OData filter. Optional., $select: any # OData select. Optional., $expand: any # OData expand. Optional., autoDismissRuleName: any # The name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and get the alerts that would have been dismissed if the rule was enabled when the alert was created}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts\n@desc List all the alerts that are associated with the subscription that are stored in a specific location\n@optional {$filter: any # OData filter. Optional., $select: any # OData select. Optional., $expand: any # OData expand. Optional., autoDismissRuleName: any # The name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and get the alerts that would have been dismissed if the rule was enabled when the alert was created}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts\n@desc List all the alerts that are associated with the resource group that are stored in a specific location\n@optional {$filter: any # OData filter. Optional., $select: any # OData select. Optional., $expand: any # OData expand. Optional., autoDismissRuleName: any # The name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and get the alerts that would have been dismissed if the rule was enabled when the alert was created}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}\n@desc Get an alert that is associated with a subscription\n@required {alertName: any # Name of the alert object}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}\n@desc Get an alert that is associated a resource group or a resource in a resource group\n@required {alertName: any # Name of the alert object}\n@returns(200) OK\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss\n@desc Update the alert's state\n@required {alertName: any # Name of the alert object}\n@returns(204) No Content\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate\n@desc Update the alert's state\n@required {alertName: any # Name of the alert object}\n@returns(204) No Content\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss\n@desc Update the alert's state\n@required {alertName: any # Name of the alert object}\n@returns(204) No Content\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate\n@desc Update the alert's state\n@required {alertName: any # Name of the alert object}\n@returns(204) No Content\n\n@end\n"}