Control: SageMaker notebook instances should be in a VPC
Description
This control checks whether SageMaker Notebook instances are deployed in a VPC.
Usage
Run the control in your terminal:
powerpipe control run aws_perimeter.control.sagemaker_notebook_instance_in_vpc
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_perimeter.control.sagemaker_notebook_instance_in_vpc --share
Steampipe Tables
SQL
select arn as resource, case when subnet_id is not null then 'ok' else 'alarm' end as status, case when subnet_id is not null then title || ' in VPC.' else title || ' not in VPC.' end as reason , region, account_idfrom aws_sagemaker_notebook_instance;