Appearance
Limits and defaults Since v0.2
This page lists the defaults and bounds that configuration validation and the inspection pipeline enforce. It is for operators who plan capacity or wonder why a request was refused. A value outside an allowed range is rejected when you validate or apply the configuration.
See the effective values
waap apps get -app NAMEshows each application setting with its value, default, whether you set it, and its range.waap apps fieldslists every key with its default and range.waap settings get SECTIONdoes the same for the settings shared by every application (events,traffic,analytics, and others).waap config showprints the active configuration document.
For details, see CLI reference.
In the tables, a setting written as fixed is a constant in the product with no key to change it. Sizes use binary units (1MiB is 1048576 bytes). Durations use Go syntax (720h, not days).
Mode and failure policy
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
applications[].policy.mode | detect (a new application always starts here) | detect, block | Whether the application only logs or also stops attacks. | Modes and limits |
applications[].policy.on_inspection_failure | fail_open | fail_open, fail_closed | What happens when inspection errors, a module stops at its budget, or Envoy cannot reach the inspection service. | Modes and limits |
applications[].policy.allowed_methods | GET, HEAD, POST, OPTIONS, PUT, PATCH, DELETE | uppercase HTTP methods | Methods the application accepts. | Modes and limits |
applications[].policy.block_response.status | 403 | 400 to 599 | Status sent with the block page. | Modes and limits |
Virtual patch enforce: block | follows the application mode | per patch | A proven patch blocks even when the application is in detect. | Virtual patches |
Request limits
Refused over-limit requests get 413 (body) or 431 (headers), with an event that explains why.
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
applications[].policy.limits.request_body | 1MiB | 1 byte to 64 MiB | Request body bytes accepted and inspected. | Modes and limits |
applications[].policy.limits.header_count | 100 | 1 to 1000 | Request headers per request. | Modes and limits |
applications[].policy.limits.header_bytes | 32KiB | 1 KiB to 1 MiB | Bytes of all request headers together. | Modes and limits |
applications[].policy.limits.arguments | 1000 | 1 to 10000 | Query and body parameters per request. | Modes and limits |
applications[].policy.limits.module_budget | 50ms | 1ms to 5s | Inspection time one module may take per request. | Modes and limits |
applications[].policy.allowed_methods list | the seven methods above | no duplicates | Methods accepted. | Modes and limits |
| fixed: block page size | 64KiB | 64 KiB | Size of an uploaded replacement block page. | Modes and limits |
| fixed: exceptions per application | none | at most 1000 | Entries in policy.exceptions. | Rule exclusions |
| fixed: virtual patches per application | none | at most 1000 patches, 20 paths each | Entries in policy.virtual_patches. | Virtual patches |
Signatures
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
applications[].policy.signatures.paranoia_level | 1 | 1 to 4 | How many rule groups run. | Paranoia and thresholds |
applications[].policy.signatures.anomaly_threshold.inbound | 5 | 1 to 1000 | Score at which a request is acted on. | Paranoia and thresholds |
applications[].policy.signatures.anomaly_threshold.outbound | 4 | 1 to 1000 | Score at which a response is acted on. | Paranoia and thresholds |
applications[].policy.signatures.allowed_redirect_hosts | none | at most 256 entries | Hosts a redirect may name without a finding. | Answer confirmation |
API body limits
Set per application under policy.api.limits. Defaults apply when the key is empty.
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
policy.api.limits.json.depth | 32 | up to 512 | JSON objects and arrays inside each other. | Schema enforcement |
policy.api.limits.json.keys | 1000 | up to 1000000 | Members in one JSON object. | Schema enforcement |
policy.api.limits.json.key_length | 256 bytes | up to the name cap | Bytes in one member name. | Schema enforcement |
policy.api.limits.json.string_length | 64KiB | up to 64 MiB | Bytes in one string value. | Schema enforcement |
policy.api.limits.json.array_length | 10000 | up to 1000000 | Elements in one array. | Schema enforcement |
policy.api.limits.xml.depth | 32 | up to 512 | Elements inside each other. | XML and SOAP |
policy.api.limits.xml.elements | 10000 | up to 1000000 | Elements in one document. | XML and SOAP |
policy.api.limits.xml.attributes | 64 | up to 1000 | Attributes on one element. | XML and SOAP |
policy.api.limits.xml.name_length | 256 bytes | up to the name cap | Bytes in an element or attribute name. | XML and SOAP |
policy.api.limits.xml.value_length | 64KiB | up to 64 MiB | Bytes in an attribute value or one element's text. | XML and SOAP |
policy.api.grpc.message_size | 4MiB | up to 64 MiB | Bytes in one gRPC request message after decompression. | Protocols |
| fixed: API description files | none | 32 MiB together | Total size of the API description files (specifications, descriptor sets) in one configuration. | Schema enforcement |
Access control, rate limits and bans
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
policy.access.rules | none | at most 1000 rules | Access rules per application. | Access rules |
policy.access.rules[].ban_for | none (required with action ban) | 1s to 168h | How long an access rule bans a client. | Access rules |
| fixed: access rule expression | none | 2048 bytes; 1024 bytes for path_regex | Length of expr and when.path_regex. | Access rules |
ip_lists[].cidrs | none | at most 100000 inline entries | Entries in one address list. Larger lists use url. | Address lists |
ip_lists[].refresh | 1h | 5m to 168h | How often a list fetched from a URL is reloaded (https only). | Address lists |
policy.rate_limits.rules | none | at most 200 rules | Rate-limit rules per application. | Rate limits |
policy.rate_limits.rules[].limit | none (required) | 1 to 1000000 | Requests allowed per window. | Rate limits |
policy.rate_limits.rules[].per | none (required) | 1s to 24h | Length of the window. | Rate limits |
policy.rate_limits.rules[].action | block | block, log, ban | What happens over the limit. | Rate limits |
policy.rate_limits.rules[].by | client | client, consumer, all | What is counted. ban needs client. | Rate limits |
policy.rate_limits.rules[].ban_for | none (required with ban) | 1s to 168h | Length of the ban. | Rate limits |
policy.rate_limits.per_client_concurrency | 0 (no cap) | 0 to 10000 | Requests one client may have open. | Rate limits |
policy.bans | not set (no automatic bans) | all three keys below are required when set | Repeat-offender banning is off until you set it. | Bans |
policy.bans.after_blocks | none (required when bans is set) | 1 to 1000 | Blocks within the window that trigger a ban. | Bans |
policy.bans.within | none (required) | 1s to 24h | Window in which blocks are counted. | Bans |
policy.bans.for | none (required) | 1s to 168h | Length of an automatic ban. | Bans |
management.trusted_networks | empty (loopback only) | at most 1000 entries | Networks allowed to reach the management listener. | Accounts and roles |
Bots
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
policy.bots.responses | at score 30 challenge, at score 80 block | scores up to 100, at most 10 steps | The ladder from bot score to response. | Challenges |
policy.bots.tarpit.delay | none | at most 60s | How long a tarpit step holds a refusal. | Challenges |
bot_lists | none | at most 200 lists, 100000 inline entries each | Shared bot lists. | Bot catalog |
| fixed: challenge path | /.waap/ | fixed prefix | Path the challenge uses on the application's host. | Challenges |
| fixed: bot catalog entries | none | at most 500 | Your own catalog entries. | Bot catalog |
Sessions and cookies
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
policy.sessions.cookies | none | at most 8 names | Session cookies the module protects. | Session protection |
policy.sessions.bind.ipv4_prefix | 16 bits | 8 to 32 | IPv4 network size a session is bound to. | Session protection |
policy.sessions.bind.ipv6_prefix | 48 bits | 16 to 128 | IPv6 network size a session is bound to. | Session protection |
policy.sessions.grace_until | 7 days after the module is enabled from the forms or CLI | a time | End of the period in which unbound sessions only log. | Session protection |
policy.cookies.keys.keep | 4 | up to 12 | Signing keys kept for cookie protection. | Cookie protection |
File uploads and antivirus
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
policy.files.rules[].max_size | 10MiB | 1 byte to 64 MiB, and the path's request body limit must allow it | Largest file a rule accepts. | File uploads |
policy.files.rules | none | at most 64 rules, 64 paths each | File rules per application. | File uploads |
| fixed: files per request | none | 32 | Files taken from one multipart request. | File uploads |
| fixed: archive nesting | none | 3 levels | Archives inside archives that are opened. | File uploads |
| fixed: archive members | none | 1000 | Members opened from one archive. | File uploads |
| fixed: unpacked archive bytes | none | 64 MiB | Total unpacked size, also capped at 10 times the archive. | File uploads |
file_lists | none | at most 200 lists, 10000 inline hashes each | Shared file hash lists. | File uploads |
policy.files.icap.max_size | 32MiB | 1 byte to the file rule cap | Largest file sent to the antivirus server. Larger files follow oversize. | File uploads |
icap_servers[].timeout | 10s | 1s to 61s | How long a scan may take. | File uploads |
icap_servers[].max_concurrent | 32 per inspection node | 1 to 256 | Scans in progress at once. | File uploads |
icap_servers | none | at most 16 servers | Antivirus servers. | File uploads |
Event and traffic-log storage
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
events.retention | 720h (30 days) | 1h to 26280h (3 years) | How long events are kept. | Modes and limits |
events.max_events | 1000000 | 1000 to 100000000 | Event count; the oldest go first. | Modes and limits |
events.max_bytes | 2GiB | 1 MiB to 16 TiB | Event storage size; the oldest go first. | Modes and limits |
events.capture_body | each application's request_body limit | 0 to 64 KiB | Request body bytes saved with an event. 0 keeps none. | Logging and masking |
traffic.mode | all | all, sample, off | Which requests the traffic log records. An application may override it with policy.logging.traffic. | Traffic log |
traffic.sample_rate | 10 (percent) | 1 to 100 | Share of requests recorded in sample mode. | Traffic log |
traffic.retention | 168h (7 days) | 1h to 26280h | How long traffic records are kept. | Traffic log |
traffic.max_records | 50000000 | 1000 to 1000000000 | Record count per node; the oldest go first. | Traffic log |
traffic.max_bytes | 5GiB | 1 MiB to 16 TiB | Traffic store size per node; the oldest go first. | Traffic log |
traffic.body | each application's request_body limit | 0 to 64 MiB | Request body bytes kept per traffic record. | Traffic log |
traffic.response_body | false | true or false | Records response bodies. Adds latency. | Traffic log |
applications[].policy.logging.mask | off (full values kept) | off, pci | Whether logged values are masked. | Logging and masking |
| fixed: logged value size | 64KiB | 64 MiB | A value longer than its bound is cut and marked …[truncated: N bytes]. The bound is normally the application's body and header limit; 64 KiB is the fallback, 64 MiB the hard cap. | Logging and masking |
| fixed: rollup value size | 256 bytes | 256 | Bytes of a value kept in the hourly rollups behind analytics top lists. | Analytics settings and limits |
Analytics limits
Analytics queries read stored events and traffic records. The keys live under analytics.
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
analytics.max_scan_rows | 250000 | 1000 to 5000000 | Rows one query reads before it samples. | Analytics settings and limits |
analytics.max_batch_rows | 1000000 | max_scan_rows to 20000000 | Rows one page or dashboard batch reads together. | Analytics settings and limits |
analytics.query_timeout | 5s | 1s to 60s | Time one query may run (504). | Analytics settings and limits |
analytics.batch_timeout | 15s | query_timeout to 120s | Time one batch may run. | Analytics settings and limits |
analytics.max_range_traffic | 744h (31 days) | 1h to 744h, at most traffic.retention | Longest range of a traffic query. | Analytics settings and limits |
analytics.max_range_events | 2160h (90 days) | 1h to 8784h | Longest range of an events query. | Analytics settings and limits |
analytics.max_buckets | 360 | 60 to 1440 | Points in one time series. | Analytics settings and limits |
analytics.max_top_n | 100 | 10 to 500 | Values in one top list. | Analytics settings and limits |
analytics.max_concurrent | 2 per node | 1 to 16 | Queries running at once. | Analytics settings and limits |
analytics.max_queued | 8 per node | 1 to 64 | Queries waiting for a slot; more answer 429. | Analytics settings and limits |
analytics.per_user_per_minute | 60 per node | 1 to 1000 | Analytics requests per user per minute. | Analytics settings and limits |
analytics.cache_ttl | 30s | 1s to 10m | How long a repeated query is answered from memory. | Analytics settings and limits |
For the remaining analytics keys (sample_above_rows, rollup_min_range), see Analytics settings and limits.
Delivery and upstreams
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
applications[].upstream.connect_timeout | 5s | 1ms to 60s | Time to connect to an upstream server. | Server pools |
applications[].upstream.health_check.interval | 5s | 1s to 5m | Time between health probes. | Server health |
applications[].upstream.health_check.timeout | 2s | above 0, shorter than the interval | Time one probe may take. | Server health |
applications[].upstream.health_check.healthy_after | 2 | 1 to 10 | Passing probes before a server is used again. | Server health |
applications[].upstream.health_check.unhealthy_after | 3 | 1 to 10 | Failing probes before a server is removed. | Server health |
listeners[].tls.min_version | 1.2 | TLS versions | Lowest TLS version a HTTPS listener accepts. | Virtual servers |
server_pools | none | at most 1024 pools, 256 servers each | Shared pools. | Server pools |
vips | none | at most 1024 | Virtual IP addresses. | VIPs |
High availability
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
ha.heartbeat_interval | 200ms | 50ms to 5s | Time between heartbeats to the peer. | Failover |
ha.peer_timeout | 1s | at least 3 heartbeats, at most 30s | Silence after which the peer is considered down. | Failover |
ha.lease | 3s | more than peer_timeout plus one heartbeat, at most 1m | How long the active role is held without renewal. | Failover |
ha.announce.count | 3 | 0 to 20 | Address announcements after a takeover. | Failover |
ha.announce.interval | 200ms | 10ms to 2s | Time between those announcements. | Failover |
ha.virtual_addresses | none | at most 8 | Addresses the active node holds. | Form a pair |
ha.reachability | none | at most 4 host:port targets | TCP targets a node checks (for example the gateway) to judge its own network health. | Failover |
ha.probe_port | the first listener's port | 0 to 65535 | Port on the virtual addresses checked before a takeover. | Failover |
Management API and accounts
| Setting | Default | Allowed range / hard cap | What it limits | Guide page |
|---|---|---|---|---|
-mgmt-addr (node option) | 127.0.0.1:9443 | host:port, empty to disable | Where the management listener binds. | Accounts and roles |
| fixed: session idle limit | 15m | none | A session ends after this long without a request. | Accounts and roles |
| fixed: session length | 12h | none | A session ends after this long in any case. | Accounts and roles |
| fixed: failed sign-ins | 5 within 15m | none | Failures per account or per source before further attempts are refused until the window ends. | Accounts and roles |
| fixed: password length | 12 minimum | 12 to 256 | Characters in an account password. | Accounts and roles |
| fixed: sign-in request body | 16KiB | 16 KiB | Size of a sign-in or account request. | Accounts and roles |
| fixed: header read time | 10s | 10s | Time a client has to send the headers to the management listener. | Accounts and roles |
| fixed: configuration size | none | 4 MiB | Size of a configuration file or document. | Configuration |
| fixed: change comment and author | none | 1000 and 128 bytes | Length of the -m comment and the author stored with a version. | Configuration |
| fixed: confirmation window | 10m | 10m | How long a plan's confirmation token stays valid. | Configuration |