turbot/aws_compliance

Query: sagemaker_notebook_instance_direct_internet_access_disabled

Usage

powerpipe query aws_compliance.query.sagemaker_notebook_instance_direct_internet_access_disabled

SQL

select
arn as resource,
case
when direct_internet_access = 'Enabled' then 'alarm'
else 'ok'
end status,
case
when direct_internet_access = 'Enabled' then title || ' direct internet access enabled.'
else title || ' direct internet access disabled.'
end reason
, region, account_id
from
aws_sagemaker_notebook_instance;

Controls

The query is being used by the following controls: