turbot/aws_tags

Control: WAFV2 regex pattern sets should be tagged

Description

Check if WAFV2 regex pattern sets have at least 1 tag.

Usage

Run the control in your terminal:

powerpipe control run aws_tags.control.wafv2_regex_pattern_set_untagged

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_tags.control.wafv2_regex_pattern_set_untagged --share

Steampipe 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_wafv2_regex_pattern_set;