Appearance
Protect applications
Protection runs in the inspection service, which Envoy calls for every request. Each protection is a module with its own settings and mode. The modules run in a fixed order and the pipeline combines their results into one verdict: allow, block, challenge or log, with the reasons that produced it. Every block is explained by an event.
What it is made of
| Module | What it checks | Page |
|---|---|---|
| Access control | Allow and deny lists by address, country and path; rate limits; bans. | Access control |
| Bot mitigation | Automated clients. | Bot mitigation |
| API protection | Schemas, authentication and limits for API requests. | API protection |
| File uploads | File types and antivirus checks. | File uploads |
| Positive model | A learned model of normal requests. | Positive model |
| Signatures | Attack signatures (OWASP CRS and our own rules). | Signatures |
| Session protections | Session and cookie behaviour. | Sessions, Cookies |
| Response checks | Headers, cookies, CORS and CSRF, data leak masking. | Response headers, CSRF and CORS, Data leaks |
| Virtual patches | Narrow rules from scanner findings. | Virtual patches |
| Client identity | What counts as one client for events, ownership, flows and budgets. | Client identity |
| SSRF guard | Request values that make the application fetch internal destinations; the outbound proxy. | SSRF guard, Outbound proxy |
How it works
For each request, the modules run in this order. Each module may allow the request to continue, log a finding or stop it.
The order is: allow and deny lists, bot mitigation, rate limiting, API schema enforcement, file uploads, the positive model, signatures and session protections. Response checks run on the answer from the server and edit it (headers, cookies, masking); response bodies are read only when a module asks for them.
Each module has a time budget and every request has size limits. A module that fails follows the application's failure policy. For details, see Modes and limits.
Modes and roles
Every application and every module runs in detect (log only) or block. New applications start in detect. A module in block inside an application in detect logs only: the weaker mode wins. A virtual patch set to enforce is the one exception and blocks even in detect.
Role operator changes the protection of an application. viewer reads it. Scoped accounts act only on their applications.
How changes take effect
A change previews its diff, takes a comment and becomes a numbered configuration version. Inspection services accept the version before Envoy gets it, and a rejected version leaves the previous one active. You can compare versions and roll back under System > Configuration versions.