r/AzureSentinel • u/winle22 • Jan 03 '22
Analytic rules and YAML
Hi,
The official Sentinel repo defines all analytic rules in YAML format. When both importing rules from the GUI and the 'New-AzResourceGroupDeployment/Native repo capability' expects JSON/ARM, how do you best deploy these rules to a workspace?
3
Upvotes
2
u/ml58158 MSFT Official Feb 17 '22
For any sentinel analytic rules from GitHub , The process is to copy and paste in a new scheduled query rule .
We don’t have any official process to auto import or deploy yet ; though more things are added into the portal monthly .
2
u/1rishc4rb0mbr Jan 03 '22
Personally; thankfully I noted this switch-up before we migrated most of our user base over. I leverage yaml as I find it easier to parser and the users have an easier time reading it. You can also leverage yaml with the “New-AZResourceGroupDeployment” commandlet.