Initiatives usage
Records: 10 25 100 200 Use the filters above each column to filter and limit table data. Advanced searches can be performed by using the following operators:
< ,
<= ,
> ,
>= ,
= ,
* ,
! ,
{ ,
} ,
|| ,
&& ,
[empty] ,
[nonempty] ,
rgx: Learn more ? Page 1 of 1
Clear SQL Clear Deprecated GA
Initiative DisplayName
Initiative Id
Initiative Category
State
[Deprecated]: Deploy SQL Database built-in SQL security configuration
Deploy-Sql-Security
SQL
Deprecated
Deploy SQL Database built-in SQL security configuration
Deploy-Sql-Security_20240529
SQL
GA
No results
JSON
Copy definition Copy definition 4 EPAC EPAC
{ 7 items policyType: "Custom" , mode: "Indexed" , displayName: "Deploy SQL database auditing settings" , description: "Deploy auditing settings to SQL Database when it not exist in the deployment" , metadata: { 4 items version: "1.0.0" , category: "SQL" , source: "https://github.com/Azure/Enterprise-Scale/" , alzCloudEnvironments: [ 3 items "AzureCloud" , "AzureChinaCloud" , "AzureUSGovernment" ] } , parameters: { 1 item } , policyRule: { 2 items if: { 2 items field: "type" , equals: "Microsoft.Sql/servers/databases" } , then: { 2 items effect: "[parameters('effect')]" , details: { 5 items type: "Microsoft.Sql/servers/databases/auditingSettings" , name: "default" , existenceCondition: { 1 item allOf: [ 2 items { 2 items field: "Microsoft.Sql/servers/databases/auditingSettings/state" , equals: "enabled" } , { 2 items field: "Microsoft.Sql/servers/databases/auditingSettings/isAzureMonitorTargetEnabled" , equals: "true" } ] } , deployment: { 1 item properties: { 3 items mode: "Incremental" , template: { 6 items $schema: "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#" , contentVersion: "1.0.0.0" , parameters: { 3 items } , variables : {} , resources: [ 1 item { 4 items name: 🔍 "[
concat(
parameters('sqlServerName'),
'/',
parameters('sqlServerDataBaseName'),
'/default'
)
]", type: "Microsoft.Sql/servers/databases/auditingSettings" , apiVersion: "2017-03-01-preview" , properties: { 3 items state: "enabled" , auditActionsAndGroups: [ 15 items "BATCH_COMPLETED_GROUP" , "DATABASE_OBJECT_CHANGE_GROUP" , "SCHEMA_OBJECT_CHANGE_GROUP" , "BACKUP_RESTORE_GROUP" , "APPLICATION_ROLE_CHANGE_PASSWORD_GROUP" , "DATABASE_PRINCIPAL_CHANGE_GROUP" , "DATABASE_PRINCIPAL_IMPERSONATION_GROUP" , "DATABASE_ROLE_MEMBER_CHANGE_GROUP" , "USER_CHANGE_PASSWORD_GROUP" , "DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP" , "DATABASE_OBJECT_PERMISSION_CHANGE_GROUP" , "DATABASE_PERMISSION_CHANGE_GROUP" , "SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP" , "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP" , "FAILED_DATABASE_AUTHENTICATION_GROUP" ] , isAzureMonitorTargetEnabled: true } } ] , outputs : {} } , parameters: { 3 items } } } , roleDefinitionIds: [ 1 item "/providers/Microsoft.Authorization/roleDefinitions/056cd41c-7e88-42e1-933e-88ba6a50c9c3" SQL Security Manager ] } } } }