turbot/steampipe-mod-aws-compliance

Control: SageMaker notebook instance encryption should be enabled

Description

To help protect data at rest, ensure encryption with AWS Key Management Service (AWS KMS) is enabled for your SageMaker notebook.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.sagemaker_notebook_instance_encryption_at_rest_enabled

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
arn as resource,
case
when kms_key_id is null then 'alarm'
else 'ok'
end as status,
case
when kms_key_id is null then title || ' encryption at rest enabled'
else title || ' encryption at rest not enabled'
end as reason
, region, account_id
from
aws_sagemaker_notebook_instance;

Tags