Sep 18 2023 07:55 AM
I'm looking to audit enabled analytic rules and perform transformations on the data using KQL and I'm wondering if this is possible?
I know that the API can be used to list the enabled analytic rules in the Log Analytics Workspace:
Then when using a Workbook we can use an Azure Resource Manager query to use this same GET request to ingest the data into a Workbook parameter. From the ingested parameter can be used within the workbook to perform filtering on the data using KQL and is then presented within the workbook.
I'm wondering if there's a way to do something like this outside of the workbooks functionality? Is there a way to pull the information using the API, but then still use KQL to do what I want with the data? A use case example for this would be if I wanted to take the data, transform it, then export the output to another external application.
Thanks
Sep 18 2023 08:20 AM
SolutionSep 20 2023 01:38 AM
Not sure if this is what you need, but you can use this KQL query to audit for enabled and updated analytic rules:
Azure-Sentinel/Tools/Audit-Sentinel-Detection/Readme.md at master · Azure/Azure-Sentinel · GitHub
Sep 20 2023 01:54 AM