Use API to get data from [Microsoft Defender for Cloud | Recommendations, All recommendations]

Copper Contributor

Currently using csv download

[Microsoft Defender for Cloud | Recommendations, All recommendations, Download CSV report].

Is there an API I can use to get this information  ?

 

If I get data from Log Analytics Workspace (continuous export enabled), the data does not match that in csv download 100%.  (due to snapshot which can take a week).

 

If I use query in Azure Resource Graph explorer, how do I automate that data export into Azure SQL Server ? 

2 Replies