There are a few PowerShell options out there (including the official module) to help automate content and collateral deployment to your Microsoft Sentinel workspace. But the one from Jan Geisbauer is highly recommended.
Jan’s original blog post announcement about this new module is here: Alertrule from github to Azure sentinel | (emptydc.com)
The PowerShell module offers a couple of options for automating Analytics Rule deployment.
- Deploy a single Analytics Rule
- Deploy multiple Analytics Rules
The examples Jan uses in his steps to use his module pulls the Analytics Rules from the official Microsoft Sentinel GitHub repository. But, when using the multiple rule option, consider using your own GitHub repo with your hand-selected .yaml rules for deploying a custom environment.
[Subscribe to the RSS feed for this blog]
[Subscribe to the Weekly Microsoft Sentinel Newsletter]
[Subscribe to the Weekly Microsoft Defender Newsletter]
[Learn KQL with the Must Learn KQL series and book]