# waf-api ## Pages - [WAF API](https://docs.ezghcloud.com/waf-api/index.md) — EZGH WAF: web application firewalls for load balancers. A WAF runs EZGH-managed rule sets and simple rules of your own; attach it on the load balancer. Every path is under an organization; lists are paged with limit, cursor and nextCursor. - [Create a WAF](https://docs.ezghcloud.com/waf-api/CreateWaf/index.md) - [Delete a WAF](https://docs.ezghcloud.com/waf-api/DeleteWaf/index.md) — 409 waf_in_use while a load balancer has it attached. - [Get a managed rule set](https://docs.ezghcloud.com/waf-api/GetManagedRuleSet/index.md) — The name's slash is %2F: ezgh%2Fcore. - [Get a WAF](https://docs.ezghcloud.com/waf-api/GetWaf/index.md) - [List the managed rule sets](https://docs.ezghcloud.com/waf-api/ListManagedRuleSets/index.md) - [List a project's WAFs, newest first](https://docs.ezghcloud.com/waf-api/ListWafs/index.md) - [Replace a WAF](https://docs.ezghcloud.com/waf-api/UpdateWaf/index.md) — The whole WAF. A field the API had at launch takes its default when omitted; a field added since keeps its current value when omitted (on the WAF, its logging, a managed rule set of the same name or a rule of the same name and action), so a client built before it can't reset it, and null sets it to its default. It reaches the load balancers it's attached to in seconds. - [AsnCondition](https://docs.ezghcloud.com/waf-api/schemas/AsnCondition/index.md) — The client's address is announced by one of the autonomous systems (DB-IP Lite, refreshed monthly). - [Condition](https://docs.ezghcloud.com/waf-api/schemas/Condition/index.md) - [ContainsCondition](https://docs.ezghcloud.com/waf-api/schemas/ContainsCondition/index.md) — The target contains the value. - [CountryCondition](https://docs.ezghcloud.com/waf-api/schemas/CountryCondition/index.md) — The client's address is in one of the countries (DB-IP Lite, refreshed monthly). - [EqualsCondition](https://docs.ezghcloud.com/waf-api/schemas/EqualsCondition/index.md) — The target is the value. - [Error](https://docs.ezghcloud.com/waf-api/schemas/Error/index.md) — Every non-2xx answer. Clients branch on code, never on message. - [IpSetCondition](https://docs.ezghcloud.com/waf-api/schemas/IpSetCondition/index.md) — The client's address is in one of the blocks. - [Logging](https://docs.ezghcloud.com/waf-api/schemas/Logging/index.md) - [ManagedRuleSet](https://docs.ezghcloud.com/waf-api/schemas/ManagedRuleSet/index.md) - [ManagedRuleSetEntry](https://docs.ezghcloud.com/waf-api/schemas/ManagedRuleSetEntry/index.md) - [ManagedRuleSetList](https://docs.ezghcloud.com/waf-api/schemas/ManagedRuleSetList/index.md) - [QuotaExceeded](https://docs.ezghcloud.com/waf-api/schemas/QuotaExceeded/index.md) — quota_exceeded: the quota that refused the request. Never with Retry-After. - [RateLimit](https://docs.ezghcloud.com/waf-api/schemas/RateLimit/index.md) - [RegexCondition](https://docs.ezghcloud.com/waf-api/schemas/RegexCondition/index.md) — A regular expression in the syntax both RE2 and Rust's regex accept: no backreferences or lookaround. - [Rule](https://docs.ezghcloud.com/waf-api/schemas/Rule/index.md) - [RuleOverride](https://docs.ezghcloud.com/waf-api/schemas/RuleOverride/index.md) - [Tags](https://docs.ezghcloud.com/waf-api/schemas/Tags/index.md) — At most 50; keys 1-128 characters (ezgh: is reserved), values at most 256. - [Waf](https://docs.ezghcloud.com/waf-api/schemas/Waf/index.md) - [WafInput](https://docs.ezghcloud.com/waf-api/schemas/WafInput/index.md) — Every field but name is optional; an omitted one takes its default. On a replace, a field added after launch keeps its current value when omitted, and null sets it to its default. - [WafList](https://docs.ezghcloud.com/waf-api/schemas/WafList/index.md)