So I saw that this steampipe table isn't listing Cloudfront related WebAcls but only listing Regional data.
Then I wrote shell script using AWS CLI query to retrieve data and find the code below,
for region in $(aws ec2 describe-regions --profile development --output text | cut -f4); do
echo "Region: ${region}"
aws wafv2 list-web-acls --profile development --scope="CLOUDFRONT" --region="${region}"
echo ""
done
And using this AWS CLI script, it is returning Cloudfront related web acls, but not from steampipe query.
Expected behavior
Steampipe query (aws_wafv2_web_acl) should return both CloudFront and Regional AWS WAF V2 Web Acls
Describe the bug I have CloudFront and Regional level AWS WAF V2 WebAcls.
aws_wafv2_web_acl query isn't listing CloudFront related Web Acls. Only Regional Web Acls are listing.
Steampipe version (
steampipe -v
) Steampipe v0.19.4Plugin version (
steampipe plugin list
) +--------------------------------------------+---------+-------------+ | Installed Plugin | Version | Connections | +--------------------------------------------+---------+-------------+ | hub.steampipe.io/plugins/turbot/aws@latest | 0.101.0 | aws_dev | | hub.steampipe.io/plugins/turbot/rss@latest | 0.4.0 | rss | +--------------------------------------------+---------+-------------+To reproduce
output: +--------+----------+ | name | scope | +--------+----------+ | XXXXXX | REGIONAL | +--------+----------+
So I saw that this steampipe table isn't listing Cloudfront related WebAcls but only listing Regional data.
Then I wrote shell script using AWS CLI query to retrieve data and find the code below,
And using this AWS CLI script, it is returning Cloudfront related web acls, but not from steampipe query.
Expected behavior Steampipe query (aws_wafv2_web_acl) should return both CloudFront and Regional AWS WAF V2 Web Acls