# Grouped findings as a result of

If one of the criteria (**Vulnerable URL**, **Dependency**, **File Path**) is selected in the "Group findings by" field within the [scanner settings](https://docs.whitespots.io/appsec-portal/general-portal-settings/scanner-settings), the system checks this field's value during the import of results from the scanner. It then groups all findings with the chosen criterion into a single group.

Grouping operates as follows:

* If a finding lacks a value for the grouping element (***path***, ***URL***, or ***dependency***), it remains individual.
* If there's only one finding with a specific grouping element value, a new separate finding is created.
* If multiple findings share the same grouping element value, they are grouped into a new grouped finding. Its **name** follows the format:                                                                                                                                  "Many vulnerabilities found in {*grouping\_element\_name*}: {*grouping\_element\_value*}".

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FzNHImbCJy4ref7lyN9Vz%2Fgroupper_dependency.png?alt=media&#x26;token=6a23b057-60ba-4460-8215-af2948c1107c" alt=""><figcaption><p>Grouped finding name example</p></figcaption></figure>

* The **Description** of the grouped finding includes information about each grouped finding in the format: "\[*severity*] *title*: *line*". The description of a grouped finding is limited to 3000 characters. If the description exceeds this limit, it will be truncated.

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FutJNGncUepTUbjOgE8NH%2Fgroupper_description.png?alt=media&#x26;token=804d8b63-5e78-4852-aed2-b4262aa00088" alt=""><figcaption><p>Grouped finding description example</p></figcaption></figure>

In grouped findings display, a new field appears (above the Description field), reflecting the grouping element's name (***URL*** or ***dependency***). This field holds the corresponding element's value. If the grouping element is the ***path***, its value is shown in the "File Path" field.

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2Fb0ar3HH93QLMrTasqW8G%2F%D0%B3%D1%80%D1%83%D0%BF%D0%BF%D0%B5%D1%80_%D0%BF%D0%B0%D1%82%D1%87.png?alt=media&#x26;token=8b969479-f0b4-4411-a32c-79f137ba56a4" alt=""><figcaption><p>Example of a finding with a grouping element <strong>Path</strong></p></figcaption></figure>

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2F7b0LrXdzwsgpXkWwbT96%2F%D0%B3%D1%80%D1%83%D0%BF%D0%BF%D0%B5%D1%80_1.png?alt=media&#x26;token=255ab91a-abbd-4ff8-85ac-f37b63dbb9d2" alt=""><figcaption><p>Example of a finding with a grouping element <strong>URL</strong></p></figcaption></figure>

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FHKVnxhyXqEu79W7TlBb3%2Fgroupper_dependency.png?alt=media&#x26;token=93303b38-3da3-46f3-a156-a55404ee195d" alt=""><figcaption><p>Example of a finding with a grouping element <strong>Dependency</strong></p></figcaption></figure>

**Setting Severity:** For a grouped finding, the severity is set as the highest severity among the individual findings within it. If a severity value cannot be extracted from a finding, the default scanner severity value is assigned.

{% hint style="warning" %}
If a file reappears during a **reimport** and it had been processed before but ***lacks*** one of the previously found findings, the grouped finding will ***not be reopened***. This is because auto closer does not function within grouped findings.&#x20;

If a file contains ***new findings*** during a **reimport**, they can be added as individual findings or, if there are two or more findings, a new grouped finding can be created.
{% endhint %}

**Deduplication in the description field:** During vulnerability grouping, the system compiles vulnerabilities that match the selected criterion (Vulnerable URL, Dependency, File Path) into a list. When creating a description for a grouped vulnerability, deduplication occurs. Deduplication involves the system using a set for all descriptions within the group, removing duplicate lines.

Therefore, if you see grouped vulnerabilities where only one vulnerability is visible inside, it means that the descriptions for those vulnerabilities were similar, and deduplication of lines occurred when creating the grouped vulnerability.&#x20;

This mechanism provides a clearer and more compact representation of vulnerability groups, simplifying analysis and enhancing the readability of reports.

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FMV8keBANQ0xZMcDTvdhT%2Fimage.png?alt=media&#x26;token=40cab75a-72f8-4123-9386-5d43a82fab8e" alt=""><figcaption><p>This signifies the existence of multiple vulnerabilities with "Medium" severity and the description "High Entropy" at line 69</p></figcaption></figure>
