last sync: 2025-Aug-20 17:22:59 UTC

deploy-sql-database-diag-loganalytics

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy 7226d63e-6f89-4de7-9957-43c098b1789d (1.0.0) to Azure
Display name deploy-sql-database-diag-loganalytics
Id 7226d63e-6f89-4de7-9957-43c098b1789d
Version 1.0.0
Details on versioning
Category SQL
Microsoft Learn
Description need to add description
Mode Indexed
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Contributor b24988ac-6180-42a0-ab88-20f7382dd24c
Rule aliases THEN-ExistenceCondition (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/logs.enabled microsoft.insights diagnosticSettings properties.logs[*].enabled True False
Rule resource types IF (1)
Microsoft.Sql/servers/databases
JSON
EPAC
Deploy policy 7226d63e-6f89-4de7-9957-43c098b1789d (1.0.0) to Azure