sreedharande / Microsoft-Sentinel-As-A-Code

Export Microsoft Sentinel artifacts like Analytical Rules, Hunting Queries, Workbooks in order to support new feature Repositories CI/CD Pipeline
MIT License
55 stars 19 forks source link

Fixed ResourceGroup "admin" when exporting workbooks #10

Closed acd84 closed 2 years ago

acd84 commented 2 years ago

The workbook export it's not working by default because there's no variable for the resource group select at the code.

Please, check the syntax and add the right variable:

$BaseUri = "https://management.azure.com/subscriptions/" + $CurrentSubscription.id + "/resourcegroups/admin"

In the meantime, changing manually the resource group is successful.

Thank you!

sreedharande commented 2 years ago

Fixed