Checks/Aws/Test-GlueEtlJobsCloudwatchLogsEncryptionEnabled.ps1

function Test-GlueEtlJobsCloudwatchLogsEncryptionEnabled {
    <#
    .SYNOPSIS
        Glue ETL job has CloudWatch Logs encryption enabled

    .DESCRIPTION
        **AWS Glue ETL jobs** are evaluated for a **security configuration** with **CloudWatch Logs encryption** (`SSE-KMS`) enabled. Jobs without a security configuration, or with CloudWatch Logs encryption set to `DISABLED`, are highlighted.

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

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