Overcast is alpha — behaviour and APIs may change between releases. Pin your version and read the changelog before upgrading.

overcast

WAF — AWS WAF v2

Quick start, the Web ACL and tag operations that work, and why no request is ever evaluated against a stored rule.

Web ACL records for SDK and AWS::WAFv2::WebACL workflows. Rules are stored verbatim and never evaluated — nothing is allowed or blocked.

Status: ⚠️ Partial

Quick start

export AWS_ENDPOINT_URL=http://localhost:4566

aws wafv2 create-web-acl \
  --name api-acl --scope REGIONAL \
  --default-action Allow={} \
  --visibility-config SampledRequestsEnabled=false,CloudWatchMetricsEnabled=false,MetricName=api

aws wafv2 list-web-acls --scope REGIONAL

Any credentials work; with none configured, run eval "$(overcast env)" first — see Using AWS SDKs and CLI.

What works

AreaBehaviour
Web ACLsCreateWebACL, GetWebACL, ListWebACLs, DeleteWebACL in both REGIONAL and CLOUDFRONT scope
TagsTagResource, UntagResource, ListTagsForResource by Web ACL ARN
ConsoleCreate, list, detail and delete views, plus a node on the system map

Differences from AWS

AreaOn AWSOvercast
Rule evaluationRequests to API Gateway, CloudFront and ALBs are filteredRules are stored metadata; no request is evaluated
UpdateWebACLEdits rules and visibility config on an existing ACLNot implemented — 501 Not Implemented
LockTokenRejects a stale token with WAFOptimisticLockExceptionAccepted and ignored
AssociationAssociateWebACL attaches an ACL to a resourceNot implemented
WAF ClassicThe AWSWAF_20150824 API is still servedNot implemented — 501 Not Implemented

Gotchas

Note

Everything unlisted above returns 501 Not Implemented rather than a success that did nothing.

Operations

All 7 listed operations are implemented. Per-operation status, notes and AWS API links: WAF v2 operations.