6.4.2 Automated web attack detection and prevention
Public-facing web applications must be protected by an automated technical control that constantly spots and stops web-based attacks and that, at minimum: is placed ahead of the public-facing web applications and configured to find and block web-based attacks; runs actively and is kept updated where relevant; produces audit logs; and is set either to block web-based attacks or to raise an alert that is investigated immediately. It applies to all entities with public-facing web applications. Applicability: this newer requirement takes the place of 6.4.1 from the date it became effective. Objective under the customized approach: public-facing web applications are defended against malicious attacks in real time. Future-dated: treated as a best practice up to 31 March 2025 and mandatory since then.
Source: PCI DSS v4.0.1, 6.4.2. The statement above is our statement of the clause, read from the published text and cited so you can check it against the official text, not the instrument verbatim. Open PCI DSS v4.0.1 in the compliance library.
Version 4.0.1 is the active version; 4.0 has been retired. Appendix A1 applies only to multi-tenant service providers, A2 only to card-present POS POI terminals that still use SSL or early TLS, and A3 only when a payment brand or acquirer requires it. Which requirements apply to you follows your validation type.
These are the artefacts auditors commonly ask for on this requirement, our guidance rather than text from the standard. Your assessor decides what is sufficient in your context, and asks for samples across the period when a report covers one.
system holds itEvidence a system already holds
- WAF configuration export showing blocking mode or alerting settings · SIEM / log platform
- WAF audit logs forwarded to the log management system · SIEM / log platform
- Alert investigation tickets with response timestamps · SIEM / log platform
periodic reviewEvidence produced at each review
- Rule set and signature update records · Document repository
governing documentDocuments that govern the control
- Network or architecture diagram showing the WAF or equivalent in front of every public web application · Policy repository / GRC workspace
First move
Common gaps auditors find
- WAF left in detection-only mode with alerts nobody reviews
- Managed rule sets not updated or subscription lapsed
- New public applications or API endpoints deployed outside WAF coverage
Do this for your whole sheet
Paste the rows you run your controls from and get this mapping for every control at once, with the periodic-review ones flagged and a first move per row. No account for the first run.
Build my evidence sheet6.4.1 Public web application review or automated protection · 6.4.3 Payment page script management