turbot/aws_compliance

Query: sagemaker_notebook_instance_in_vpc

Usage

powerpipe query aws_compliance.query.sagemaker_notebook_instance_in_vpc

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_id
from
aws_sagemaker_notebook_instance;

Controls

The query is being used by the following controls: