last sync: 2021-Jan-25 16:07:05 UTC

Azure Policy definition

[Deprecated]: A security contact phone number should be provided for your subscription

Name [Deprecated]: A security contact phone number should be provided for your subscription
Azure Portal
Id b4d66858-c922-44e3-9566-5cdb7a7be744
Version 1.0.0-deprecated
details on versioning
Category Security Center
Microsoft docs
Description Enter a phone number to receive notifications when Azure Security Center detects compromised resources
Mode All
Type BuiltIn
Preview FALSE
Deprecated True
Effect Default: Disabled
Allowed: (AuditIfNotExists, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-01-22 09:14:53 change Version remains equal, new suffix: deprecated (1.0.0 > 1.0.0-deprecated)
Used in Initiatives
Initiative DisplayName Initiative Id Initiative Category State
[Preview]: CMMC Level 3 b5629c75-5c77-4422-87b9-2509e680f8de Regulatory Compliance Preview
JSON Changes

Json
{
  "properties": {
  "displayName": "[Deprecated]: A security contact phone number should be provided for your subscription",
    "policyType": "BuiltIn",
    "mode": "All",
    "description": "Enter a phone number to receive notifications when Azure Security Center detects compromised resources",
    "metadata": {
      "version": "1.0.0-deprecated",
      "category": "Security Center",
      "deprecated": true
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
        "displayName": "[Deprecated]: Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "AuditIfNotExists",
          "Disabled"
        ],
        "defaultValue": "Disabled"
      }
    },
    "policyRule": {
      "if": {
        "field": "type",
        "equals": "Microsoft.Resources/subscriptions"
      },
      "then": {
      "effect": "[parameters('effect')]",
        "details": {
          "type": "Microsoft.Security/securityContacts",
          "existenceCondition": {
            "field": "Microsoft.Security/securityContacts/phone",
            "notEquals": ""
          }
        }
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/b4d66858-c922-44e3-9566-5cdb7a7be744",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "b4d66858-c922-44e3-9566-5cdb7a7be744"
}