Source |
Repository Community-Policy GitHub JSON Community-Policy GitHub |
|||||||||||||||||||||||||||||||||||
Display name | SQL Server Auditing Settings must log to specified Workspace | |||||||||||||||||||||||||||||||||||
Id | 2372a6b7-9b11-4d33-8d7b-38930308b451 | |||||||||||||||||||||||||||||||||||
Version | 1.0.0 Details on versioning |
|||||||||||||||||||||||||||||||||||
Category | SQL Microsoft Learn |
|||||||||||||||||||||||||||||||||||
Description | This compliments an existing built-in Policy: https://github.com/Azure/azure-policy/blob/master/built-in-policies/policyDefinitions/SQL/DataConnectosSqServerLogs_PolicyAssignment.json. This Policy is designed to detect if the Workspace configured for your audit settings has been changed and if so, change them back. | |||||||||||||||||||||||||||||||||||
Mode | Indexed | |||||||||||||||||||||||||||||||||||
Type | Custom Community | |||||||||||||||||||||||||||||||||||
Effect | Default DeployIfNotExists Allowed DeployIfNotExists, AuditIfNotExists, Disabled |
|||||||||||||||||||||||||||||||||||
RBAC role(s) |
|
|||||||||||||||||||||||||||||||||||
Rule aliases | THEN-ExistenceCondition (4)
|
|||||||||||||||||||||||||||||||||||
Rule resource types | IF (1) Microsoft.Sql/servers/databases |
|||||||||||||||||||||||||||||||||||
JSON |
|