Get Compliance Reports from Defender for Cloud using Terraform
The aim of this article is to find out about the Resource Graph solution that I use to retrieve Microsoft Defender compliance reports. After some research I realised that, apart from the possibility of configuring automatic retrieval of compliance reports from the Azure portal, there was no scripting solution for doing this. So in this project, using a PowerShell code that I’m going to upload to an Azure Automation Runbook, I’m going to be able to perform the list of the following actions :