waf

Manage AWS WAF web ACLs, rules, IP sets, and logging via AWS CLI.

3|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/david-2814/claw-aws --skill waf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: waf
Source: https://github.com/david-2814/claw-aws/tree/main/skills/waf
Command: npx skills add https://github.com/david-2814/claw-aws --skill waf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AWS WAF is critical to protect web apps, but managing web ACLs, rules, IP sets, and logging across CloudFront, ALB, and API Gateway via CLI can be error-prone and repetitive. This Skill provides a structured, repeatable approach to create, update, and audit WAF configurations, reducing manual effort and misconfigurations.

Core Features & Use Cases

  • Manage web ACLs, rules, IP sets, and logging via AWS CLI across regional and CloudFront scopes.
  • Create and update rules, associate web ACLs with ALB/CloudFront/API Gateway, and inspect or tailor protections for specific environments.
  • Use cases include quick deployment of standardized protections, auditing of existing WAF configurations, and automated safety checks before changes.

Quick Start

Install the AWS WAF skill and begin by listing available web ACLs in your target region to verify access.

Frequently Asked Questions about waf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage AWS WAF web ACLs and rules across CloudFront and ALB?

Manage AWS WAF web ACLs by using AWS CLI commands to create, update, and inspect protections across CloudFront, ALB, and API Gateway with proper regional or CLOUDFRONT scope handling.

How do I enable AWS WAF logging for web ACLs on CloudFront?

Enable AWS WAF logging for web ACLs by applying the put-logging-configuration operation through the AWS CLI to capture and audit traffic data across your protected resources.

Can I associate a web ACL with an API Gateway using the AWS CLI?

Yes, you can associate a web ACL with API Gateway, ALB, and CloudFront environments by executing the associate operation through the AWS CLI to attach protections to your target resources.

What is the best way to audit existing AWS WAF configurations for misconfigurations?

The best way to audit AWS WAF configurations is by running list and get operations via the AWS CLI to inspect existing web ACLs, rules, and IP sets for misconfigurations across your environments.

Does this approach handle both regional and CloudFront scopes for AWS WAF rules?

Yes, this approach handles both regional and CLOUDFRONT scopes, ensuring that web ACLs, rules, and IP sets are correctly applied whether they protect ALB, API Gateway, or CloudFront distributions.