last sync: 2021-Sep-24 16:09:49 UTC

Azure Policy definition

Geo-redundant storage should be enabled for Storage Accounts

Name Geo-redundant storage should be enabled for Storage Accounts
Azure Portal
Id bf045164-79ba-4215-8f95-f8048dc1780b
Version 1.0.0
details on versioning
Category Storage
Microsoft docs
Description Use geo-redundancy to create highly available applications
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: Audit
Allowed: (Audit, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2019-10-29 23:04:36 add bf045164-79ba-4215-8f95-f8048dc1780b
Used in Initiatives
Initiative DisplayName Initiative Id Initiative Category State
[Deprecated]: DoD Impact Level 4 8d792a84-723c-4d92-a3c3-e4ed16a2d133 Regulatory Compliance Deprecated
[Preview]: NIST SP 800-53 Rev. 5 179d1daa-458f-4e47-8086-2a68d0d6c38f Regulatory Compliance Preview
FedRAMP High d5264498-16f4-418a-b659-fa7ef418175f Regulatory Compliance GA
FedRAMP Moderate e95f5a9f-57ad-4d03-bb0b-b1d16db93693 Regulatory Compliance GA
NIST SP 800-53 Rev. 4 cf25b9c1-bd23-4eb6-bd2c-f4f3ac644a5f Regulatory Compliance GA
JSON
{
  "displayName": "Geo-redundant storage should be enabled for Storage Accounts",
  "policyType": "BuiltIn",
  "mode": "Indexed",
  "description": "Use geo-redundancy to create highly available applications",
  "metadata": {
    "version": "1.0.0",
    "category": "Storage"
  },
  "parameters": {
    "effect": {
      "type": "String",
      "metadata": {
        "displayName": "Effect",
        "description": "Enable or disable the execution of the policy"
      },
      "allowedValues": [
        "Audit",
        "Disabled"
      ],
      "defaultValue": "Audit"
    }
  },
  "policyRule": {
    "if": {
      "allOf": [
        {
          "field": "type",
          "equals": "Microsoft.Storage/storageAccounts"
        },
        {
          "not": {
            "field": "Microsoft.Storage/storageAccounts/sku.name",
            "in": [
              "Standard_GRS",
              "Standard_RAGRS",
              "Standard_GZRS",
              "Standard_RAGZRS"
            ]
          }
        }
      ]
    },
    "then": {
      "effect": "[parameters('effect')]"
    }
  }
}