Checks/Azure/Test-NetworkFlowLogCapturedSent.ps1

function Test-NetworkFlowLogCapturedSent {
    <#
    .SYNOPSIS
        Network Watcher has flow logs enabled and sent to a Log Analytics workspace

    .DESCRIPTION
        **Azure Network Watcher** has **NSG flow logs** enabled and configured to forward traffic records to a centralized **Log Analytics workspace**

    .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_flow_log_captured_sent

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