The system-generated Recommendations of Avi Load Balancer help you ascertain and remediate false positives.
With the latest version of the Avi Load Balancer, you can do the following:
Apply Log Recommendation to pre-CRS and post-CRS rules.
Add Recommendations for request time and regex complexity transgressions.
Add Recommendations on REQUEST_COOKIES_NAMES and REQUEST_HEADERS_NAMES.
To view the Recommendations:
Navigate to
and click a virtual service associated with WAF.Navigate to the Logs tab. Click the Recommendations icon corresponding to a
FLAGGED
orREJECTED
log entry.
The Recommendation pop-up window appears with one or more Recommendations to remediate false positives.
Review the proposed Recommendations. Expand the Recommendation to get more details. These details include a reasoning and a risk assessment for this change.
After reviewing the Recommendation, if you decide that the log entry represents a false positive, click ACCEPT RECOMMENDATION to apply the change to the system configuration.
The system can recommend multiple changes at the same time. In this case, clicking ACCEPT RECOMMENDATION will apply all of the Recommendations to the active configuration.
When system Recommendations are already applied to the configuration, the status message All Recommendations are already applied is displayed in the Recommendation page.
When the system is not able to generate a Recommendation, you can still use the existing Exceptions system.
Recommended Assisted Workflow
The following are the recommended workflow steps to configure Exceptions:
This workflow is the older way of using Recommendations. This is replaced by the Recommendation system discussed earlier in this topic.
Using WAF Analytics and finding possible false positives.
False positives can occur in large numbers and for different client IP addresses.
To understand the context for false positives, consult the application owner if required.
In the log, choose the WAF hit entry that you want to add the Exception for, and click + Add Exception.
The modal dialog generates a set of suggested values.
These values are pre-computed from the log entry and related findings. In many cases it is advised to review and if required, change (broaden) the scope of the values.
Save the Exception to apply it to the policy.