GET Hunting custom detection rules REST API

Copper Contributor

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 

1 Reply

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=ht...