| name | cis-azure-foundations-7.6 |
| description | Ensure Network Watcher is 'Enabled' for Azure Regions that are in use |
| category | cis-azure-foundations |
| version | 5.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","networking","nsg"] |
| cis_id | 7.6 |
| cis_benchmark | CIS Microsoft Azure Foundations Benchmark v5.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | ["cis-azure-foundations-7.5","cis-azure-foundations-7.8"] |
| prerequisites | [] |
| severity_boost | {} |
Ensure Network Watcher is 'Enabled' for Azure Regions that are in use
Description
Enable Network Watcher for physical regions in Azure subscriptions.
Rationale
Network diagnostic and visualization tools available with Network Watcher help users understand, diagnose, and gain insights to the network in Azure.
Impact
There are additional costs per transaction to run and store network data. For high-volume networks these charges will add up quickly.
Audit Procedure
Using Azure Portal
- Use the Search bar to search for and click on the
Network Watcher service.
- From the Overview menu item, review each Network Watcher listed, and ensure that a network watcher is listed for each region in use by the subscription.
Using Azure CLI
az network watcher list --query "[].{Location:location,State:provisioningState}" -o table
This will list all network watchers and their provisioning state. Ensure provisioningState is Succeeded for each network watcher.
az account list-locations --query "[?metadata.regionType=='Physical'].{Name:name,DisplayName:regionalDisplayName}" -o table
This will list all physical regions that exist in the subscription. Compare this list to the previous one to ensure that for each region in use, a network watcher exists with provisioningState set to Succeeded.
Using PowerShell
Get-AzNetworkWatcher
Make sure each watcher is set with the ProvisioningState setting set to Succeeded and all Locations that are in use by the subscription are using a watcher.
Using Azure Policy
- Policy ID: b6e2945c-0b7b-40f5-9233-7a5323b5cdc6 - Name: 'Network Watcher should be enabled'
Expected Result
A Network Watcher should exist with ProvisioningState set to Succeeded for every Azure region in use by the subscription.
Remediation
Opting out of Network Watcher automatic enablement is a permanent change. Once you opt-out you cannot opt-in without contacting support.
To manually enable Network Watcher in each region where you want to use Network Watcher capabilities, follow the steps below.