AWS Sagemaker data quality job not encrypting model artifacts with KMS misconfiguration detected in
Rule Details
Cortex AppSec Rule ID
APPSEC_AWS_367
Category - Subcategory
Storage - Encryption
Provider
AWS
Severity
LOW
Framework
CloudFormation, Terraform, Terraform Plan
Impact
This rule checks whether Amazon SageMaker Data Quality Jobs leverage AWS Key Management Service (KMS) to encrypt model artifacts. Unencrypted model artifacts pose a significant security concern. Without encryption, sensitive information within your models could be exposed to malicious actors. This could lead to data breaches, compromising the integrity and confidentiality of the data used by your models. KMS provides a secure solution for managing encryption keys, ensuring the protection of your machine learning assets.
How to Fix
Resource: aws_sagemaker_data_quality_job_definition
Arguments: data_quality_job_output_config/kms_key_id
Encrypt your AWS SageMaker Data Quality Job output. Specify the KMS key in the data_quality_job_output_config block of your Terraform configuration file, as displayed in the example below.
[source,go]
resource "aws_sagemaker_data_quality_job_definition" "example" { ...
data_quality_job_output_config {
kms_key_id = "arn:aws:kms:us-west-2:123456789012:key/my-existing-kms-key-id" ... }
... }
Last updated
Was this helpful?
