Learn

Handling a false positive

A false positive is a legitimate request that the firewall blocks. This can happen when normal user input looks like an attack — for example, a content editor saving HTML, or a search field that accepts SQL-like text.

Allow this here — handling a false positive

How to allow it as narrowly as possible

  1. Open the Request log and filter by Blocked (or search for the path).
  2. Find the entry for the blocked request and open it.
  3. Under Attack findings, find the finding for the specific field — for example CrossSiteScripting · xss-script-tag · Body 'content'.
  4. Click Allow this here on that row. The form is pre-filled with:
    • The route and path
    • Where in the request (e.g. Body)
    • The field name (e.g. content)
    • The signature (e.g. xss-script-tag)
  5. Review the form. Widen the field name only if needed: use items[*].html for every item of a JSON list, or X-Custom-* for a group of headers.
  6. Leave Kinds of attack unticked — the specific signature is narrower and safer.
  7. Add a short reason so you remember why this exclusion exists.
  8. Save. The exclusion is a new configuration version — audited and reversible.

Checking the exclusion

Go to Test a request and send the same request. The result should show "Skipped by exclusion 1 …" for the allowed field. The same text in any other field on that path is still blocked.

Finding and removing exclusions

The Rules page lists every exclusion with a one-line summary. Click the bin to remove one.

Example: a CMS editor saves HTML

A content editor saves a page with HTML. The gateway blocks the POST /cms/save request because it contains <script> in the body field.

  1. Open the blocked entry in the request log.
  2. Find CrossSiteScripting · xss-script-tag · Body 'body' in the findings.
  3. Click Allow this here. Check that the exclusion targets exactly: route = cms, path = /cms/save, field = body, signature = xss-script-tag.
  4. Save. The editor can now save HTML. A <script> tag in any other field (e.g. a URL or a header) is still blocked.