Skip to content

WAF ​

Parity grade: A · SDK aws-sdk-go-v2/service/waf@v1.38.3 · last audited 2026-10-10 (1ecd57d33)

Category: Security · View PARITY.md on GitHub · All Services

Parity & Coverage ​

MetricValue
PARITY entries audited4 (4 ok)
Feature families16 (16 ok)
Known gapsnone
Structural gaps (can't be emulated)3
Deferred items0
Resource leaksclean

Structural Gaps ​

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • ListSubscribedRuleGroups ignores Limit/NextMarker: the marketplace-subscription list is always empty, so paging is unobservable. GetRateBasedRuleManagedKeys.NextMarker is documented by the SDK as not currently used.
  • GetSampledRequests always returns an empty SampledRequests list: real AWS randomly samples from actual HTTP requests evaluated against the WebACL's rules. Gopherstack has no request-proxying subsystem -- it never sees or evaluates real client traffic through WAF rules, so there is no request data to sample from, ever. Producing non-empty samples would mean fabricating fictitious HTTP requests, exactly the failure mode this parity campaign exists to remove. (WebAclId existence validation IS buildable from real state and was added this pass; the sample content is not.) (bd: gopherstack-smld)
  • GetRateBasedRuleManagedKeys always returns an empty ManagedKeys list: real AWS derives it from live request-rate tracking against the rule's RateLimit over a trailing 5-minute window, which requires the same real-traffic evaluation GetSampledRequests lacks. Nothing in InMemoryBackend's state (RateBasedRule config, WebACL associations) encodes request rates, so there is no rate to threshold against. (RuleId existence validation IS buildable and already present.) (bd: gopherstack-smld)

Audited Operations ​

4 audited operations
OperationWireErrorsStatePersist
GetChangeTokenokokokok
GetChangeTokenStatusokokokok
GetSampledRequestsokokokn/a
GetRateBasedRuleManagedKeysokokokn/a

Audited Feature Families ​

Feature FamilyStatus
WebACLok
Ruleok
RateBasedRuleok
IPSetok
ByteMatchSetok
SizeConstraintSetok
SqlInjectionMatchSetok
XssMatchSetok
GeoMatchSetok
RegexPatternSetok
RegexMatchSetok
RuleGroupok
Tagsok
Loggingok
PermissionPolicyok
Migrationok

Released under the MIT License.