Control: 6.6 Ensure that Network Watcher is 'Enabled'
Description
Enable Network Watcher for Azure subscriptions.
Network diagnostic and visualization tools available with Network Watcher help users understand, diagnose, and gain insights to the network in Azure.
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.
From Azure Portal
- Go to
Network Watcher
. - Click
Create
. - Select a
Region
from the drop-down menu. - Click
Add
.
From Azure CLI
az network watcher configure --locations <region> --enabled true --resource-group <resource_group>
Default Value
Network Watcher is automatically enabled. When you create or update a virtual network in your subscription, Network Watcher will be enabled automatically in your Virtual Network's region. There is no impact to your resources or associated charge for automatically enabling Network Watcher.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.cis_v210_6_6
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cis_v210_6_6 --share
SQL
This control uses a named query:
network_watcher_enabled