Checks/Aws/Test-GlueEtlJobsJobBookmarkEncryptionEnabled.ps1

function Test-GlueEtlJobsJobBookmarkEncryptionEnabled {
    <#
    .SYNOPSIS
        Glue ETL job has Job bookmark encryption enabled

    .DESCRIPTION
        **AWS Glue ETL jobs** should link a **security configuration** with **job bookmark encryption** enabled. Bookmark encryption must not be `DISABLED` (e.g., use `CSE-KMS`). Jobs lacking a security configuration are treated as not protecting bookmark metadata.

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

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