Checks/Aws/Test-GuarddutyEksRuntimeMonitoringEnabled.ps1

function Test-GuarddutyEksRuntimeMonitoringEnabled {
    <#
    .SYNOPSIS
        GuardDuty detector has EKS Runtime Monitoring enabled

    .DESCRIPTION
        GuardDuty detectors are evaluated for **EKS Runtime Monitoring** being enabled for Amazon EKS. The configuration is at the detector level and relates to visibility into *process, file, and network* activity on EKS nodes and containers.

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

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