Checks/Aws/Test-DmsEndpointMongodbAuthenticationEnabled.ps1
|
function Test-DmsEndpointMongodbAuthenticationEnabled { <# .SYNOPSIS DMS MongoDB endpoint has an authentication mechanism enabled .DESCRIPTION **AWS DMS MongoDB endpoints** use an authentication mechanism. Configuration expects `AuthType` not `no` (e.g., `password`) with an `authMechanism` such as `scram_sha_1` or `mongodb_cr`. .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: dms_endpoint_mongodb_authentication_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check dms_endpoint_mongodb_authentication_enabled for reference.', 'N/A', 'dms Resources') } |