Check if Amazon SageMaker Notebook instances have root access disabled
Risk
Users with root access have administrator privileges, users can access and edit all files on a notebook instance with root access enabled
Run this check with Prowler CLI
prowler aws --checks sagemaker_notebook_instance_root_access_disabled
ARN template
arn:aws:sagemaker:region:account-id:notebook-instance
Remediation
WUIReferences:
Set the RootAccess field to Disabled. You can also disable root access for users when you create or update a notebook instance in the Amazon SageMaker console.
Source Code
Resource Type
AwsSageMakerNotebookInstance