Checks/Aws/Test-RdsSnapshotsEncrypted.ps1
|
function Test-RdsSnapshotsEncrypted { <# .SYNOPSIS RDS DB instance snapshot or DB cluster snapshot is encrypted .DESCRIPTION **RDS DB snapshots** and **DB cluster snapshots** are evaluated for **encryption at rest**, identifying snapshots created with a KMS key versus unencrypted ones. .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: rds_snapshots_encrypted [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check rds_snapshots_encrypted for reference.', 'N/A', 'rds Resources') } |