turbot/azure_tags

Control: Route tables should be tagged

Description

Check if Route tables have at least 1 tag.

Usage

Run the control in your terminal:

powerpipe control run azure_tags.control.route_table_untagged

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run azure_tags.control.route_table_untagged --share

Steampipe Tables

SQL

select
id as resource,
case
when tags is not null or tags::text <> '{}' then 'ok'
else 'alarm'
end as status,
case
when tags is not null or tags::text <> '{}' then title || ' has tags.'
else title || ' has no tags.'
end as reason,
resource_group, subscription_id
from
azure_route_table;