Question

Deepa ramachandran on Sat, 22 Jul 2017 12:16:58


I am using an API to get the recommendations of virtual machine

https://<endpoint>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/microsoft.{Compute|ClassicCompute}/virtualMachines/{vm-name}/providers/microsoft.Security/dataCollectionResults/{patch|baseline|antimalware}?api-version={api-version}

But didn't find any for network or storage.I tried replacing the above  resource type with 'microsoft.network/virtualNetworks' but it is not working and throwing internal server error.with the above API I got the recommendations for compute resource.Similarly I need it for Network and Storage.Help me out to get the same.



Sponsored



Replies

Deepa ramachandran on Wed, 26 Jul 2017 07:40:53


Recommendations listed in Azure security centre dashboard is not matching with the recommendations that I got through API.Here is the API I used to fetch the recommendations https://msdn.microsoft.com/en-us/library/mt704044.aspx

If I am using the wrong API, kindly send me the correct API to fetch the recommendations which should match with those listed in recommendations dashboard.

Thanks

Deepa