Checks/Aws/Test-ElasticbeanstalkEnvironmentEnhancedHealthReporting.ps1

function Test-ElasticbeanstalkEnvironmentEnhancedHealthReporting {
    <#
    .SYNOPSIS
        Elastic Beanstalk environment has enhanced health reporting enabled

    .DESCRIPTION
        **Elastic Beanstalk environments** have health reporting set to `enhanced` instead of basic.

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

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