Checks/Aws/Test-SagemakerTrainingJobsVolumeAndOutputEncryptionEnabled.ps1

function Test-SagemakerTrainingJobsVolumeAndOutputEncryptionEnabled {
    <#
    .SYNOPSIS
        Amazon SageMaker training job volume has KMS encryption enabled

    .DESCRIPTION
        **Amazon SageMaker training jobs** use **KMS encryption** for their attached ML storage volumes via `VolumeKmsKeyId`.
        
        The finding identifies training jobs where the volume encryption key is not configured.

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

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