{
    "if": {
        "allOf": [
        {
           "field": "type",
           "equals": "Microsoft.Web/sites/config"
        },
        {
           "field": "name",
           "equals": "web"
        },
        {
           "anyOf": [
              {
                 "field": "Microsoft.Web/sites/config/detailedErrorLoggingEnabled",
                 "notEquals": "true"
              },
              {
                 "field": "Microsoft.Web/sites/config/httpLoggingEnabled",
                 "notEquals": "true"
              },
              {
                 "field": "Microsoft.Web/sites/config/requestTracingEnabled",
                 "notEquals": "true"
              }
           ]
        }
        ]
    },
    "then": {
        "effect": "[parameters('effect')]"
    }
}