The schema requires the scheduled rule to be enclosed in { "Scheduled": [ ... ] }. when using Get-AzSentinelAlertRule, it is possible to convert the content into JSON but the { "Scheduled": [ ... ] } is missing. It would be nice to have an option for downloading a scheduled rule in a JSON format that is compatible to the AzSentinel schema. In addition, if the function can remove some attributes (like etag, id, etc.) it would make it easy to pull a rule from an environment and push it to another one without modifying the json content.
The text was updated successfully, but these errors were encountered:
The schema requires the scheduled rule to be enclosed in
{ "Scheduled": [ ... ] }
. when using Get-AzSentinelAlertRule, it is possible to convert the content into JSON but the{ "Scheduled": [ ... ] }
is missing. It would be nice to have an option for downloading a scheduled rule in a JSON format that is compatible to the AzSentinel schema. In addition, if the function can remove some attributes (like etag, id, etc.) it would make it easy to pull a rule from an environment and push it to another one without modifying the json content.The text was updated successfully, but these errors were encountered: