Security Center default policy setting "Monitor Storage Blob Encryption" should be enabled Affecting Security Center service in Azure


Severity

0.0
medium
0
10
    Severity Framework
    Snyk CCSS
    Rule category
    Monitoring / Policy

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Azure HIPAA
  • Snyk ID SNYK-CC-00672
  • credit Snyk Research Team

Description

Security Center default policy setting "Monitor Storage Blob Encryption" should be enabled. Enable storage encryption recommendations. When this setting is enabled, any new data in Azure Blobs and Files will be encrypted.

How to fix?

Set policyDefinitionId to /providers/Microsoft.Authorization/policyDefinitions/bfecdea6-31c4-4045-ad42-71b9dc87247d, and set enforcementMode to Default or remove the attribute.

Example Configuration

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {},
    "variables": {},
    "resources": [
        {
            "type": "Microsoft.Authorization/policyAssignments",
            "apiVersion": "2019-09-01",
            "name": "endpoint_672_allow",
            "properties": {
                "displayName": "Security Center default policy setting \"Monitor Storage Blob Encryption\" should be enabled",
                "description": "Security Center default policy setting \"Monitor Storage Blob Encryption\" should be enabled. Enable storage encryption recommendations. When this setting is enabled, any new data in Azure Blobs and Files will be encrypted.",
                "enforcementMode": "Default",
                "scope": "/subscriptions/5f479449-6df7-4c39-af0f-d8837aa02eec/resourcegroups/snyk_3",
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/bfecdea6-31c4-4045-ad42-71b9dc87247d"
            }
        }
    ]
}