last sync: 2020-Jul-03 15:47:34 UTC

Azure Policy

Advanced threat protection should be enabled on App Service

Policy DisplayName Advanced threat protection should be enabled on App Service
Policy Id 2913021d-f2fd-4f3d-b958-22354e2bdbcb
Policy Category Security Center
Policy Description Advanced threat protection standard tier should be enabled on App Service. This provides real-time threat protection for App Service workloads and generates hardening recommendations as well as alerts for suspicious activities.
Policy Mode All
Policy Type BuiltIn
Policy in Preview FALSE
Policy Deprecated FALSE
Policy Effect Default: AuditIfNotExists
Allowed: (AuditIfNotExists,Disabled)
Roles used none
Policy Changes
Date/Time (UTC ymd) (i) Change Change detail
2020-06-23 16:03:25 add: Policy 2913021d-f2fd-4f3d-b958-22354e2bdbcb
Used in Policy Initiative(s)
Initiative DisplayName Initiative Id
Enable Monitoring in Azure Security Center 1f3afdf9-d0c9-4c3d-847f-89da613e70a8
Policy Rule
{
  "properties": {
    "displayName": "Advanced threat protection should be enabled on App Service",
    "policyType": "BuiltIn",
    "mode": "All",
    "description": "Advanced threat protection standard tier should be enabled on App Service. This provides real-time threat protection for App Service workloads and generates hardening recommendations as well as alerts for suspicious activities.",
    "metadata": {
      "version": "1.0.1",
      "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.Resources/subscriptions"
      },
      "then": {
      "effect": "[parameters('effect')]",
        "details": {
          "type": "Microsoft.Security/pricings",
          "name": "AppServices",
          "existenceScope": "subscription",
          "existenceCondition": {
            "field": "Microsoft.Security/pricings/pricingTier",
            "equals": "Standard"
          }
        }
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/2913021d-f2fd-4f3d-b958-22354e2bdbcb",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "2913021d-f2fd-4f3d-b958-22354e2bdbcb"
}