{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ManagedClusterSecurityProfile",
  "title": "ManagedClusterSecurityProfile",
  "type": "object",
  "description": "Security profile for the container service cluster.",
  "properties": {
    "defender": {
      "type": "object",
      "description": "Microsoft Defender settings for the security profile.",
      "properties": {
        "logAnalyticsWorkspaceResourceId": {
          "type": "string",
          "description": "Resource ID of the Log Analytics workspace."
        },
        "securityMonitoring": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean",
              "description": "Whether to enable Defender threat detection."
            }
          }
        }
      },
      "example": "example_value"
    },
    "workloadIdentity": {
      "type": "object",
      "description": "Workload identity settings for the security profile.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether to enable workload identity."
        }
      },
      "example": "example_value"
    },
    "imageCleaner": {
      "type": "object",
      "description": "Image Cleaner settings for the security profile.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether to enable Image Cleaner."
        },
        "intervalHours": {
          "type": "integer",
          "format": "int32",
          "description": "Image Cleaner scanning interval in hours."
        }
      },
      "example": "example_value"
    }
  }
}