WebSep 13, 2024 · If you opt to use the policy that enables Azure SQL Auditing with Azure Policy and writes them to Log Analytics, then you need to select the Log Analytics workspace from the drop-down list by clicking the ellipsis [ …] as shown in the figure below. Select Log Analytics workspace WebstrongType: 'omsWorkspace' assignPermissions: true } } } policyType: 'Custom' policyRule: { if: { field: 'type' equals: 'Microsoft.Storage/storageAccounts' } then: { effect: 'deployIfNotExists' details: { type: 'Microsoft.Insights/diagnosticSettings' roleDefinitionIds: [
Need help to send only storage account resource logs tolog …
WebFeb 7, 2024 · Ah, resourceTypes too - you are right. omsWorkspace is not implemented. Policy has more strongTypes implemented than we do, so I suspect that's why you are … Web"description": "Select Log Analytics workspace from dropdown list. If this workspace is outside of the scope of the assignment you must manually grant 'Log Analytics Contributor' permissions (or similar) to the policy assignment's principal ID.", "strongType": "omsWorkspace" } }, "ascExportResourceGroupName": { "type": "String", "metadata": { almonte coin dealer
Using strong types in Azure Policy parameters · GitHub
WebSep 14, 2024 · 1 Objective. Azure resources had to be configured with diagnostic settings. To apply these settings the general approach with Azure Policies had the most advantages: Management with ARM Templates. Check for Compliance. CI/CD Integration. Azure Diagnostic Settings can be configured in several ways: Azure Portal. PowerShell. WebNov 12, 2024 · Hello @user14173614, Configure diagnostic settings for storage accounts to Log Analytics workspace Policy can be set for Storage account as well as other services … WebSep 1, 2024 · strongType: 'omsWorkspace' assignPermissions: true } } } policyType: 'Custom' policyRule: { if: { field: 'type' equals: 'Microsoft.DocumentDB/databaseAccounts' } then: { effect: 'deployIfNotExists' details: { type: 'Microsoft.Insights/diagnosticSettings' roleDefinitionIds: [ almonte diogenes