Skip to content

Instantly share code, notes, and snippets.

@daveRendon
Created October 14, 2021 23:21
Show Gist options
  • Save daveRendon/419e2abe450760c47052ad58c0875514 to your computer and use it in GitHub Desktop.
Save daveRendon/419e2abe450760c47052ad58c0875514 to your computer and use it in GitHub Desktop.
deploy-log-analytics-sentinel
param workspaceName string = 'azinsider'
param location string = resourceGroup().location
resource workspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' = {
name: workspaceName
location: location
properties: {
retentionInDays: 30
sku: {
name: 'PerGB2018'
}
}
}
resource solution 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = {
name: 'SecurityInsights(${workspace.name})'
location: location
properties: {
workspaceResourceId: workspace.id
}
plan: {
name: 'SecurityInsights(${workspace.name})'
product: 'OMSGallery/SecurityInsights'
publisher: 'Microsoft'
promotionCode: ''
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment