last sync: 2021-May-05 13:56:08 UTC

Azure Policy definition

Vulnerability assessment should be enabled on your Synapse workspaces

Name Vulnerability assessment should be enabled on your Synapse workspaces
Azure Portal
Id 0049a6b3-a662-4f3e-8635-39cf44ace45a
Version 1.0.0
details on versioning
Category Synapse
Microsoft docs
Description Discover, track, and remediate potential vulnerabilities by configuring recurring SQL vulnerability assessment scans on your Synapse workspaces.
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-01-22 09:14:53 add 0049a6b3-a662-4f3e-8635-39cf44ace45a
Used in Initiatives none
JSON
{
  "properties": {
    "displayName": "Vulnerability assessment should be enabled on your Synapse workspaces",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Discover, track, and remediate potential vulnerabilities by configuring recurring SQL vulnerability assessment scans on your Synapse workspaces.",
    "metadata": {
      "version": "1.0.0",
      "category": "Synapse"
    },
    "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.Synapse/workspaces"
      },
      "then": {
      "effect": "[parameters('effect')]",
        "details": {
          "type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments",
          "name": "default",
          "existenceCondition": {
            "field": "Microsoft.Synapse/workspaces/vulnerabilityAssessments/recurringScans.isEnabled",
            "equals": "True"
          }
        }
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/0049a6b3-a662-4f3e-8635-39cf44ace45a",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "0049a6b3-a662-4f3e-8635-39cf44ace45a"
}