File tree 1 file changed +21
-2
lines changed
1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ var uniqueName = uniqueString(resourceGroup().id)
23
23
@description ('The name of the SQL logical server.' )
24
24
var serverName = 'sqlserver-${uniqueName }'
25
25
@description ('The name of the SQL Database.' )
26
- var sqlDBName = 'chattyIoDatabase -${uniqueName }'
27
- var logAnalyticsWorkspaceName = 'chattyIoDatabase -${uniqueName }'
26
+ var sqlDBName = 'extraneosFeatching -${uniqueName }'
27
+ var logAnalyticsWorkspaceName = 'extraneosFeatching -${uniqueName }'
28
28
29
29
30
30
resource sqlServer 'Microsoft.Sql/servers@2023-08-01-preview' = {
@@ -100,6 +100,25 @@ resource sqlVulnerabilityAssessment 'Microsoft.Sql/servers/sqlVulnerabilityAsses
100
100
]
101
101
}
102
102
103
+ resource solutions_SQLAuditing_githubmetrics 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = {
104
+ name : 'SolutionSQLAuditing${logAnalyticsWorkspace .name }'
105
+ location : location
106
+ plan : {
107
+ name : 'SQLAuditing${sqlDB .name }'
108
+ promotionCode : ''
109
+ product : 'SQLAuditing'
110
+ publisher : 'Microsoft'
111
+ }
112
+ properties : {
113
+ workspaceResourceId : logAnalyticsWorkspace .id
114
+ containedResources : [
115
+ '${resourceId ('Microsoft.OperationalInsights/workspaces' , logAnalyticsWorkspace .name )}/views/SQLSecurityInsights'
116
+ '${resourceId ('Microsoft.OperationalInsights/workspaces' , logAnalyticsWorkspace .name )}/views/SQLAccessToSensitiveData'
117
+ ]
118
+ referencedResources : []
119
+ }
120
+ }
121
+
103
122
resource sqlDB 'Microsoft.Sql/servers/databases@2023-08-01-preview' = {
104
123
parent : sqlServer
105
124
name : sqlDBName
You can’t perform that action at this time.
0 commit comments