Forum Discussion
Creation/exclusion audit in use cases
Good afternoon people! I need to do an audit process to identify which rules were created, changed or deleted, however, through the logs in the [AzureActivity] table, I can see only the rule id, which is not readable and identifiable.
Is there a way to find the name of the rule that has been modified?
4 Replies
- GaryBusheyBronze Contributor
Luizao_f This article seems to do just what you need
- Luizao_fBrass ContributorThank you very much for the indication of the article.
It was exactly what I needed, but I still run into a problem: the article crosses the logs of the table [azureactivity] and [securityalert] to identify the real name of the rule, but the point is that the table [securityalert] only brings logs of the rules that executed the query at some point, that is, if a rule is disabled or goes from enabled to disabled, it will not generate logs, therefore, if there is an exclusion or any change, it will not generate us in the table [securityalert] , thus not being able to know the real name of the table that suffers the action.- CliveWatsonFormer Employee
Would a Workbook be a suitable way of auditing this data, showing the audit visually, or are you trying to create a Rule?
With a workbook we could probably check the REST API against the KQL data, the api will have "all" rules and the KQL any that have logged in the time period?
Another approach would be a playbook to get the api data into a custom log (daily?) and then compare against that?
Thanks.