turbot/aws_compliance

Query: sagemaker_training_job_volume_and_data_encryption_enabled

Usage

powerpipe query aws_compliance.query.sagemaker_training_job_volume_and_data_encryption_enabled

SQL

select
arn as resource,
case
when output_data_config ->> 'KmsKeyId' is null or output_data_config ->> 'KmsKeyId' = '' then 'alarm'
else 'ok'
end as status,
case
when output_data_config ->> 'KmsKeyId' is null or output_data_config ->> 'KmsKeyId' = '' then title || ' volume and output data encryption disabled.'
else title || ' volume and output data encryption enabled.'
end as reason
, region, account_id
from
aws_sagemaker_training_job;

Controls

The query is being used by the following controls: