turbot/steampipe-mod-aws-compliance

Control: 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.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.workspaces_workspace_root_volume_encryption_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.workspaces_workspace_root_volume_encryption_enabled --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_id
from
aws_workspaces_workspace;

Tags