last sync: 2021-May-10 15:04:35 UTC

Azure Policy definition

Cloud Services (extended support) role instances should have system updates installed

Name Cloud Services (extended support) role instances should have system updates installed
Azure Portal
Id 4df26ba8-026d-45b0-9521-bffa44d741d2
Version 1.0.0
details on versioning
Category Security Center
Microsoft docs
Description Secure your Cloud Services (extended support) role instances by ensuring the latest security and critical updates are installed on them.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: AuditIfNotExists
Allowed: (AuditIfNotExists, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-04-27 15:38:15 add 4df26ba8-026d-45b0-9521-bffa44d741d2
Used in Initiatives none
JSON
{
  "properties": {
    "displayName": "Cloud Services (extended support) role instances should have system updates installed",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Secure your Cloud Services (extended support) role instances by ensuring the latest security and critical updates are installed on them.",
    "metadata": {
      "version": "1.0.0",
      "category": "Security Center"
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "AuditIfNotExists",
          "Disabled"
        ],
        "defaultValue": "AuditIfNotExists"
      }
    },
    "policyRule": {
      "if": {
        "field": "type",
        "equals": "Microsoft.Compute/cloudServices"
      },
      "then": {
      "effect": "[parameters('effect')]",
        "details": {
          "type": "Microsoft.Security/assessments",
          "name": "bd20bd91-aaf1-7f14-b6e4-866de2f43146",
          "existenceCondition": {
            "field": "Microsoft.Security/assessments/status.code",
            "in": [
              "NotApplicable",
              "Healthy"
            ]
          }
        }
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/4df26ba8-026d-45b0-9521-bffa44d741d2",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "4df26ba8-026d-45b0-9521-bffa44d741d2"
}