SageMaker data quality job definitions should have inter-container traffic encryption enabled
Flags Amazon SageMaker data quality monitoring job definitions whose NetworkConfig.EnableInterContainerTrafficEncryption is disabled. Without it, traffic between containers in a distributed processing job is unencrypted on the data plane network.
- service
- SageMaker
- severity
- Medium
- scope
- evaluated in every region
How to fix it
Set at creation: fixing it means replacing the resource.
Set NetworkConfig.EnableInterContainerTrafficEncryption to true on the data quality job definition the finding names by ARN. There is no update operation for one, so create a replacement identical apart from this setting, repoint every monitoring schedule and anything else that names the old definition, and only then delete it. The replacement carries a new name. Where the definition has a VpcConfig, its security group needs inbound and outbound rules for the encrypted transport.
With Terraform
resource "aws_sagemaker_data_quality_job_definition" "this" {
role_arn = var.role_arn
data_quality_app_specification {
image_uri = var.monitor_image_uri
}
data_quality_job_input {
endpoint_input {
endpoint_name = var.endpoint_name
}
}
data_quality_job_output_config {
monitoring_outputs {
s3_output {
s3_uri = var.report_s3_uri
}
}
}
job_resources {
cluster_config {
instance_count = var.instance_count
instance_type = var.instance_type
volume_size_in_gb = var.volume_size_in_gb
}
}
network_config {
enable_inter_container_traffic_encryption = true
}
}
See which of your accounts this check is failing on.
Book a demo