Checks/Azure/Test-NetworkWatcherEnabled.ps1

function Test-NetworkWatcherEnabled {
    <#
    .SYNOPSIS
        Network Watcher is enabled for all locations in the subscription

    .DESCRIPTION
        **Azure Network Watcher** presence across the subscription's regions. The assessment checks that a Network Watcher instance exists in every subscription location where resources may be deployed.

    .PARAMETER Check
        CIEMCheck object containing check metadata.
    #>

    [CmdletBinding()]
    [OutputType([PSCustomObject[]])]
    param(
        [Parameter(Mandatory)]
        [CIEMCheck]$Check
    )

    $ErrorActionPreference = 'Stop'

    # TODO: Implement check logic based on Prowler check: network_watcher_enabled

    [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check network_watcher_enabled for reference.', 'N/A', 'network Resources')
}