Skip to content

Commit

Permalink
Update defender.bicep with current securitypricing resource types (#722)
Browse files Browse the repository at this point in the history
Deploy MLZ with deployDefender=$true

Used Get-AzSecurityPricing to get the latest offerings

Expected behavior
All Defender Resources are set to Standard (Status should be On)

Actual behavior
New Resource Types are missed
  • Loading branch information
LManning-Dev authored Jul 25, 2022
1 parent 585546c commit 0b8718a
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions src/bicep/modules/defender.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,30 @@ Licensed under the MIT License.
targetScope = 'subscription'

param bundle array = (environment().name == 'AzureCloud') ? [
'KeyVaults'
'SqlServers'
'VirtualMachines'
'StorageAccounts'
'ContainerRegistry'
'KubernetesService'
'SqlServerVirtualMachines'
'AppServices'
'Dns'
'Arm'
'AppServices'
'Arm'
'ContainerRegistry'
'Containers'
'CosmosDbs'
'Dns'
'KeyVaults'
'KubernetesService'
'OpenSourceRelationalDatabases'
'SqlServers'
'SqlServerVirtualMachines'
'StorageAccounts'
'VirtualMachines'
] : (environment().name == 'AzureUSGovernment') ? [
'SqlServers'
'VirtualMachines'
'StorageAccounts'
'ContainerRegistry'
'KubernetesService'
'Dns'
'Arm'
'Arm'
'ContainerRegistry'
'Containers'
'Dns'
'KubernetesService'
'OpenSourceRelationalDatabases'
'SqlServers'
'SqlServerVirtualMachines'
'StorageAccounts'
'VirtualMachines'
] : []

@description('Turn automatic deployment by Defender of the MMA (OMS VM extension) on or off')
Expand Down

0 comments on commit 0b8718a

Please sign in to comment.