turbot/steampipe-mod-aws-compliance

Control: 1 WorkSpaces user volumes should be encrypted at rest

Description

This control checks whether a user volume in an Amazon WorkSpaces WorkSpace is encrypted at rest. The control fails if the WorkSpace user 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 user 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_1

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.foundational_security_workspaces_1 --share

SQL

This control uses a named query:

select
arn as resource,
case
when user_volume_encryption_enabled then 'ok'
else 'alarm'
end as status,
case
when user_volume_encryption_enabled then title || ' user volume encryption enabled.'
else title || ' user volume encryption disabled.'
end as reason
, region, account_id
from
aws_workspaces_workspace;

Tags