The endpoint provided by azure is not returning the correct list of extensions for defender plan & pricings
Service:Defender for Cloud
API Version:2024-01-01
This endpoint provided by in azure documentation is not listing all the extensions that are enabled in the portal.
GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1/providers/Microsoft.Security/pricings/VirtualMachines?api-version=2024-01-01
I have enabled 4 extensions where as the API is returning only 2 extensions in the list. Actual Response for extensions: "extensions": [ { "name": "AgentlessVmScanning", "isEnabled": "True", "additionalExtensionProperties": { "ExclusionTags": "" } }, { "name": "MdeDesignatedSubscription", "isEnabled": "True" } ] Reference: https://learn.microsoft.com/en-us/rest/api/defenderforcloud/pricings/get?view=rest-defenderforcloud-2024-01-01&tabs=HTTP