turbot/aws_perimeter
GitHub
Loading controls...

Control: SageMaker models should be in a VPC

Description

This control checks whether SageMaker models are deployed in a VPC.

Usage

Run the control in your terminal:

steampipe check aws_perimeter.control.sagemaker_model_in_vpc

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share aws_perimeter.control.sagemaker_model_in_vpc

Plugins & Tables

SQL

select
arn as resource,
case
when vpc_config is not null then 'ok'
else 'alarm'
end as status,
case
when vpc_config is not null then title || ' in VPC.'
else title || ' not in VPC.'
end as reason,
region,
account_id
from
aws_sagemaker_model;

Tags