Get the configuration of Microsoft Defender Plans Cloud Workload Protection using Automation Account Runbook PowerShell

Lintag, Carlo Alfonso 0 Reputation points

I am trying to get the configuration of the Microsoft Defender for Cloud in all of our subscriptions. Specifically, I want to get the Cloud Workload Protection Details. All I am able to get are the pricing details of the plans and not specific details such as the resource quantity, monitoring coverage, and the status of the plan.

Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,188 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,039 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andrew Blumhardt 9,491 Reputation points Microsoft Employee

    MDC stores much of the config in the Azure Resource Graph. Many of the MDC portal screens have an Open Query button that provides a sample graph query. I assume there are PS options for running a graph query.

    User's image

    0 comments No comments