Two instances share one allowance.
- Session signatures are validated.
- Product requests share an endpoint allowance.
- Search requests consume credits based on query cost.
- Redis outage tests check browsing and sensitive endpoints.
AWS DEMO / MOCK MARKETPLACE TRAFFIC
I deployed a mock marketplace in AWS and sent test traffic through it. Here are the controls implemented through code, the WAF decisions, policies in Count mode and rule recommendations.
CONTROLS IMPLEMENTED THROUGH CODE
WAF RESULTS
Actions recorded during the AWS test run.
| Rule | Action | Requests |
|---|
Snapshot of delivered WAF logs from controlled test traffic.
Count records matching traffic for review.
| Policy | Limit / min | Action |
|---|
Endpoint policies group by source address. JA4 observation groups by fingerprint.
PYTHON / LABELLED MOCK TRAFFIC
I compare application limits against labelled buyer and abuse scenarios. The results guide endpoint proposals and further WAF observation.
I test application limits using saved sample requests. I use WAF Count mode to review matching traffic before turning on blocking.
Request credits set the allowance for each session or source address. Larger searches use more credits.
P99 is the 99th percentile: 99% of measured values fall at or below this level.
| Capacity | Refill / sec | Sample abuse rejected | Buyer rejection |
|---|
DEPLOYED AWS REQUEST FLOW
I attached WAF to CloudFront. Both application instances use the same Redis allowance for each rate-limit key.
Viewer and Redis connections use TLS. CloudFront-to-ALB and ALB-to-application connections use private HTTP.
POSSIBLE PRODUCTION EXTENSION
I would add Python detections or integrate with a SIEM to flag suspicious patterns. After investigation, I would deploy WAF rules in Count mode and review traffic and buyer impact in a live dashboard. SOAR could coordinate approvals, deployment and rollback.