Microsoft Azure

Azure Securityinsights: Alert Rules

API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider

Developer tools#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider

Endpoints 10

Alert Rules

  • GETAlertRules_List/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRulesGets all alert rules.
  • GETAlertRules_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleIdGets the alert rule.
  • PUTAlertRules_CreateOrUpdate/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleIdCreates or updates the alert rule.
  • DELETEAlertRules_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleIdDelete the alert rule.

Actions

  • GETActions_ListByAlertRule/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleId/actionsGets all actions of alert rule.
  • GETActions_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleId/actions/:actionIdGets the action of alert rule.
  • PUTActions_CreateOrUpdate/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleId/actions/:actionIdCreates or updates the action of alert rule.
  • DELETEActions_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleId/actions/:actionIdDelete the action of alert rule.

Alert Rule Templates

  • GETAlertRuleTemplates_List/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRuleTemplatesGets all alert rule templates.
  • GETAlertRuleTemplates_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRuleTemplates/:alertRuleTemplateIdGets the alert rule template.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
10 operations on 6 pathsGET 6PUT 2DELETE 2
Main resources
Actions 4Alert Rules 4Alert Rule Templates 2
Response formats
application/json
Description format
Swagger 2.0, API version 2025-06-01

How to test the Azure Securityinsights: Alert Rules in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Securityinsights: Alert Rules collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “AlertRules_List” (GET /subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Securityinsights: Alert Rules?

API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider It is listed under Developer tools and has 10 endpoints.

Who publishes the Azure Securityinsights: Alert Rules?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Securityinsights: Alert Rules?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Securityinsights: Alert Rules?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Securityinsights: Alert Rules have?

10 operations on 6 paths (6 GET, 2 PUT, 2 DELETE). The largest groups are Actions, Alert Rules, Alert Rule Templates.

Is forking the Azure Securityinsights: Alert Rules free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.