Forum Discussion
CyanicCloud
Oct 25, 2023Copper Contributor
GET Hunting custom detection rules REST API
Is it possible to query existing Custom Detection Rules via security center api and associated settings?
Currently unable to find any Microsoft Docs suggesting that it possible, I have seen only POST requests to run new queries but not view / GET details on existing rules?
I want to list existing rules and settings using REST request.
Any help would be greatly appreciated
- GokhanSbyCopper Contributor
Hey,
Now, API access supports list "detectionRules". I hope this will be helpful.
https://learn.microsoft.com/en-us/graph/api/security-detectionrule-list?view=graph-rest-beta&tabs=http