Checks/Aws/Test-NetworkfirewallDeletionProtection.ps1

function Test-NetworkfirewallDeletionProtection {
    <#
    .SYNOPSIS
        Network Firewall has deletion protection enabled

    .DESCRIPTION
        **AWS Network Firewall firewalls** have **deletion protection** enabled (`DeleteProtection=true`).

    .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: networkfirewall_deletion_protection

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