Control: 2 WorkSpaces root volumes should be encrypted at rest
Description
This control checks whether a root volume in an Amazon WorkSpaces WorkSpace is encrypted at rest. The control fails if the WorkSpace root volume isn't encrypted at rest.
Data at rest refers to data that's stored in persistent, non-volatile storage for any duration. Encrypting data at rest helps you protect its confidentiality, which reduces the risk that an unauthorized user can access it.
Remediation
To encrypt a WorkSpaces root volume, see Encrypt a WorkSpace in the Amazon WorkSpaces Administration Guide.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.foundational_security_workspaces_2
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.foundational_security_workspaces_2 --share
SQL
This control uses a named query:
select arn as resource, case when root_volume_encryption_enabled then 'ok' else 'alarm' end as status, case when root_volume_encryption_enabled then title || ' root volume encryption enabled.' else title || ' root volume encryption disabled.' end as reason , region, account_idfrom aws_workspaces_workspace;