Control: SageMaker endpoint configuration 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 endpoint.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.sagemaker_endpoint_configuration_encryption_at_rest_enabledSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.sagemaker_endpoint_configuration_encryption_at_rest_enabled --shareSQL
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 disabled.'    else title || ' encryption at rest enabled.'  end as reason    , region, account_idfrom  aws_sagemaker_endpoint_configuration;