Control: 2.10 Ensure that Microsoft Defender for Cloud Apps (MCAS) Integration with Microsoft Defender for Cloud is Selected
Description
This setting enables Microsoft Cloud App Security (MCAS) integration with Security Center. Security Center 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, Security Center detects unusual or potentially harmful operations in the Azure subscription environment. Several of the preceding analytics are powered by Microsoft Cloud App Security. To benefit from these analytics, subscription must have a Cloud App Security license. MCAS works only with Standard Tier subscriptions.
Remediation
From Console
Perform the following action to check Defender for Cloud Apps (MCAS):
- Go to
Microsoft Defender for Cloud
- Select
Environment Settings
blade - Select
Security policy
blade - Click On
Edit Settings
to alter the the security policy for a subscription - Select the
Integrations
blade - Check/Enable option
Allow Microsoft Defender for Endpoint to access my data
- Select
Save
From Command Line
Command to enable Azure defender
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/$0/providers/Microsoft.Security/settings/MCAS?api-version=2021-06-01 -d@"input.json"'
Where input.json
contains the request body json data as mentioned below
{ "id":"/subscriptions/<Your_Subscription_Id>/providers/Microsoft.Security/settings/MCAS", "name":"DataExportSettings", "type":"Microsoft.Security/settings", "properties":{ "enabled":"true" }}
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.cis_v140_2_10
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cis_v140_2_10 --share
SQL
This control uses a named query:
securitycenter_mcas_integration