Forum Discussion
Erik_Snijder
Nov 09, 2021Copper Contributor
Migrate Sentinel to code
Hi,
We are migrating our existing Sentinel configuration to code. Now working on the Alert rules we see 181 active rules in the portal. But when executing:
az sentinel alert-rule list --resource-group [rg] --workspace-name [workspace] --query "[] | length(@)" we get a result of 141 rules.
Is there someone who can enlighten me which rules cannot be listed by this command and if there is a way to get all the rules?
Thank!
Regard, Erik
No RepliesBe the first to reply