Forum Discussion
Nexact
Feb 22, 2022Copper Contributor
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 or do I need to pull it via the API ?
Thanks,
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
- Clive_WatsonBronze ContributorThere are Workbooks that do this you can look at, try the "Analytics Efficiency" one - it uses the Rest api
- GaryBusheyBronze Contributor
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