turbot/azure_tags

GitHub
Loading controls...

Control: Network watcher flow logs should be tagged

Description

Check if Network watcher flow logs have at least 1 tag.

Usage

Run the control in your terminal:

steampipe check azure_tags.control.network_watcher_flow_log_untagged

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share azure_tags.control.network_watcher_flow_log_untagged

Plugins & 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_network_watcher_flow_log;