A cloud-native solution that protects workloads across hybrid and multi-cloud environments with threat detection and security recommendations
Defender for Cloud — Policy Exemptions Not Reflecting in SOC 2 Compliance Report
Subject: Defender for Cloud — Policy Exemptions Not Reflecting in SOC 2 Compliance Report
Subject: Defender for Cloud — Policy Exemptions Not Reflecting in SOC 2 Compliance Report
Subscription: Healthbot Cloud Service
Subscription ID: PII
Resource Group: HBRESOURCEGROUP
Affected Resource: HealthbotServer (Virtual Machine)
Region: Central US
ISSUE SUMMARY
We have created multiple policy exemptions for the recommendation "All network ports should be restricted on network security groups associated to your virtual machine" on HealthbotServer, but the exemptions are not being reflected in the Defender for Cloud SOC 2 Type 2 compliance report or in the Recommendations dashboard. This issue has persisted for several weeks.
DETAILED DESCRIPTION
- EXEMPTIONS CREATED
The following policy exemptions have been created via Azure CLI and are confirmed present:
- NSG-OpenPorts-HealthbotServer Scope: /subscriptions/9191c258-1479-48d0-b54f-320881e302c8/resourceGroups/HBRESOURCEGROUP/providers/Microsoft.Compute/virtualMachines/HealthbotServer Policy Assignment: SOC 2 Type 2 (Management Group level) — f054a6d5-aed5-47b2-9c40 Category: Waiver Expires: 2027-09-01
- NSG-OpenPorts-HealthbotServer-RG Scope: Same resource Policy Assignment: SOC 2 Type 2 (Resource Group level) — 2773cd4a40d44a809a614b44 Category: Waiver Expires: 2027-09-01
- NSG-OpenPorts-HealthbotServer-HIPAA Scope: Same resource Policy Assignment: HITRUST/HIPAA — 74ecbfa715494f9e85ba4999 Category: Waiver Expires: 2027-09-01
All exemptions verified present via: az policy exemption show --name <name> --scope <resource scope>
- ASSESSMENT STATUS
Despite the exemptions, the underlying security assessment continues to return Unhealthy:
Assessment ID: 3b20e985-f71f-483b-b078-f30d73936d43
Assessment Name: All network ports should be restricted on network security groups associated to your virtual machine
Current status: Unhealthy
Cause: NetworkPortsAreOpenToAllSources
We attempted to set the assessment status to NotApplicable via az rest PUT to the assessment endpoint but received the error: "Assessment type must be CustomerManaged or VerifiedPartner for creation or update by user. The assessment you tried to modify is BuiltIn"
- PORTAL EXEMPTION BUTTON
The Exemption button in the Defender for Cloud portal (Regulatory Compliance > SOC 2 > CC6.1 > recommendation detail) consistently has the Create button greyed out and non-functional, despite the user having Owner role on the subscription and Resource Policy Contributor role at the Management Group level.
- POLICY SCAN
We have triggered multiple policy compliance scans via: az policy state trigger-scan --subscription 9191c258-1479-48d0-b54f-320881e302c8
The SOC 2 compliance report continues to show this finding as Failed under controls CC6.1, CC6.6, and CC6.7 despite the exemptions being in place for several weeks.
- BUSINESS CONTEXT
The open ports are an operational requirement — port 443 is required for public kiosk connectivity (thousands of field devices) and FTPS ports 990/60000 are required for client PHI file transfers. The system has passed third-party penetration testing with this configuration. We are not able to close these ports without disrupting production services.
QUESTIONS FOR MICROSOFT SUPPORT
- Why are valid policy exemptions not being reflected in the Defender for Cloud compliance report and recommendation status?
- Why is the Exemption Create button in the portal consistently greyed out despite the user having Owner and Resource Policy Contributor roles?
- Is there a known issue with BuiltIn assessments and policy exemption propagation?
- What is the correct mechanism to suppress a BuiltIn assessment finding for a specific resource when the ports are an intentional operational requirement?
CONTACT
PII