Forum Discussion

Nexact's avatar
Nexact
Copper Contributor
Feb 22, 2022
Solved

Is there any tables that contains the list of analytics rules ?

Hello!   I'm currently trying to build a dashboard that gives more information about all the analytics rules and I can't find any tables that contain this information.   Is it available somewhere...
  • GaryBushey's avatar
    Feb 22, 2022

    Nexact There is no table that stores the information but you can get the data by making the following REST API call:

     

    https://management.azure.com/subscriptions/<subscription>/resourceGroups/<resourcegroup>/providers/Microsoft.OperationalInsights/workspaces/<workspace>/providers/Microsoft.SecurityInsights/alertrules?api-version=2021-10-01-preview

     

     

Resources