List a project's WAFs, newest first
https://waf-api.ezghcloud.com/v1/organizations/{orgId}/projects/{projectId}/wafsAuthorization
Path parameters
Query parameters
Returns
200
A page of WAFs.
- wafsarray ofobject{ … }required
19 properties
- rulesarray ofobject{ … }required
Custom rules, top to bottom; the first that ends a request wins.
5 properties
- conditionsarray ofIpSetConditionorAsnConditionorCountryConditionorRegexConditionorContainsConditionorEqualsConditionrequired
All must match.
6 variants
One of the following:
- IpSetCondition{ … }
3 properties
- cidrsarray ofstringrequired
IPv4 and IPv6 addresses and CIDR blocks.
- negatebooleanrequired
Match when the condition doesn't hold. Default false.
- typeunknownrequired
- AsnCondition{ … }
3 properties
- negatebooleanrequired
Match when the condition doesn't hold. Default false.
- numbersarray ofintegerrequiredmaximum: 4294967295, minimum: 1
- typeunknownrequired
- CountryCondition{ … }
3 properties
- codesarray ofstringrequired
ISO 3166-1 alpha-2 codes.
pattern: ^[A-Z]{2}$ - negatebooleanrequired
Match when the condition doesn't hold. Default false.
- typeunknownrequired
- RegexCondition{ … }
5 properties
- caseSensitivebooleanrequired
Default false.
- negatebooleanrequired
Match when the condition doesn't hold. Default false.
- targetstringrequired
path, query, method, body (the inspected part), header: or cookie:; a name is 1-64 letters, digits, - and _.
pattern: ^(path|query|method|body|(header|cookie):[A-Za-z0-9_-]{1,64})$ - typeunknownrequired
- valuestringrequired
At most 1,024 bytes.
maxLength: 1024
- ContainsCondition{ … }
5 properties
- caseSensitivebooleanrequired
Default false.
- negatebooleanrequired
Match when the condition doesn't hold. Default false.
- targetstringrequired
path, query, method, body (the inspected part), header: or cookie:; a name is 1-64 letters, digits, - and _.
pattern: ^(path|query|method|body|(header|cookie):[A-Za-z0-9_-]{1,64})$ - typeunknownrequired
- valuestringrequired
At most 1,024 bytes.
maxLength: 1024
- EqualsCondition{ … }
5 properties
- caseSensitivebooleanrequired
Default false.
- negatebooleanrequired
Match when the condition doesn't hold. Default false.
- targetstringrequired
path, query, method, body (the inspected part), header: or cookie:; a name is 1-64 letters, digits, - and _.
pattern: ^(path|query|method|body|(header|cookie):[A-Za-z0-9_-]{1,64})$ - typeunknownrequired
- valuestringrequired
At most 1,024 bytes.
maxLength: 1024
rateLimit only; null otherwise.
2 variants
One of the following:
- RateLimit{ … }
2 properties
- limitintegerrequiredmaximum: 100000, minimum: 1
- windowSeconds60or300or600required
- null
400
invalid_request (with issues), invalid_cursor, or the endpoint's own 400 codes.
401
unauthenticated: no credential, or one that doesn't check out.
403
access_denied: the caller's policies don't allow the action; forbidden_origin: a cookie-authenticated write from an origin that isn't allowed; spend_limit_reached.
404
not_found: unknown, malformed, or in an organization the caller isn't in.
429
too_many_requests, with Retry-After; or quota_exceeded (a rate, usage or concurrency quota, with quota), never with Retry-After.
500
internal_error: a bug; the details are in the logs, under the request ID.
503
unavailable: a dependency the request needs is down. Retry after Retry-After.