Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resource DCR_AllSystemInformation 'Microsoft.Insights/dataCollectionRules@2021-0
'Microsoft-Event'
]
xPathQueries: [
'*[System[(Level=4 or Level=0)]]'
'System!*[System[(Level=1 or Level=2 or Level=3 or Level=4 or Level=0)]]'
]
name: 'AllSystemInformation'
}
Expand Down Expand Up @@ -95,7 +95,7 @@ resource DCR_AllSystemCritical 'Microsoft.Insights/dataCollectionRules@2021-04-0
'Microsoft-Event'
]
xPathQueries: [
'*[System[(Level=1)]]'
'System!*[System[(Level=1)]]'
]
name: 'AllSystemCritical'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,3 @@ $paramObject = @{
# All test Azure resources including NSGs & NSG Security Rukles as both top level resources
New-AzManagementGroupDeployment -Location $variables.location -TemplateFile '.\02 Deployment of Azure resources\parentTemplates\main.bicep' -ManagementGroupId $variables.ManagementGroupId -Name $TimeNow -TemplateParameterObject $paramObject -Verbose









# DO NOT DEPLOY
# NSGs with the Security Rules as sub-resources
New-AzManagementGroupDeployment -Location $location -TemplateFile './01 Deployment of Azure resources\parentTemplates\main(nsg).bicep' -ManagementGroupId $ManagementGroupId -Name $TimeNow -Verbose
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ targetScope = 'managementGroup'

param PaaS_ResourceGroupName string = 'Company_PaaS'
param IaaS_ResourceGroupName string = 'Company_IaaS'
param DCR_Name string = 'AllSystemInformation'
param DCR_Name string = 'DCR-AllSystemInformation'

param listOfAllowedLocations array = [
'australiaeast'
Expand Down