last sync: 2020-Jul-15 14:17:33 UTC

Azure Policy

[Preview]: Audit Azure Spring Cloud instances where distributed tracing is not enabled

Policy DisplayName [Preview]: Audit Azure Spring Cloud instances where distributed tracing is not enabled
Policy Id 0f2d8593-4667-4932-acca-6a9f187af109
Policy Category App Platform
Policy Description Distributed tracing tools in Azure Spring Cloud allow debugging and monitoring the complex interconnections between microservices in an application. Distributed tracing tools should be enabled and in a healthy state.
Policy Mode Indexed
Policy Type BuiltIn
Policy in Preview True
Policy Deprecated FALSE
Policy Effect Default: Audit
Allowed: (Audit,Disabled)
Roles used none
Policy Changes
Date/Time (UTC ymd) (i) Change Change detail
2020-02-12 02:52:44 add: Policy 0f2d8593-4667-4932-acca-6a9f187af109
Used in Policy Initiative(s) none
Policy Rule
{
  "properties": {
  "displayName": "[Preview]: Audit Azure Spring Cloud instances where distributed tracing is not enabled",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Distributed tracing tools in Azure Spring Cloud allow debugging and monitoring the complex interconnections between microservices in an application. Distributed tracing tools should be enabled and in a healthy state.",
    "metadata": {
      "version": "1.0.0-preview",
      "category": "App Platform",
      "preview": true
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
        "displayName": "[Preview]: Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "Audit",
          "Disabled"
        ],
        "defaultValue": "Audit"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.AppPlatform/Spring"
          },
          {
            "anyOf": [
              {
                "field": "Microsoft.AppPlatform/Spring/trace.enabled",
                "notEquals": "true"
              },
              {
                "field": "Microsoft.AppPlatform/Spring/trace.state",
                "notEquals": "Succeeded"
              }
            ]
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/0f2d8593-4667-4932-acca-6a9f187af109",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "0f2d8593-4667-4932-acca-6a9f187af109"
}