Attaching a WAF policy to an Avi virtual service takes one drop-down, and a policy in Enforcement mode starts blocking requests the moment it is attached1. In VMware Cloud Foundation 9.1 the decisions sit around that step: version and license tier, policy ownership in VCF Automation, Service Engine sizing and the moment a policy may block. The baseline here is VCF 9.1.1 with the October 12, 2026, patches, which do not include Avi2, and Avi 32.1.3, the version the 9.1.1 Avi features require3. Controller placement, VIP routing and Service Engine group HA modes are in the Avi Load Balancer design article.
Our recommendation is the classic WAF on 32.1.3, provider-owned policies, and Enforcement only after Evaluation and Detection have produced the evidence listed at the end. Avi 32.1.4, released on October 13, 2026, extends the WAF into Web Application and API Protection (WAAP)4, and that is a separate decision.
Version, license and signature feeds
VCF lists the built-in WAF among the features of its Avi load balancer model, for traditional and VKS workloads, under an additional entitlement5. The VCF 9.1 Avi documentation sets 32.1.1 as the minimum version compatible with VCF 9.16. One of the 9.1.1 features that need 32.1.3 is WAF for VCF Automation All Apps organizations: WAF policies defined on the Controller can be attached to Gateway API HTTPRoutes as L7 rules3. The 32.1.4 release notes say it builds on the VCF 9.1 integrations4, but no VCF 9.1 Avi page names 32.1.4. Our recommendation is to keep the Controllers on 32.1.3 until the interoperability matrix or Broadcom confirms 32.1.4 for VCF 9.1, and to start no WAAP work before then.
There is no WAF add-on to buy. Avi is licensed on data plane capacity in Service Units, and the subscription includes all features, the WAF among them. A Service Engine consumes one Service Unit per data-plane process, by default one per vCPU. Per-app licensing, at 0.25 Service Units per vCPU, is not supported for virtual services with WAF enabled7. Avi is sold as one SKU, ANS-VMW-ALB8, and the WAF FAQ points to Service Engine sizing for the WAF instead of a separate license9.
The VCF 9.1 security blueprint makes network inspection and the WAF separate recommendations: the vDefend Advanced Threat Prevention suite, with distributed IDS/IPS and NDR across all workload clusters, and an analytics-driven WAF with virtual patching, positive security models and signature detection for external-facing applications10. An external web application can need both, and only the WAF comes with the Avi subscription7. The IDS/IPS side is in the vDefend design article.
Signature delivery depends on the tier. The VCF 9.1 Avi documentation lists the Enterprise with Cloud Services tier, the default for a new Controller, and the Enterprise tier. All clouds and Service Engine groups on a Controller run in its tier, and a tier change does not disrupt traffic but deregisters the Controller from Avi Cloud Console11. Controllers in the Enterprise with Cloud Services tier receive new CRS signatures automatically, while Enterprise customers download CRS updates from the customer portal and upload them by hand12. IP reputation works only with the Cloud Services license13. Virtual patching signatures sync automatically only after the opt-in auto-sync, off by default, is enabled on a Controller connected to Cloud Console with outbound access to portal.pulse.broadcom.com. An air-gapped Controller imports a bundle from the Broadcom Support Portal instead14. Our recommendation is the Cloud Services tier with auto-sync wherever the Controller may reach Cloud Console. A dark site can run the WAF, but it needs a named owner for every CRS and virtual patching import.
Where the WAF policy sits
In VCF the provider administrator creates the WAF policies on the Avi Controller, in the tenant that corresponds to the VCF organization, either new or cloned from the default System-WAF-Policy15. That tenant is created when the provider enables the organization’s Avi quota in a region16. The organization administrator then publishes a VCF Automation blueprint that pairs an L7Rule custom resource, naming the policy, with the application’s HTTPRoute. An L7Rule can also be applied with kubectl. Application users deploy the blueprint from the catalog, and the Avi Kubernetes Operator in the Supervisor configures the matching virtual service. For Supervisor workloads, an L7Rule supports only WAF policy attachments17. Policies are tenant-scoped, so each organization needs its own policy and its own published blueprint, and the L7Rule refers to the policy only by name18.
Inside the Controller, each virtual service takes one WAF policy1. The policy carries the WAF profile, an allowlist, positive security, the CRS signatures and a Virtual Patching tab for CVE-specific rules1914. Broadcom recommends System-WAF-Policy as the starting point and a new policy, rather than an edited default, for customization. A policy that uses Application Learning cannot be shared between applications19. The profile holds reusable settings such as allowed methods, size limits and the static extensions that bypass inspection, with System-WAF-Profile for web applications and System-WAF-Profile-API for JSON or XML traffic20. Learning now sits in two virtual service policies: Application Insights collects the data, and the Positive Security policy promotes it to rules that the WAF policy uses through its positive security group21. Requests pass the allowlist, then positive security, then the signatures9.
Our recommendation is one provider baseline per organization, cloned from System-WAF-Policy, a policy of its own for every application that uses learning or positive security, and the API profile for services that speak JSON or XML. The cost is policy sprawl: every clone is a separate object to tune and keep on a current CRS version.
Signatures and CRS updates
The signature set is Avi’s CRS, built on the OWASP ModSecurity Core Rule Set and modified for Avi22. Avi 32.1.1 changed the default CRS version to CRS-2025-223, so a policy created then stays on it unless CRS auto-update is enabled or an administrator moves it. Avi 32.1.3 retired the deprecated Application Rules feed in favor of CVE-specific signatures24. Those virtual patching rules are picked per CVE in the policy and run in the policy’s own Detection or Enforcement mode14.
CRS updates can be applied per policy by hand or with the auto-update option. When a policy in Enforcement moves to a new CRS version with the option to put new rules in Evaluation mode, the new rules only report until an administrator resets them to the policy mode12. Our recommendation is to keep that option on for every enforcing policy and to make the reset a step in the change process. Broadcom gives Low as the default and recommended paranoia level, and ties higher levels to the application’s risk and the effort available for tuning9.
From Evaluation to Enforcement
Broadcom documents a three-step path. Evaluation mode, available since 31.2.1, inspects a subset of traffic with adaptive sampling that keeps Service Engine CPU below a configurable limit, 80 percent by default, and it streams requests rather than buffering them. It forces the Low paranoia level and allows no positive security, no geolocation database and no pre-CRS or post-CRS rules, and its profile limits the scanned request size to 32 KB and the execution time to 10 ms. After tuning, a seven-day WAF Evaluation Report estimates the maximum requests per second the WAF can handle for that virtual service, and Broadcom recommends finalizing sizing with its sales team. Then the policy moves to Detection with adaptive sampling switched off, goes through false-positive tuning and a few more days of testing, and only then moves to Enforcement. Broadcom advises against going from Evaluation straight to Enforcement25.
Detection evaluates the whole policy, logs every rule that matched and lets the request through. Enforcement stops at the first rule that rejects the request, logs only that rule and returns 403 by default. For new applications, Broadcom recommends the change to Enforcement once no legitimate traffic is flagged26. With mode delegation, single rules can override the policy mode, for example to enforce a few proven rules while the rest of the policy still detects19. For false positives, the virtual service logs offer recommendations on FLAGGED and REJECTED entries, and accepting one changes the live configuration. Where no recommendation is generated, exceptions remain available27. An exception puts a condition on IP, URL or parameter in front of a rule or rule group9.
Accepted recommendations change the policy, and in VCF that policy can sit behind several HTTPRoutes of one organization. Our recommendation is a separate policy for each application while it is in Detection, and recommendations on a shared policy accepted only by the provider administrator.
Sizing and logging
For WAF and the other application security features, Broadcom recommends 2 vCPUs and at least 4 GB of RAM per Service Engine, with more cores where the protected services need more performance9. CPU is a primary factor for WAF inspection. Avi advises 2 GB of memory per core, CPU reservation for Service Engines on vCenter and NSX clouds, and scale-out when CPU, memory or packet rate becomes the limit: native Layer 2 scale-out spreads a virtual service across up to four Service Engines, and ECMP Layer 3 scale-out across more28.
Parameterless GET requests for files with the profile’s static extensions bypass the WAF, and Avi publishes Layer 7 metrics for sizing: the share of requests bypassing the WAF, header count and size, POST size, parameter count and URI length29. Only the bypass share needs a WAF policy attached, for example in Evaluation mode. Service Engines collect Application Insights data and send it to the Controller for analysis, and on 32.1.3 a Controller cluster supports Application Insights on 250 virtual services with Small nodes and 750 with Large ones21. Avi 32.1.4 replaces those counts with Controller-wide budgets of learned endpoints and parameters4.
WAF entries appear in the virtual service logs, and each carries a memory_allocated field with the memory used to process the request30. An Application Security Report summarizes the WAF findings of one virtual service over seven days as a PDF31. In VCF 9.1.1, VCF Operations detects and remediates drift in the Avi syslog configuration3, and Avi 32.1.4 replaces the deprecated syslog_servers setting with syslog_server_settings4.
What WAAP adds in Avi 32.1.4
API Protection extends the WAF and Bot Management to API traffic32. The pipeline separates API from non-API traffic, compares API calls with the ingested specification and sorts endpoints into Active, Shadow, Orphan and Zombie APIs. Labels then select which engines run: rate limiting, the WAF or authentication33. On the virtual service, an API Protection policy carries the API spec, paths and schemas, and a label profile the labels34.
WAAP does not replace the WAF policy. The WAF policy stays attached to the virtual service, and the API policy switches the WAF on for selected API categories through the system label system-wafpolicy-waf_enabled. The API parser runs first, and when its action is Flag the request continues to the WAF, which can still block it, with both findings in one log entry35. Positive security cannot run without the WAF, and with API Protection, Application Insights, positive security and the WAF all enabled, only user-defined positive security rules are accepted, not learned ones36. Adding an API policy to a virtual service that already runs Application Insights clears the collected data and restarts learning4.
A new API policy flags violations by default, and each check is changed to Reject only after the flagged traffic has been confirmed as malicious37. For the initial rollout Broadcom suggests an Application Insights policy at 100 percent sampling with non-significant logs enabled, so that conforming requests are recorded as a baseline38. Bot Management needs a Controller registered with Avi Pulse and 4 GB of extra memory per Service Engine, and allocating its extra shared memory requires a reboot that can disrupt traffic39.
Service Engine groups run in Normal or WAAP mode from 32.1.4. A virtual service with an API policy must sit on a WAAP group, which has a sizing tier and counts every child virtual service as a full slot. Small, Medium and Large tiers need at least 1, 2 and 4 vCPUs with 2, 4 and 8 GB of memory and host at most 2, 5 and 10 virtual services per Service Engine. A parent and its children must fit on one engine, which leaves room for at most 1, 4 and 9 children. The mode is fixed at creation, Default-Group always stays in Normal mode, upgraded groups start in Normal mode, and a tier change does not resize existing Service Engines. Controller size also limits API Protection: a Small Controller tracks up to 7,000 API endpoints, a Large one 87,500 and an Extra Large one 350,000, further capped by Controller disk40. The VCF Automation form for organization-managed Service Engine groups has no mode field41. Our recommendation is to keep Normal virtual services off WAAP groups, since they also take slots there40.
Gates before blocking and before 32.1.4
Three 32.1.4 changes can alter what an enforcing policy blocks. Allowlist, positive security location and exclude-list entries now match against a normalized URL, so /foo/../bar is compared as /bar. SecRemoveRuleByMsg in custom rules now removes every rule whose message contains the given string, not only exact matches. CSRF protection now also covers PUT, DELETE and PATCH requests that match a CSRF rule, and the release notes ask for those rules and the affected flows to be reviewed and tested first. The upgrade also adds two allowlist rules for the WAAP labels to every policy without allowlist rules. They do nothing without an API Protection policy and can be removed. The upgrade stops when the Application Insights learning settings exceed the new budgets for the Controller size4.
The pages checked leave open whether the subscription’s all-features wording covers API Protection, which no licensing page names, how VCF Operations drift remediation treats the new syslog setting, whether a WAAP Service Engine group created on the Controller can be assigned to a VCF Automation organization, and whether VCF Automation has any path for an API policy. Our recommendation is to keep WAAP out of VCF Automation self-service until Broadcom answers them.
Before a policy moves to Enforcement:
- Avi provider administrator: 32.1.3 on the Controller. Evidence: the Controller version3.
- VCF Automation provider administrator: Avi quota for the organization in each region it uses. Evidence: the organization’s tenant on the Controller, holding its baseline policy1516.
- Avi provider administrator: the tier and feed path decided. Evidence: the Controller tier and the auto-sync setting, or for a dark site the named owner and the last CRS and bundle imports111214.
- Organization administrator: a published blueprint whose L7Rule names the organization’s policy. Evidence: a test deployment whose virtual service shows that policy attached1718.
- Application owner with the Avi provider administrator: Evaluation tuned and sized. Evidence: the seven-day WAF Evaluation Report, its requests-per-second estimate set against the expected peak925.
- Application owner: Detection with adaptive sampling off, false positives tuned and a few more days tested. Evidence: logs from a test period that covers the application’s main transactions, with no
FLAGGEDentry on legitimate traffic and no rule delegated to Enforcement252619. - Avi provider administrator: CRS auto-update with new rules in Evaluation mode on the policy, which at a dark site acts once a newer CRS file is uploaded, and the reset in the change process. Evidence: the policy settings and the change template12.
Before a Controller with enforcing policies moves to 32.1.4:
- Avi provider administrator: 32.1.4 confirmed for VCF 9.1. Evidence: the interoperability matrix entry or a written Broadcom answer.
- Avi provider administrator with each application owner: the three matching changes reviewed. Evidence: the policies exported before the upgrade and the affected CSRF flows tested4.
- Avi provider administrator: Application Insights learning within the 32.1.4 budget for the Controller size. Evidence: the sum of maximum URIs, and of maximum URIs times maximum parameters, across the Application Insights policies, set against the endpoint and parameter limits for the Controller size440.
Our recommendation is to hold Enforcement, and the upgrade, while any item in its list lacks the evidence. For a policy the safe stopping point is Detection with no rule delegated to Enforcement2519. For the upgrade it is 32.1.3 with the exported policies unchanged. A policy that blocks real users goes back to Detection, and a retry needs those FLAGGED entries resolved by a recommendation or an exception and a new test period without flags on legitimate traffic. For any other item, a retry needs that item’s evidence shown again. An upgrade stopped by the learning budget is retried after the Application Insights limits are lowered, learning is disabled or the Controller is resized4. For the policies whose matching may change, our recommendation is Detection from before the upgrade until a few days after it, accepting that they block nothing in that window, so a changed match shows up as a FLAGGED entry rather than a 403 for a real user.
Sources
Show all 41 sources
- Enabling WAF on Virtual Server
- Patch Releases 9.1.1.x
- VMware Avi Load Balancer for VCF 9.1.1 Release Notes
- Release Notes for Avi Load Balancer Version 32.1.4
- Load Balancer Models
- Upgrade Avi Load Balancer
- License Consumption and Capacity
- Licensing Overview
- FAQs
- Lateral Security for Securing VCF Against Frontier AI Era Threats
- Avi Load Balancer Licensing Tiers
- Updating CRS Rules
- IP Reputation
- Virtual Patching
- Provisioning WAF Policies for Organizations
- Getting Started with Avi Load Balancer
- Securing Applications with WAF Protection
- Sample Deployment for Configuring WAF Protection with an L7Rule
- Configuring WAF Policy
- Configuring WAF Profile
- Application Insights
- WAF CRS Rule Set
- Release Notes for Avi Load Balancer Version 32.1.1
- Release Notes for Avi Load Balancer Version 32.1.3
- WAF Evaluation
- WAF Mode
- Reviewing Recommendations to Remediate False Positives
- Sizing Service Engines
- Metrics for WAF Sizing
- WAF Log Analytics
- Application Security Report
- API Protection
- Avi API Protection Workflow
- Architecture and Core Configuration Objects
- Integrating WAF with API Protection via Labels
- Consideration for Features Combinations
- Modifying Violation Actions from Flag to Reject
- Configuring End-to-End API Protection
- BOT Management
- System Limits and Sizing for API Protection
- Create Service Engine Groups