Avinash
Avinash

Reputation: 2183

Retrieving the Recommendations using Microsoft Graph Security API in Azure

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?

Upvotes: 1

Views: 897

Answers (1)

Pete Philters
Pete Philters

Reputation: 889

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?

Upvotes: 1

Related Questions