Skip to content

Commit

Permalink
Modify NSG in hub Resource Group #443
Browse files Browse the repository at this point in the history
  • Loading branch information
vidyambala committed Nov 18, 2021
1 parent 9a3529b commit ec620ee
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions src/bicep/mlz.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -324,36 +324,7 @@ param hubSubnetAddressPrefix string = '10.0.100.128/27'
param hubVirtualNetworkDiagnosticsLogs array = []
param hubVirtualNetworkDiagnosticsMetrics array = []
param hubNetworkSecurityGroupName string = 'hub-nsg'
param hubNetworkSecurityGroupRules array = [
{
name: 'allow_ssh'
properties: {
description: 'Allow SSH access from anywhere'
access: 'Allow'
priority: 100
protocol: 'Tcp'
direction: 'Inbound'
sourcePortRange: '*'
sourceAddressPrefix: '*'
destinationPortRange: '22'
destinationAddressPrefix: '*'
}
}
{
name: 'allow_rdp'
properties: {
description: 'Allow RDP access from anywhere'
access: 'Allow'
priority: 200
protocol: 'Tcp'
direction: 'Inbound'
sourcePortRange: '*'
sourceAddressPrefix: '*'
destinationPortRange: '3389'
destinationAddressPrefix: '*'
}
}
]
param hubNetworkSecurityGroupRules array = []
param hubNetworkSecurityGroupDiagnosticsLogs array = [
{
category: 'NetworkSecurityGroupEvent'
Expand Down

0 comments on commit ec620ee

Please sign in to comment.