---
title: Security
summary: null
url: https://www.fastly.com/documentation/reference/api/security
---

As announced on April 22, 2025, the Fastly Next-Gen WAF APIs are migrating to a new, versioned path. Legacy routes will remain available until April 22, 2026. You can find the updated routes and documentation at [Next-Gen WAF](https://www.fastly.com/documentation/reference/api/ngwaf/).

- [Client-Side Protection](https://www.fastly.com/documentation/reference/api/security/client-side-protection/) - Client-Side Protection (CSP) provides visibility and control over third-party scripts running on your web pages. Monitor script behavior, manage authorization status, and configure security policies to protect against client-side attacks like Magecart and formjacking.
- [Events](https://www.fastly.com/documentation/reference/api/security/events/) - Events are actions that the Next-Gen WAF takes as the result of regular threshold-based blocking, templated rules, and site alerts.
- [Redactions](https://www.fastly.com/documentation/reference/api/security/redactions/) - Next-Gen WAF automatically redacts known patterns of sensitive information. In addition to automatic redactions, the redactions API allows you to specify additional fields to redact from requests.
- [Requests](https://www.fastly.com/documentation/reference/api/security/requests/) - Requests lists individual requests that have been tagged with signals.
- [Rules](https://www.fastly.com/documentation/reference/api/security/rules/) - Rules allow you to allow, block, rate limit, or tag requests for an arbitrary set of conditions.
- [Time series](https://www.fastly.com/documentation/reference/api/security/timeseries/) - Time series returns data for the number of signals (e.g., XSS, SQLi, 404s) observed per minute.
- [Virtual patches](https://www.fastly.com/documentation/reference/api/security/virtual-patches/) - Virtual patching rules block or log requests matching specific vulnerabilities.
- [Workspaces](https://www.fastly.com/documentation/reference/api/security/workspaces/) - Workspaces allows you to add, edit, and delete workspaces in your account.
