Skip to content

Commit 9c8960e

Browse files
committed
fix(sagemaker): correct Risk for transient volume encryption key
SageMaker uses a transient key (discarded after encryption) when VolumeKmsKeyId is omitted for processing and batch transform ML storage volumes, not an AWS managed KMS key. Update both check metadata Risk fields accordingly while keeping the CMK recommendation.
1 parent 91abda3 commit 9c8960e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

prowler/providers/aws/services/sagemaker/sagemaker_processing_job_volume_encrypted_with_cmk/sagemaker_processing_job_volume_encrypted_with_cmk.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"ResourceType": "Other",
1414
"ResourceGroup": "ai_ml",
1515
"Description": "**Amazon SageMaker processing jobs** are assessed for **at-rest encryption** of their attached ML storage volumes using a **customer-managed KMS key**. The finding reflects whether `ProcessingResources.ClusterConfig.VolumeKmsKeyId` is set on the job.",
16-
"Risk": "A processing job without `VolumeKmsKeyId` falls back to an **AWS managed key**, which cannot carry a custom key policy and whose **rotation**, **access** and **lifecycle** are outside the account owner's control. Intermediate processing data on the volume then cannot be independently revoked, and grants to that data cannot be audited or restricted through a key policy.",
16+
"Risk": "When `VolumeKmsKeyId` is omitted, SageMaker encrypts the processing job ML storage volume with a **transient key** and discards it immediately after encryption, not an AWS managed KMS key. That transient key cannot carry a custom key policy, so **rotation**, **access**, and **lifecycle** remain outside the account owner's control. Intermediate processing data on the volume then cannot be independently revoked, and grants to that data cannot be audited or restricted through a key policy. Configure `VolumeKmsKeyId` when customer-managed key policy and audit controls are required.",
1717
"RelatedUrl": "",
1818
"AdditionalURLs": [
1919
"https://docs.aws.amazon.com/sagemaker/latest/dg/key-management.html",

prowler/providers/aws/services/sagemaker/sagemaker_transform_job_volume_encrypted_with_cmk/sagemaker_transform_job_volume_encrypted_with_cmk.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"ResourceType": "Other",
1414
"ResourceGroup": "ai_ml",
1515
"Description": "**Amazon SageMaker transform jobs** are assessed for **at-rest encryption** of their attached ML storage volumes using a **customer-managed KMS key**. The finding reflects whether `TransformResources.VolumeKmsKeyId` is set on the job.",
16-
"Risk": "A transform job without `VolumeKmsKeyId` falls back to an **AWS managed key**, which cannot carry a custom key policy and whose **rotation**, **access** and **lifecycle** are outside the account owner's control. Intermediate inference data on the volume then cannot be independently revoked, and grants to that data cannot be audited or restricted through a key policy.",
16+
"Risk": "When `VolumeKmsKeyId` is omitted, SageMaker encrypts the batch transform job ML storage volume with a **transient key** and discards it immediately after encryption, not an AWS managed KMS key. That transient key cannot carry a custom key policy, so **rotation**, **access**, and **lifecycle** remain outside the account owner's control. Intermediate inference data on the volume then cannot be independently revoked, and grants to that data cannot be audited or restricted through a key policy. Configure `VolumeKmsKeyId` when customer-managed key policy and audit controls are required.",
1717
"RelatedUrl": "",
1818
"AdditionalURLs": [
1919
"https://docs.aws.amazon.com/sagemaker/latest/dg/key-management.html",

0 commit comments

Comments
 (0)