Control: 2.1.13 Ensure that Microsoft Cloud Security Benchmark policies are not set to 'Disabled'
Description
The Microsoft Cloud Security Benchmark (or "MCSB") is an Azure Policy Initiative containing many security policies to evaluate resource configuration against best practice recommendations. If a policy in the MCSB is set with effect type Disabled
, it is not evaluated and may prevent administrators from being informed of valuable security recommendations.
A security policy defines the desired configuration of resources in your environment and helps ensure compliance with company or regulatory security requirements. The MCSB Policy Initiative a set of security recommendations based on best practices and is associated with every subscription by default. When a policy "Effect" is set to Audit, policies in the MCSB ensure that Defender for Cloud evaluates relevant resources for supported recommendations. To ensure that policies within the MCSB are not being missed when the Policy Initiative is evaluated, none of the policies should have an Effect of Disabled
.
Remediation
From Azure Portal
Part A - List all disabled policies
- From Azure Home select the Portal Menu
- Select
Microsoft Defender for Cloud
- Then
Environment Settings
- Select the appropriate Subscription
- Click on
Security Policy
in the left column. - Click on
Microsoft Cloud Security Benchmark
- Click
Add Filter
and selectEffect
- Check the
Disabled
box to search for all disabled policies - Click
Apply
Part B - Remediate Policy Effect For each policy that remains in the list:
- Click the blue ellipses ... to the right of the policy name
- Click
Manage effect and parameters
- Under Policy Effect, select the
Audit
radio button - Click
Save
- Click
Refresh
Repeat "Part B - Remediate Policy Effect" until no more policies are listed.
Default Value
By default, the MCSB policy initiative is associated to all subscriptions and most policies will have an effect of Audit
. Some policies will have a default effect of Disabled
.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.cis_v210_2_1_13
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cis_v210_2_1_13 --share
SQL
This control uses a named query:
manual_control