Check ID:
Provider: AWS
Service:
Severity: HIGH
Categories:
Resource type:
sagemaker_notebook_instance_without_direct_internet_access_configuredProvider: AWS
Service:
sagemakerSeverity: HIGH
Categories:
internet-exposed, trust-boundaries, gen-aiResource type:
AwsSageMakerNotebookInstanceWhat this check verifies
Amazon SageMaker notebook instances are evaluated for theDirectInternetAccess setting.
Instances with it disabled use only VPC connectivity; instances with it enabled permit direct outbound internet access.
Risk
Direct internet access from notebooks weakens egress control, risking confidentiality and integrity. Adversaries or unvetted code can exfiltrate data, download malware, or run command-and-control. Public package installs bypass inspection, enabling supply-chain tampering and lateral movement from compromised sessions.Recommendation
Disable direct internet access (DirectInternetAccess: Disabled) and place notebooks in private subnets.
Use VPC endpoints/PrivateLink for required services, restrict egress with allowlists and least privilege security groups, and apply defense in depth with network isolation and monitoring of outbound traffic.
Remediation
- Terraform
- Native IaC
- Dashboard steps
References
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/aws/SageMaker/notebook-direct-internet-access.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/interface-vpc-endpoint.html
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_notebook_instance_without_direct_internet_access_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