last sync: 2021-Aug-04 14:59:26 UTC

Azure Policy definition

[Deprecated]: Vulnerabilities should be remediated by a Vulnerability Assessment solution

Name [Deprecated]: Vulnerabilities should be remediated by a Vulnerability Assessment solution
Azure Portal
Id 760a85ff-6162-42b3-8d70-698e268f648c
Version 3.0.0-deprecated
details on versioning
Category Security Center
Microsoft docs
Description Monitors vulnerabilities detected by Vulnerability Assessment solution and VMs without a Vulnerability Assessment solution in Azure Security Center as recommendations.
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 (3.0.0 > 3.0.0-deprecated)
2021-01-05 16:06:49 change Major (2.0.0 > 3.0.0)
Used in Initiatives none
JSON Changes

JSON
{
  "properties": {
  "displayName": "[Deprecated]: Vulnerabilities should be remediated by a Vulnerability Assessment solution",
    "policyType": "BuiltIn",
    "mode": "All",
    "description": "Monitors vulnerabilities detected by Vulnerability Assessment solution and VMs without a Vulnerability Assessment solution in Azure Security Center as recommendations.",
    "metadata": {
      "version": "3.0.0-deprecated",
      "category": "Security Center",
      "deprecated": true
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "AuditIfNotExists",
          "Disabled"
        ],
        "defaultValue": "Disabled"
      }
    },
    "policyRule": {
      "if": {
        "field": "type",
        "in": [
          "Microsoft.Compute/virtualMachines",
          "Microsoft.ClassicCompute/virtualMachines"
        ]
      },
      "then": {
      "effect": "[parameters('effect')]",
        "details": {
          "type": "Microsoft.Security/assessments",
          "name": "71992a2a-d168-42e0-b10e-6b45fa2ecddb",
          "existenceCondition": {
            "field": "Microsoft.Security/assessments/status.code",
            "in": [
              "NotApplicable",
              "Healthy"
            ]
          }
        }
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/760a85ff-6162-42b3-8d70-698e268f648c",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "760a85ff-6162-42b3-8d70-698e268f648c"
}