Skip to content

Instantly share code, notes, and snippets.

@TheCloudScout
Created February 2, 2022 08:51
Show Gist options
  • Save TheCloudScout/655f6881aa91d4adb88d238f79ba18d3 to your computer and use it in GitHub Desktop.
Save TheCloudScout/655f6881aa91d4adb88d238f79ba18d3 to your computer and use it in GitHub Desktop.
"resources": [
{
"type": "microsoft.operationalinsights/workspaces",
"apiVersion": "2021-06-01",
"name": "[parameters('logAnalyticsName')]",
"location": "[parameters('location')]",
"properties": {
"sku": "[variables('sku')]",
"retentionInDays": "[parameters('retentionInDays')]",
"workspaceCapping": {
"dailyQuotaGb": -1
},
"publicNetworkAccessForIngestion": "Enabled",
"publicNetworkAccessForQuery": "Enabled"
}
},
{
"type": "Microsoft.OperationsManagement/solutions",
"apiVersion": "2015-11-01-preview",
"name": "[variables('azureSentinelSolutionName')]",
"location": "[parameters('location')]",
"dependsOn": [
"[resourceId('microsoft.operationalinsights/workspaces', parameters('logAnalyticsName'))]"
],
"plan": {
"name": "[variables('azureSentinelSolutionName')]",
"promotionCode": "",
"product": "OMSGallery/SecurityInsights",
"publisher": "Microsoft"
},
"properties": {
"workspaceResourceId": "[resourceId('microsoft.operationalinsights/workspaces', parameters('logAnalyticsName'))]",
"sku": "[variables('sentinelSku')]"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment