turbot/aws_compliance

Query: sagemaker_notebook_instance_root_access_disabled

Usage

powerpipe query aws_compliance.query.sagemaker_notebook_instance_root_access_disabled

SQL

select
arn as resource,
case
when root_access = 'Disabled' then 'ok'
else 'alarm'
end as status,
case
when root_access = 'Disabled' then title || ' root access disabled.'
else title || ' root access enabled.'
end as reason
, region, account_id
from
aws_sagemaker_notebook_instance;

Controls

The query is being used by the following controls: