Retrieving the Recommendations using Microsoft Graph Security API in Azure

645 Views Asked by At

I am able to retrieve Security Alerts using:

https://graph.microsoft.com/beta/security/alerts?$top=1 

Now I would like to retrieve the "recommendations" from an Azure tenant

We can see these recommendations in Azure portal -> Security Center -> Recommendations. We can see Recommendations blade under "RESOURCE SECURITY HYGIENE" tab.

Is it possible to retrieve Recommendations using Microsoft Graph? If so, can someone help me with correct URI to fetch them?

1

There are 1 best solutions below

3
On BEST ANSWER

I did some further digging into the Azure api docs. You can’t use the Graph API as said but by the looks of things you can use the Resource Manager API to list the recommendations as Tasks from the security center. Let me know if that works for you?