对 AVNMRuleCollectionChange 表的查询

获取最近的安全管理规则集合更改

列出 10 个最新的安全管理规则集合更改。

AVNMRuleCollectionChange
|where OperationName has("securityAdminRuleCollections")
|top 10 by TimeGenerated desc
|project TimeGenerated, NetworkResourceIds, AppliedRuleCollectionIds, ResultType

获取最近失败的安全管理规则集合更改

列出 100 个最近失败的安全管理规则集合更改。

AVNMRuleCollectionChange
|where OperationName has("securityAdminRuleCollections")
|where ResultType != "Success"
|sort by TimeGenerated desc
|take 100