Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
sagemaker_models_vpc_settings_configuredProvider: AWS
Service:
sagemakerSeverity: MEDIUM
Categories:
trust-boundaries, gen-ai, internet-exposedResource type:
OtherWhat this check verifies
SageMaker models use VPC settings (VpcConfig with subnets and security groups) so inference containers communicate through a selected VPC rather than the public internet.
This evaluates whether a model defines VPC subnets for its network path.
Risk
Without VPC isolation, model traffic and data access can traverse public paths, weakening confidentiality and integrity through interception or misrouting. Missing security groups and private endpoints reduce access control, enabling excessive egress, data exfiltration, or command-and-control from compromised containers.Recommendation
Enable VPC-only networking for models by definingVpcConfig with private subnets and restrictive security groups.
Apply least privilege egress, use VPC endpoints for S3 and SageMaker runtime, avoid public routes, and implement defense in depth with segmentation and traffic monitoring.
Remediation
- Terraform
- Native IaC
- Dashboard steps
References
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = sagemaker_models_vpc_settings_configured. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks