Control: 2.1.12 Ensure That Microsoft Defender for Resource Manager Is Set To 'On'
Description
Microsoft Defender for Resource Manager scans incoming administrative requests to change your infrastructure from both CLI and the Azure portal.
Scanning resource requests lets you be alerted every time there is suspicious activity in order to prevent a security threat from being introduced.
Remediation
From Azure Portal
- Go to
Microsoft Defender for Cloud
. - Select
Environment Settings
blade. - Click on the subscription name.
- Select the
Defender plans
blade. - Select
On
underStatus
forResource Manager
. - Select
Save
.
From Azure CLI
Use the below command to enable Standard pricing tier for Defender for Resource Manager
az security pricing create -n 'Arm' --tier 'Standard'
From PowerShell
Use the below command to enable Standard pricing tier for Defender for Resource Manager
Set-AzSecurityPricing -Name 'Arm' -PricingTier 'Standard'
Default Value
By default, Microsoft Defender for Resource Manager is not enabled.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.cis_v200_2_1_12
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cis_v200_2_1_12 --share
SQL
This control uses a named query:
manual_control