last sync: 2020-Sep-25 13:37:27 UTC

Azure Policy

[Deprecated]: Ensure that '.NET Framework' version is the latest, if used as a part of the API app

Policy DisplayName [Deprecated]: Ensure that '.NET Framework' version is the latest, if used as a part of the API app
Policy Id c2e7ca55-f62c-49b2-89a4-d41eb661d2f0
Policy Category App Service
Policy Description This policy is not required since Azure App Service automatically updates and maintains the .NET Framework versions installed on the platform.
Policy Mode Indexed
Policy Type BuiltIn
Policy in Preview FALSE
Policy Deprecated True
Policy Effect Default: AuditIfNotExists
Allowed: (AuditIfNotExists,Disabled)
Roles used none
Policy Changes
Date/Time (UTC ymd) (i) Change Change detail
2020-09-02 14:03:46 change: DisplayName previous DisplayName: Ensure that '.Net Framework' version is the latest, if used as a part of the API app
2019-11-12 19:11:12 add: Policy c2e7ca55-f62c-49b2-89a4-d41eb661d2f0
Used in Policy Initiative(s) none
Policy Rule
{
  "properties": {
  "displayName": "[Deprecated]: Ensure that '.NET Framework' version is the latest, if used as a part of the API app",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "This policy is not required since Azure App Service automatically updates and maintains the .NET Framework versions installed on the platform.",
    "metadata": {
      "version": "1.0.0-deprecated",
      "category": "App Service",
      "deprecated": true
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
        "displayName": "[Deprecated]: Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "AuditIfNotExists",
          "Disabled"
        ],
        "defaultValue": "AuditIfNotExists"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.Web/sites"
          },
          {
            "field": "kind",
            "like": "*api"
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]",
        "details": {
          "type": "Microsoft.Web/sites/config",
          "name": "web",
          "existenceCondition": {
            "field": "Microsoft.Web/sites/config/web.netFrameworkVersion",
            "in": [
              "v3.0",
              "v4.0"
            ]
          }
        }
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/c2e7ca55-f62c-49b2-89a4-d41eb661d2f0",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "c2e7ca55-f62c-49b2-89a4-d41eb661d2f0"
}