Control: SageMaker notebook instances should run on supported platforms
Description
This control checks whether an Amazon SageMaker AI notebook instance is configured to run on a supported platform, based on the platform identifier specified for the notebook instance. The control fails if the notebook instance is configured to run on a platform that's no longer supported.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.sagemaker_notebook_instance_supported_platform_versionSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.sagemaker_notebook_instance_supported_platform_version --shareSQL
This control uses a named query:
select  arn as resource,  case    when platform_identifier like any ($1) then  'ok'    else 'alarm'  end as status,  case    when platform_identifier like any ($1) then title || ' runs on supported platform version(' || platform_identifier || ').'    else title || ' does not run on supported platform version(' || platform_identifier || ').'  end as reason    , region, account_idfrom  aws_sagemaker_notebook_instance;
Params
| Args | Name | Default | Description | Variable | 
|---|---|---|---|---|
| $1 | sagemaker_notebook_instance_supported_platform_version |  | A list of supported platform versions for SageMaker notebook instance. |