Checks/Aws/Test-WorkspacesVolumeEncryptionEnabled.ps1
|
function Test-WorkspacesVolumeEncryptionEnabled { <# .SYNOPSIS Amazon WorkSpaces workspace root and user volumes are encrypted .DESCRIPTION **Amazon WorkSpaces** evaluates **encryption at rest** on each workspace's EBS volumes. It checks whether the **root** and **user** volumes are encrypted with a KMS key and identifies workspaces where either volume is unencrypted. .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: workspaces_volume_encryption_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check workspaces_volume_encryption_enabled for reference.', 'N/A', 'workspaces Resources') } |