Virtual Network Network Watcher should be enabled Affecting Monitor service in Azure


Severity

0.0
medium
0
10
    Severity Framework
    Snyk CCSS
    Rule category
    Monitoring / Network

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Azure CIS-Controls ISO-27001 NIST-800-53 SOC-2
  • Snyk ID SNYK-CC-00661
  • credit Snyk Research Team

Description

Virtual Network Network Watcher should be enabled. Network diagnostic and visualization tools available with Network Watcher help users understand, diagnose, and gain insights to the network in Azure.

How to fix?

Virtual Network Network Watcher should be enabled.

Example Configuration

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "resources": [
        {
          "type": "Microsoft.Network/virtualNetworks",
            "apiVersion": "2020-11-01",
            "name": "example-661-allowed1",
            "location": "japanwest",
            "properties": {
                "addressSpace": {
                    "addressPrefixes": [
                        "10.0.0.0/16"
                    ]
                },
                "subnets": [
                    {
                        "name": "default",
                        "properties": {
                            "addressPrefix": "10.0.0.0/24"
                        }
                    }
                ]
            }
        },

        {
            "type": "Microsoft.Network/networkWatchers",
            "apiVersion": "2021-02-01",
            "name": "example-661-allowed1",
            "location": "japanwest",
            "properties": {}
        }
    ]

}