Benchmark: WAF
Description
This benchmark provides a set of controls that detect Terraform AWS WAF deviating from security best practices.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-terraform-aws-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select WAF.
Run this benchmark in your terminal:
powerpipe benchmark run terraform_aws_compliance.benchmark.waf
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run terraform_aws_compliance.benchmark.waf --share
Controls
- WAF regional web ACL logging should be enabled
- WAF regional web ACL should have at least one rule or rule group attached
- WAF regional web ACLs should have rules with actions
- WAF web ACL logging should be enabled
- WAF web ACL should have at least one rule or rule group
- WAF web ACLs should have rules with actions