Checks/Aws/Test-DirectoryserviceDirectoryLogForwardingEnabled.ps1
|
function Test-DirectoryserviceDirectoryLogForwardingEnabled { <# .SYNOPSIS Directory Service directory has log forwarding to CloudWatch Logs enabled .DESCRIPTION **AWS Directory Service directories** are configured to forward domain controller security event logs to **CloudWatch Logs** using log subscriptions. Evaluation identifies directories with or without this forwarding in place. .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: directoryservice_directory_log_forwarding_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check directoryservice_directory_log_forwarding_enabled for reference.', 'N/A', 'directoryservice Resources') } |