> For the complete documentation index, see [llms.txt](https://support.attackforge.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.attackforge.com/app/getting-started/advanced-filtering.md).

# Advanced Filtering

## Overview <a href="#overview" id="overview"></a>

AttackForge projects build up a lot of data: hundreds of vulnerabilities, assets and test cases. Advanced filtering helps you find what you need quickly, and save your filters so you can run the same search again later.

You'll find advanced filtering in the **Filters** section of a table, and when you choose a filter on an individual column.

Contains, Starts With and Ends With cover most searches. Wildcard and Regex find several variations in one search. Regex is the only filter that's case sensitive by default.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FDok2YQTaMHA9kbRLfOb6%2Fadvanced-filtering-at-a-glance.svg?alt=media&amp;token=08f7a616-ddc8-4f80-8388-3c165ff54533" alt=""><figcaption></figcaption></figure>

## Why use advanced filtering <a href="#why-use-advanced-filtering" id="why-use-advanced-filtering"></a>

* **Find things fast.** Narrow hundreds of records down to the few you need.
* **Catch every variation.** Wildcards and regular expressions find findings that are written in different ways, such as "XSS" and "Cross-Site Scripting".
* **Repeat your searches.** Save a filter, and run it again whenever you need it.
* **Build precise views.** Combine filters, exclude results, and match whole words or exact case.

## Who benefits <a href="#who-benefits" id="who-benefits"></a>

| Who                          | How                                                                              |
| ---------------------------- | -------------------------------------------------------------------------------- |
| **Testers**                  | Find similar findings across a project, and check for duplicates                 |
| **Delivery and QA managers** | Find findings that need review, or that are missing information                  |
| **Remediation owners**       | See only the findings for their assets or teams                                  |
| **Security and risk teams**  | Build saved views for regular reporting, such as every open OWASP Top 10 finding |

## Choose a filter type <a href="#choose-a-filter-type" id="choose-a-filter-type"></a>

| Filter          | Matches                         | Case                           | Best for                                     |
| --------------- | ------------------------------- | ------------------------------ | -------------------------------------------- |
| **Contains**    | The text anywhere in the field  | Not case sensitive, by default | Quick searches                               |
| **Starts With** | Fields that begin with the text | Not case sensitive, by default | Codes and prefixes, such as IDs              |
| **Ends With**   | Fields that end with the text   | Not case sensitive, by default | Suffixes, such as file extensions or domains |
| **Wildcard**    | A pattern, using `*` and `?`    | Not case sensitive, by default | Several variations in one search             |
| **Regex**       | A regular expression            | **Case sensitive, by default** | Complex patterns                             |

### Filter a table <a href="#filter-a-table" id="filter-a-table"></a>

1. Open the **Filters** section of the table, or choose the filter on the column you want to filter.
2. Choose the field, such as **Vulnerability title**.
3. Choose the filter type: **Contains**, **Starts With**, **Ends With**, **Wildcard** or **Regex**.
4. Enter what you're looking for.
5. Optionally, turn on additional filters, such as **Does Not**, **Match Whole Word** or **Match Case**.
6. To use the filter again later, save it with [Custom Views](https://support.attackforge.com/app/getting-started/custom-views.md).

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FMZ1IkxIg7AUnGnAPe8Gd%2FScreenshot%202026-11-06%20at%201.47.28%E2%80%AFpm.png?alt=media&amp;token=3b8258a3-4954-4f2b-b1d4-62f20a01972c" alt=""><figcaption></figcaption></figure>

## Additional filters <a href="#additional-filters" id="additional-filters"></a>

| Option               | What it does                                | Available for                              |
| -------------------- | ------------------------------------------- | ------------------------------------------ |
| **Does Not**         | Shows the records that **don't** match      | All five filter types                      |
| **Match Whole Word** | Only matches the text as a whole word       | Contains, Starts With, Ends With           |
| **Match Case**       | Only matches the exact upper and lower case | Contains, Starts With, Ends With, Wildcard |

Regex doesn't have Match Case. To make a regex search ignore case, click **flags** and choose **insensitive**.

## How each filter works <a href="#how-each-filter-works" id="how-each-filter-works"></a>

The examples below filter the **Vulnerability title** field for `xss`, across these four vulnerabilities:

1. Reflected XSS
2. Reflected Cross-Site Scripting (XSS)
3. Xss Identified in Application Login Page
4. Stored xss Leads to Stolen Session Token

| Filter for `xss` | On its own | With Match Whole Word | With Match Case |
| ---------------- | ---------- | --------------------- | --------------- |
| **Contains**     | All four   | 1, 3 and 4            | Only 4          |
| **Starts With**  | Only 3     | Only 3                | None            |
| **Ends With**    | Only 1     | Only 1                | None            |

## Contains <a href="#contains" id="contains"></a>

Matches if the text appears anywhere in the field. Contains isn't case sensitive by default, so `xss` matches all four titles.

* With **Match Whole Word**, title 2 doesn't match, because the brackets in "(XSS)" are part of the word.
* With **Match Case**, only title 4 matches, because it's the only one with "xss" in lower case.

## Starts With <a href="#starts-with" id="starts-with"></a>

Matches if the field begins with the text. Starts With isn't case sensitive by default, so `xss` only matches title 3, "Xss Identified in Application Login Page".

* **Match Whole Word** still matches title 3.
* **Match Case** matches nothing, because title 3 starts with a capital X.

## Ends With <a href="#ends-with" id="ends-with"></a>

Matches if the field ends with the text. Ends With isn't case sensitive by default, so `xss` only matches title 1, "Reflected XSS". Title 2 ends with a bracket, so it doesn't match.

* **Match Whole Word** still matches title 1.
* **Match Case** matches nothing, because title 1 ends in capitals.

## Wildcard <a href="#wildcard" id="wildcard"></a>

Matches a pattern, using [glob](https://en.wikipedia.org/wiki/Glob_\(programming\)#Syntax) syntax. `*` matches any number of characters, and `?` matches exactly one. Wildcard isn't case sensitive by default.

| Example                         | Finds                                                 |
| ------------------------------- | ----------------------------------------------------- |
| `*xss*\|*cross site scripting*` | Titles containing "xss" **or** "cross site scripting" |
| `!(*HTTP*\|*MIME*)`             | Titles that contain **neither** "HTTP" **nor** "MIME" |

### **Supported globs**

| Feature                                                                                                                          | Examples                          |
| -------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| Wildcards                                                                                                                        | `**`, `*.js`                      |
| Negation                                                                                                                         | `'!a/*.js'`, `'*!(b).js'`         |
| Extglobs                                                                                                                         | `+(x\|y)`, `!(a\|b)`              |
| POSIX character classes                                                                                                          | `[[:alpha:][:digit:]]`            |
| Brace expansion                                                                                                                  | `foo/{1..5}.md`, `bar/{a,b,c}.js` |
| Regex [character classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Character_class) | `foo-[1-5].js`                    |
| Regex logical "or"                                                                                                               | `foo/(abc\|xyz).js`               |

### **Extglobs**

| Pattern      | Regex equivalent | Matches                               |
| ------------ | ---------------- | ------------------------------------- |
| `?(pattern)` | `(pattern)?`     | Zero or one occurrence of the pattern |
| `*(pattern)` | `(pattern)*`     | Zero or more occurrences              |
| `+(pattern)` | `(pattern)+`     | One or more occurrences               |
| `@(pattern)` | `(pattern)`      | Exactly one of the given patterns     |
| `!(pattern)` | —                | Anything except the given patterns    |

### **Brace expansion**

| Type      | Example       |
| --------- | ------------- |
| Lists     | `a/{b,c}/d`   |
| Sequences | `{01..03}`    |
| Steps     | `{2..10..2}`  |
| Escaping  | `a\\{d,c,b}e` |

## Regex <a href="#regex" id="regex"></a>

Matches a [regular expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions). Unlike the other filters, **Regex is case sensitive by default**. To ignore case, click **flags** and choose **insensitive**.

| Example                        | Finds                                                                   |
| ------------------------------ | ----------------------------------------------------------------------- |
| `xss\|cross site scripting`    | Titles containing "xss" **or** "cross site scripting"                   |
| `^xss\|cross site scripting$`  | Titles that **start** with "xss" **or end** with "cross site scripting" |
| `^(?!(.*HTTP.*\|.*MIME.*)).*$` | Titles that contain **neither** "HTTP" **nor** "MIME"                   |

## Things to know <a href="#things-to-know" id="things-to-know"></a>

### Filtering list fields <a href="#filtering-list-fields" id="filtering-list-fields"></a>

Some fields hold a list of values, such as **Tags**. A filter on a list field matches a record if **any** item in the list matches.

To find records that have **all** of several values, add a separate filter for each one. For example, to find vulnerabilities tagged both "OWASP TOP 10" and "CWE TOP 25", add one filter for each tag.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FuAGYDYQbmaC8uysxzcFB%2FScreenshot%202026-11-06%20at%201.54.22%E2%80%AFpm.png?alt=media&amp;token=078d00fd-454f-4e8f-9080-ab81b6053068" alt=""><figcaption></figcaption></figure>

## Tips <a href="#tips" id="tips"></a>

* **Start simple.** Contains finds most things. Move to Wildcard or Regex only when you need to catch several variations.
* **Remember Regex is case sensitive.** If a regex finds nothing, try turning on the **insensitive** flag.
* **Use Does Not to exclude noise**, such as informational findings or a known false positive.
* **Save the filters you use often**, such as findings due for retest, or findings missing a remediation plan.
* **Use one filter for each value** when you need records that have several tags.

## FAQ <a href="#faq" id="faq"></a>

**Are filters case sensitive?** Contains, Starts With, Ends With and Wildcard aren't, unless you turn on Match Case. Regex is, unless you choose the insensitive flag.

**Why doesn't Match Whole Word find "(XSS)"?** The brackets count as part of the word, so "(XSS)" isn't the whole word "xss".

**How do I search for two different phrases at once?** Use Wildcard, such as `*xss*|*cross site scripting*`, or Regex, such as `xss|cross site scripting`.

**How do I exclude results?** Turn on **Does Not**, or use a negative pattern, such as `!(*HTTP*|*MIME*)` in Wildcard.

**How do I find vulnerabilities that have two tags?** Add a separate filter for each tag. A single filter on a list field matches if any one tag matches.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Glob syntax (Wikipedia)](https://en.wikipedia.org/wiki/Glob_\(programming\)#Syntax)
* [Regular expressions (MDN)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions)
* [Character classes (MDN)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Character_class)
* [Updating vulnerabilities](https://support.attackforge.com/app/getting-started/updating-vulnerabilities)
* [Test cases](https://support.attackforge.com/app/getting-started/test-cases)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.attackforge.com/app/getting-started/advanced-filtering.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
