Defender for Cloud Inventory API Coverage — No Official Way to Retrieve Per-Resource Coverage?

CSA Juan Guevara 0 Reputation points
2025-05-09T13:40:31.34+00:00

I'm reaching out to the Microsoft Defender for Cloud team and the broader community because I've run into a gap that I believe others may face too — and I’m hoping for guidance or clarification.

I need to programmatically retrieve a list of resources from a subscription and determine if each resource is covered by a Defender for Cloud plan. This would replicate what we see in the Azure Portal under:

Microsoft Defender for Cloud > Inventory:

The goal is to fetch this data via API and replicate that table — but the problem is that it seems there’s no way to retrieve the “Defender for Cloud” coverage status per resource.

Here’s what I’ve tried so far:

  • The /pricings endpoint — returns plan tiers like Free or Standard, but only for the overall subscription or service type, not individual resources.
  • Azure Resource Graph — the properties field does not contain any Defender-related indicators that would confirm whether a specific resource is covered.

My Question

Does an API exist today to retrieve per-resource Defender for Cloud coverage? Is there a /coverage endpoint or equivalent that is officially supported?

If anyone from the Defender for Cloud or Azure product teams can point me in the right direction, I’d truly appreciate it.

Thank you!

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
{count} votes

1 answer

Sort by: Most helpful
  1. Akhilesh Vallamkonda 15,320 Reputation points Microsoft External Staff Moderator
    2025-05-13T12:40:44.3366667+00:00

    Hi @CSA Juan Guevara
    As of now there is no direct way supported /coverage API endpoint for per-resource Defender for Cloud coverage, let me check on this and get back to you for further inputs
    How ever you can list all resources covered/not covered by Azure Defender using REST API

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.