🛡️ Azure Subscription Integration With Microsoft Defender For Cloud Apps is not enabled🟢
- Contextual name: 🛡️ Integration With Microsoft Defender For Cloud Apps is not enabled🟢
- ID:
/ce/ca/azure/subscription/integration-with-microsoft-defender-for-cloud-apps - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Similar Policies
- Cloud Conformity: Enable Microsoft Defender for Cloud Apps Integration
- Internal:
dec-x-8a1ecfd0
Similar Internal Rules
| Rule | Policies | Flags |
|---|---|---|
| ✉️ dec-x-8a1ecfd0 | 1 |
Description
Description
This integration setting enables Microsoft Defender for Cloud Apps (formerly 'Microsoft Cloud App Security' or 'MCAS' - see additional info) to communicate with Microsoft Defender for Cloud.
Rationale
Microsoft Defender for Cloud offers an additional layer of protection by using Azure Resource Manager events, which is considered to be the control plane for Azure. By analyzing the Azure Resource Manager records, Microsoft Defender for Cloud detects unusual or potentially harmful operations in the Azure subscription environment. Several of the preceding analytics are powered by Microsoft Defender for Cloud Apps. To benefit from these analytics, subscription must have a Cloud App Security license.
Microsoft Defender for Cloud Apps works only with Standard Tier subscriptions.
Impact
Microsoft Defender for Cloud Apps works with Standard pricing tier Subscription. Choosing the Standard pricing tier of Microsoft Defender for Cloud incurs an additional cost per resource.
Audit
From Azure Portal
- From Azure Home select the Portal Menu.
... see more
Remediation
Remediation
From Azure Portal
- From Azure Home select the Portal Menu.
- Select
Microsoft Defender for Cloud.- Under
Management, selectEnvironment Settings.- Select the subscription.
- Select
Integrations.- Check
Allow Microsoft Defender for Cloud Apps to access my data.- Select
Save.From Azure CLI
Use the below command to set
Allow Microsoft Defender for Cloud Apps to access my data:az account get-access-token --query "{subscription:subscription,accessToken:accessToken}" --out tsv | xargs -L1 bash -c 'curl -X PUT -H "Authorization: Bearer $1" -H "Content-Type: application/json" https://management.azure.com/subscriptions/<subscription_ID>/providers/Microsoft.Security/settings/MCAS?api-version=2021-06-01 -d@"input.json"'Where
input.jsoncontains the Request body json data as mentioned below:{
"id": "/subscriptions/<Your_Subscription_Id>/providers/Microsoft.Security/settings/MCAS",
"kind": "DataExportSetting",
"type": "Microsoft.Security/settings",
"properties": {
... [see more](remediation.md)