Checks/Aws/Test-DocumentdbClusterCloudwatchLogExport.ps1
|
function Test-DocumentdbClusterCloudwatchLogExport { <# .SYNOPSIS DocumentDB cluster exports audit and profiler logs to CloudWatch Logs .DESCRIPTION Amazon DocumentDB clusters are evaluated for exporting `audit` and `profiler` logs to **CloudWatch Logs**. Clusters missing one or both log types are identified as lacking complete log export configuration. .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: documentdb_cluster_cloudwatch_log_export [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check documentdb_cluster_cloudwatch_log_export for reference.', 'N/A', 'documentdb Resources') } |