turbot/aws_tags
GitHub
Loading controls...

Control: SageMaker models should be tagged

Description

Check if SageMaker models have at least 1 tag.

Usage

Run the control in your terminal:

steampipe check aws_tags.control.sagemaker_model_untagged

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share aws_tags.control.sagemaker_model_untagged

Plugins & Tables

SQL

select
arn as resource,
case
when tags = '{}'
or tags is null then 'alarm'
else 'ok'
end as status,
case
when tags = '{}'
or tags is null then title || ' has no tags.'
else title || ' has tags.'
end as reason,
region,
account_id
from
aws_sagemaker_model;